mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +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:
@@ -20,7 +20,6 @@ class _WP_Dependency {
|
||||
/**
|
||||
* The handle name.
|
||||
*
|
||||
* @access public
|
||||
* @since 2.6.0
|
||||
* @var null
|
||||
*/
|
||||
@@ -29,7 +28,6 @@ class _WP_Dependency {
|
||||
/**
|
||||
* The handle source.
|
||||
*
|
||||
* @access public
|
||||
* @since 2.6.0
|
||||
* @var null
|
||||
*/
|
||||
@@ -38,7 +36,6 @@ class _WP_Dependency {
|
||||
/**
|
||||
* An array of handle dependencies.
|
||||
*
|
||||
* @access public
|
||||
* @since 2.6.0
|
||||
* @var array
|
||||
*/
|
||||
@@ -49,7 +46,6 @@ class _WP_Dependency {
|
||||
*
|
||||
* Used for cache-busting.
|
||||
*
|
||||
* @access public
|
||||
* @since 2.6.0
|
||||
* @var bool|string
|
||||
*/
|
||||
@@ -58,7 +54,6 @@ class _WP_Dependency {
|
||||
/**
|
||||
* Additional arguments for the handle.
|
||||
*
|
||||
* @access public
|
||||
* @since 2.6.0
|
||||
* @var null
|
||||
*/
|
||||
@@ -67,7 +62,6 @@ class _WP_Dependency {
|
||||
/**
|
||||
* Extra data to supply to the handle.
|
||||
*
|
||||
* @access public
|
||||
* @since 2.6.0
|
||||
* @var array
|
||||
*/
|
||||
@@ -87,7 +81,6 @@ class _WP_Dependency {
|
||||
/**
|
||||
* Add handle data.
|
||||
*
|
||||
* @access public
|
||||
* @since 2.6.0
|
||||
*
|
||||
* @param string $name The data key to add.
|
||||
|
||||
Reference in New Issue
Block a user