Docs: Remove @access notations from method DocBlocks in wp-includes/* classes.
Prior to about 2013, many class methods lacked even access modifiers which made the `@access` notations that much more useful. Now that we've gotten to a point where the codebase is more mature from a maintenance perspective and we can finally remove these notations. Notable exceptions to this change include standalone functions notated as private as well as some classes still considered to represent "private" APIs. See #41452. Built from https://develop.svn.wordpress.org/trunk@41162 git-svn-id: http://core.svn.wordpress.org/trunk@41002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -20,7 +20,6 @@ class Walker_Page extends Walker {
|
||||
* What the class handles.
|
||||
*
|
||||
* @since 2.1.0
|
||||
* @access public
|
||||
* @var string
|
||||
*
|
||||
* @see Walker::$tree_type
|
||||
@@ -31,7 +30,6 @@ class Walker_Page extends Walker {
|
||||
* Database fields to use.
|
||||
*
|
||||
* @since 2.1.0
|
||||
* @access private
|
||||
* @var array
|
||||
*
|
||||
* @see Walker::$db_fields
|
||||
@@ -43,7 +41,6 @@ class Walker_Page extends Walker {
|
||||
* Outputs the beginning of the current level in the tree before elements are output.
|
||||
*
|
||||
* @since 2.1.0
|
||||
* @access public
|
||||
*
|
||||
* @see Walker::start_lvl()
|
||||
*
|
||||
@@ -68,7 +65,6 @@ class Walker_Page extends Walker {
|
||||
* Outputs the end of the current level in the tree after elements are output.
|
||||
*
|
||||
* @since 2.1.0
|
||||
* @access public
|
||||
*
|
||||
* @see Walker::end_lvl()
|
||||
*
|
||||
@@ -94,7 +90,6 @@ class Walker_Page extends Walker {
|
||||
*
|
||||
* @see Walker::start_el()
|
||||
* @since 2.1.0
|
||||
* @access public
|
||||
*
|
||||
* @param string $output Used to append additional content. Passed by reference.
|
||||
* @param WP_Post $page Page data object.
|
||||
@@ -214,7 +209,6 @@ class Walker_Page extends Walker {
|
||||
* Outputs the end of the current element in the tree.
|
||||
*
|
||||
* @since 2.1.0
|
||||
* @access public
|
||||
*
|
||||
* @see Walker::end_el()
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user