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-admin-bar.php

    r40947 r41162  
    3434
    3535    /**
    36      * @access public
    3736     */
    3837    public function initialize() {
     
    101100     * @since 3.1.0
    102101     * @since 4.5.0 Added the ability to pass 'lang' and 'dir' meta data.
    103      * @access public
    104102     *
    105103     * @param array $args {
     
    259257
    260258    /**
    261      * @access public
    262259     */
    263260    public function render() {
     
    573570
    574571    /**
    575      * @access public
    576572     */
    577573    public function add_menus() {
Note: See TracChangeset for help on using the changeset viewer.