Skip to content

Commit 647f805

Browse files
committed
Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core.
See #27200. git-svn-id: https://develop.svn.wordpress.org/trunk@27262 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 9bdaa48 commit 647f805

23 files changed

Lines changed: 13 additions & 354 deletions

src/wp-admin/includes/nav-menu.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
231231
/**
232232
* Create HTML list of nav menu input items.
233233
*
234-
* @package WordPress
235234
* @since 3.0.0
236235
* @uses Walker_Nav_Menu
237236
*/

src/wp-admin/install-helper.php

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
* Create database table, if it doesn't already exist.
4444
*
4545
* @since 1.0.0
46-
* @package WordPress
47-
* @subpackage Plugin
46+
*
4847
* @uses $wpdb
4948
*
5049
* @param string $table_name Database table name.
@@ -75,8 +74,7 @@ function maybe_create_table($table_name, $create_ddl) {
7574
* Add column to database table, if column doesn't already exist in table.
7675
*
7776
* @since 1.0.0
78-
* @package WordPress
79-
* @subpackage Plugin
77+
*
8078
* @uses $wpdb
8179
*
8280
* @param string $table_name Database table name
@@ -108,8 +106,7 @@ function maybe_add_column($table_name, $column_name, $create_ddl) {
108106
* Drop column from database table, if it exists.
109107
*
110108
* @since 1.0.0
111-
* @package WordPress
112-
* @subpackage Plugin
109+
*
113110
* @uses $wpdb
114111
*
115112
* @param string $table_name Table name
@@ -152,8 +149,6 @@ function maybe_drop_column($table_name, $column_name, $drop_ddl) {
152149
* Extra
153150
*
154151
* @since 1.0.0
155-
* @package WordPress
156-
* @subpackage Plugin
157152
*
158153
* @param string $table_name Table name
159154
* @param string $col_name Column name

src/wp-admin/install.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@
4747
* Display install header.
4848
*
4949
* @since 2.5.0
50-
* @package WordPress
51-
* @subpackage Installer
5250
*/
5351
function display_header() {
5452
header( 'Content-Type: text/html; charset=utf-8' );
@@ -73,8 +71,6 @@ function display_header() {
7371
* Display installer setup form.
7472
*
7573
* @since 2.8.0
76-
* @package WordPress
77-
* @subpackage Installer
7874
*/
7975
function display_setup_form( $error = null ) {
8076
global $wpdb;

src/wp-admin/link-parse-opml.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ function startElement($parser, $tagName, $attrs) {
7070
*
7171
* @since 0.71
7272
* @access private
73-
* @package WordPress
74-
* @subpackage Dummy
7573
*
7674
* @param mixed $parser XML Parser resource.
7775
* @param string $tagName XML tag name.

src/wp-admin/press-this.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
/**
2020
* Press It form handler.
2121
*
22-
* @package WordPress
23-
* @subpackage Press_This
2422
* @since 2.6.0
2523
*
2624
* @return int Post ID
@@ -163,8 +161,6 @@ function press_it() {
163161
/**
164162
* Retrieve all image URLs from given URI.
165163
*
166-
* @package WordPress
167-
* @subpackage Press_This
168164
* @since 2.6.0
169165
*
170166
* @param string $uri

src/wp-admin/setup-config.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
/**
1515
* We are installing.
16-
*
17-
* @package WordPress
1816
*/
1917
define('WP_INSTALLING', true);
2018

@@ -88,8 +86,6 @@
8886
*
8987
* @ignore
9088
* @since 2.3.0
91-
* @package WordPress
92-
* @subpackage Installer_WP_Config
9389
*/
9490
function setup_config_display_header() {
9591
global $wp_version;

src/wp-includes/class-http.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -766,9 +766,6 @@ static function is_ip_address( $maybe_ip ) {
766766
/**
767767
* HTTP request method uses PHP Streams to retrieve the url.
768768
*
769-
* @package WordPress
770-
* @subpackage HTTP
771-
*
772769
* @since 2.7.0
773770
* @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client().
774771
*/
@@ -1157,9 +1154,6 @@ public static function test( $args = array() ) {
11571154
*
11581155
* @see WP_HTTP::request
11591156
*
1160-
* @package WordPress
1161-
* @subpackage HTTP
1162-
*
11631157
* @since 2.7.0
11641158
* @deprecated 3.7.0 Please use WP_HTTP::request() directly
11651159
*/

src/wp-includes/class-wp-customize-setting.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ public function update( $value ) {
420420
}
421421

422422
/**
423+
* Class WP_Customize_Background_Image_Setting
424+
*
423425
* @package WordPress
424426
* @subpackage Customize
425427
* @since 3.4.0

src/wp-includes/class-wp-xmlrpc-server.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* XML-RPC protocol support for WordPress
44
*
55
* @package WordPress
6+
* @subpackage Publishing
67
*/
78

89
/**

src/wp-includes/comment-template.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,6 @@ function comment_form_title( $noreplytext = false, $replytext = false, $linktopa
15231523
/**
15241524
* HTML comment list class.
15251525
*
1526-
* @package WordPress
15271526
* @uses Walker
15281527
* @since 2.7.0
15291528
*/

0 commit comments

Comments
 (0)