mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +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:
@@ -15,7 +15,6 @@ class WP_MatchesMapRegex {
|
||||
/**
|
||||
* store for matches
|
||||
*
|
||||
* @access private
|
||||
* @var array
|
||||
*/
|
||||
private $_matches;
|
||||
@@ -23,7 +22,6 @@ class WP_MatchesMapRegex {
|
||||
/**
|
||||
* store for mapping result
|
||||
*
|
||||
* @access public
|
||||
* @var string
|
||||
*/
|
||||
public $output;
|
||||
@@ -31,7 +29,6 @@ class WP_MatchesMapRegex {
|
||||
/**
|
||||
* subject to perform mapping on (query string containing $matches[] references
|
||||
*
|
||||
* @access private
|
||||
* @var string
|
||||
*/
|
||||
private $_subject;
|
||||
@@ -61,7 +58,6 @@ class WP_MatchesMapRegex {
|
||||
* static helper function to ease use
|
||||
*
|
||||
* @static
|
||||
* @access public
|
||||
*
|
||||
* @param string $subject subject
|
||||
* @param array $matches data used for substitution
|
||||
@@ -75,7 +71,6 @@ class WP_MatchesMapRegex {
|
||||
/**
|
||||
* do the actual mapping
|
||||
*
|
||||
* @access private
|
||||
* @return string
|
||||
*/
|
||||
private function _map() {
|
||||
@@ -86,7 +81,6 @@ class WP_MatchesMapRegex {
|
||||
/**
|
||||
* preg_replace_callback hook
|
||||
*
|
||||
* @access public
|
||||
* @param array $matches preg_replace regexp matches
|
||||
* @return string
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user