Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (7 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-matchesmapregex.php

    r38376 r41162  
    1616     * store for matches
    1717     *
    18      * @access private
    1918     * @var array
    2019     */
     
    2423     * store for mapping result
    2524     *
    26      * @access public
    2725     * @var string
    2826     */
     
    3230     * subject to perform mapping on (query string containing $matches[] references
    3331     *
    34      * @access private
    3532     * @var string
    3633     */
     
    6259     *
    6360     * @static
    64      * @access public
    6561     *
    6662     * @param string $subject subject
     
    7672     * do the actual mapping
    7773     *
    78      * @access private
    7974     * @return string
    8075     */
     
    8782     * preg_replace_callback hook
    8883     *
    89      * @access public
    9084     * @param  array $matches preg_replace regexp matches
    9185     * @return string
Note: See TracChangeset for help on using the changeset viewer.