Skip to content

Commit 14e0b53

Browse files
Docs: Remove redundant @access tags from DocBlocks in various files.
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 [41590], [48159], [56052]. Props marian1. Fixes #63272. git-svn-id: https://develop.svn.wordpress.org/trunk@60325 602fd350-edb4-49c9-b593-d223f7449a82
1 parent acb7007 commit 14e0b53

File tree

5 files changed

+0
-8
lines changed

5 files changed

+0
-8
lines changed

src/wp-includes/class-wp-block-list.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ class WP_Block_List implements Iterator, ArrayAccess, Countable {
1919
*
2020
* @since 5.5.0
2121
* @var array[]|WP_Block[]
22-
* @access protected
2322
*/
2423
protected $blocks;
2524

@@ -28,7 +27,6 @@ class WP_Block_List implements Iterator, ArrayAccess, Countable {
2827
*
2928
* @since 5.5.0
3029
* @var array
31-
* @access protected
3230
*/
3331
protected $available_context;
3432

@@ -37,7 +35,6 @@ class WP_Block_List implements Iterator, ArrayAccess, Countable {
3735
*
3836
* @since 5.5.0
3937
* @var WP_Block_Type_Registry
40-
* @access protected
4138
*/
4239
protected $registry;
4340

src/wp-includes/class-wp-block.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ class WP_Block {
5454
*
5555
* @since 5.5.0
5656
* @var array
57-
* @access protected
5857
*/
5958
protected $available_context = array();
6059

@@ -63,7 +62,6 @@ class WP_Block {
6362
*
6463
* @since 5.9.0
6564
* @var WP_Block_Type_Registry
66-
* @access protected
6765
*/
6866
protected $registry;
6967

src/wp-includes/class-wp-classic-to-block-menu-converter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* Converts a Classic Menu to Block Menu blocks.
1111
*
1212
* @since 6.3.0
13-
* @access public
1413
*/
1514
class WP_Classic_To_Block_Menu_Converter {
1615

src/wp-includes/class-wp-navigation-fallback.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
/**
1313
* Manages fallback behavior for Navigation menus.
1414
*
15-
* @access public
1615
* @since 6.3.0
1716
*/
1817
class WP_Navigation_Fallback {

src/wp-includes/widgets/class-wp-widget-media-gallery.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ public function render_control_template_scripts() {
240240
* Whether the widget has content to show.
241241
*
242242
* @since 4.9.0
243-
* @access protected
244243
*
245244
* @param array $instance Widget instance props.
246245
* @return bool Whether widget has content.

0 commit comments

Comments
 (0)