Skip to content

Commit e7855d9

Browse files
Docs: Remove redundant @access tags from DocBlocks in some admin classes.
Since the affected methods already have the visibility declared in the function signature, these tags are unnecessary and add no new information. Follow-up to [41612], [41821], [44961], [55971], [60198]. Props marian1. See #63272. git-svn-id: https://develop.svn.wordpress.org/trunk@60216 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 06c30e7 commit e7855d9

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/wp-admin/includes/class-wp-list-table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,6 @@ public function print_column_headers( $with_id = true ) {
15401540
* should be provided via get_sortable_columns().
15411541
*
15421542
* @since 6.3.0
1543-
* @access public
15441543
*/
15451544
public function print_table_description() {
15461545
list( $columns, $hidden, $sortable ) = $this->get_column_info();

src/wp-admin/includes/class-wp-plugin-install-list-table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public function ajax_user_can() {
3636
* installed plugins.
3737
*
3838
* @since 4.9.0
39-
* @access protected
4039
*
4140
* @return array
4241
*/

src/wp-admin/includes/class-wp-posts-list-table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,6 @@ protected function categories_dropdown( $post_type ) {
496496
* Displays a formats drop-down for filtering items.
497497
*
498498
* @since 5.2.0
499-
* @access protected
500499
*
501500
* @param string $post_type Post type slug.
502501
*/

src/wp-admin/includes/class-wp-upgrader.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,6 @@ public function unpack_package( $package, $delete_package = true ) {
403403
* Flattens the results of WP_Filesystem_Base::dirlist() for iterating over.
404404
*
405405
* @since 4.9.0
406-
* @access protected
407406
*
408407
* @param array $nested_files Array of files as returned by WP_Filesystem_Base::dirlist().
409408
* @param string $path Relative path to prepend to child nodes. Optional.

0 commit comments

Comments
 (0)