mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@41162 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -33,7 +33,6 @@ class WP_Admin_Bar {
|
||||
}
|
||||
|
||||
/**
|
||||
* @access public
|
||||
*/
|
||||
public function initialize() {
|
||||
$this->user = new stdClass;
|
||||
@@ -100,7 +99,6 @@ class WP_Admin_Bar {
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @since 4.5.0 Added the ability to pass 'lang' and 'dir' meta data.
|
||||
* @access public
|
||||
*
|
||||
* @param array $args {
|
||||
* Arguments for adding a node.
|
||||
@@ -258,7 +256,6 @@ class WP_Admin_Bar {
|
||||
}
|
||||
|
||||
/**
|
||||
* @access public
|
||||
*/
|
||||
public function render() {
|
||||
$root = $this->_bind();
|
||||
@@ -572,7 +569,6 @@ class WP_Admin_Bar {
|
||||
}
|
||||
|
||||
/**
|
||||
* @access public
|
||||
*/
|
||||
public function add_menus() {
|
||||
// User related, aligned right.
|
||||
|
||||
Reference in New Issue
Block a user