Skip to content

Commit 81cec19

Browse files
committed
phpdoc updates for wp-includes See WordPress#7550 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@9002 602fd350-edb4-49c9-b593-d223f7449a82
1 parent da18c9c commit 81cec19

6 files changed

Lines changed: 80 additions & 10 deletions

File tree

wp-includes/class-pop3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
| - Technology Consulting |
2424
| - Oursourcing (highly qualified programmers and graphic designers) |
2525
'---------------------------------------------------------------------------'
26+
*/
2627

2728
/**
2829
* POP Before SMTP Authentication Class
@@ -42,7 +43,6 @@
4243
* @package PHPMailer
4344
* @author Richard Davey
4445
*/
45-
4646
class POP3
4747
{
4848
/**

wp-includes/class.wp-dependencies.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
<?php
2-
2+
/**
3+
* BackPress Scripts enqueue.
4+
*
5+
* These classes were refactored from the WordPress WP_Scripts and WordPress
6+
* script enqueue API.
7+
*
8+
* @package BackPress
9+
* @since r74
10+
*/
11+
12+
/**
13+
* BackPress enqueued dependiences class.
14+
*
15+
* @package BackPress
16+
* @uses _WP_Dependency
17+
* @since r74
18+
*/
319
class WP_Dependencies {
420
var $registered = array();
521
var $queue = array();

wp-includes/class.wp-scripts.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
<?php
2-
2+
/**
3+
* BackPress Scripts enqueue.
4+
*
5+
* These classes were refactored from the WordPress WP_Scripts and WordPress
6+
* script enqueue API.
7+
*
8+
* @package BackPress
9+
* @since r16
10+
*/
11+
12+
/**
13+
* BackPress Scripts enqueue class.
14+
*
15+
* @package BackPress
16+
* @uses WP_Dependencies
17+
* @since r16
18+
*/
319
class WP_Scripts extends WP_Dependencies {
420
var $base_url; // Full URL with trailing slash
521
var $default_version;

wp-includes/class.wp-styles.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
<?php
2-
2+
/**
3+
* BackPress Styles enqueue.
4+
*
5+
* These classes were refactored from the WordPress WP_Scripts and WordPress
6+
* script enqueue API.
7+
*
8+
* @package BackPress
9+
* @since r74
10+
*/
11+
12+
/**
13+
* BackPress Styles enqueue class.
14+
*
15+
* @package BackPress
16+
* @uses WP_Dependencies
17+
* @since r74
18+
*/
319
class WP_Styles extends WP_Dependencies {
420
var $base_url;
521
var $default_version;

wp-includes/functions.wp-scripts.php

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<?php
2+
/**
3+
* BackPress script procedural API.
4+
*
5+
* @package BackPress
6+
* @since r16
7+
*/
28

39
/**
4-
* Prints script tags in document head
10+
* Prints script tags in document head.
511
*
6-
* Called by admin-header.php and by wp_head hook. Since it is called by wp_head on every page load,
7-
* the function does not instantiate the WP_Scripts object unless script names are explicitly passed.
8-
* Does make use of already instantiated $wp_scripts if present.
9-
* Use provided wp_print_scripts hook to register/enqueue new scripts.
12+
* Called by admin-header.php and by wp_head hook. Since it is called by wp_head
13+
* on every page load, the function does not instantiate the WP_Scripts object
14+
* unless script names are explicitly passed. Does make use of already
15+
* instantiated $wp_scripts if present. Use provided wp_print_scripts hook to
16+
* register/enqueue new scripts.
1017
*
18+
* @since r16
1119
* @see WP_Scripts::print_scripts()
1220
*/
1321
function wp_print_scripts( $handles = false ) {

wp-includes/functions.wp-styles.php

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
<?php
2-
2+
/**
3+
* BackPress styles procedural API.
4+
*
5+
* @package BackPress
6+
* @since r79
7+
*/
8+
9+
/**
10+
* {@internal Missing Short Description}}
11+
*
12+
* @since r79
13+
*
14+
* @param mixed $handles See {@link WP_Styles::do_items()} for information.
15+
* @return mixed See {@link WP_Styles::do_items()} for information.
16+
*/
317
function wp_print_styles( $handles = false ) {
418
do_action( 'wp_print_styles' );
519
if ( '' === $handles ) // for wp_head

0 commit comments

Comments
 (0)