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/customize/class-wp-customize-nav-menu-item-control.php

    r40052 r41162  
    1919     *
    2020     * @since 4.3.0
    21      * @access public
    2221     * @var string
    2322     */
     
    2827     *
    2928     * @since 4.3.0
    30      * @access public
    3129     * @var WP_Customize_Nav_Menu_Item_Setting
    3230     */
     
    3735     *
    3836     * @since 4.3.0
    39      * @access public
    4037     *
    4138     * @see WP_Customize_Control::__construct()
     
    5350     *
    5451     * @since 4.3.0
    55      * @access public
    5652     */
    5753    public function render_content() {}
     
    6157     *
    6258     * @since 4.3.0
    63      * @access public
    6459     */
    6560    public function content_template() {
     
    156151     *
    157152     * @since 4.3.0
    158      * @access public
    159153     *
    160154     * @return array Exported parameters.
Note: See TracChangeset for help on using the changeset viewer.