Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (6 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-customize-panel.php

    r40395 r41162  
    2727     *
    2828     * @static
    29      * @access protected
    3029     * @var int
    3130     */
     
    3635     *
    3736     * @since 4.1.0
    38      * @access public
    3937     * @var int
    4038     */
     
    4543     *
    4644     * @since 4.0.0
    47      * @access public
    4845     * @var WP_Customize_Manager
    4946     */
     
    5451     *
    5552     * @since 4.0.0
    56      * @access public
    5753     * @var string
    5854     */
     
    6359     *
    6460     * @since 4.0.0
    65      * @access public
    6661     * @var integer
    6762     */
     
    7267     *
    7368     * @since 4.0.0
    74      * @access public
    7569     * @var string
    7670     */
     
    8175     *
    8276     * @since 4.0.0
    83      * @access public
    8477     * @var string|array
    8578     */
     
    9083     *
    9184     * @since 4.0.0
    92      * @access public
    9385     * @var string
    9486     */
     
    9991     *
    10092     * @since 4.0.0
    101      * @access public
    10293     * @var string
    10394     */
     
    10899     *
    109100     * @since 4.7.4
    110      * @access public
    111101     * @var bool
    112102     */
     
    117107     *
    118108     * @since 4.0.0
    119      * @access public
    120109     * @var array
    121110     */
     
    126115     *
    127116     * @since 4.1.0
    128      * @access public
    129117     * @var string
    130118     */
     
    135123     *
    136124     * @since 4.1.0
    137      * @access public
    138125     *
    139126     * @see WP_Customize_Section::active()
     
    180167     *
    181168     * @since 4.1.0
    182      * @access public
    183169     *
    184170     * @return bool Whether the panel is active to the current preview.
     
    208194     *
    209195     * @since 4.1.0
    210      * @access public
    211196     *
    212197     * @return bool Always true.
     
    304289     *
    305290     * @since 4.0.0
    306      * @access protected
    307291     */
    308292    protected function render() {}
     
    314298     *
    315299     * @since 4.1.0
    316      * @access protected
    317300     */
    318301    protected function render_content() {}
     
    348331     *
    349332     * @since 4.3.0
    350      * @access protected
    351333     */
    352334    protected function render_template() {
     
    371353     *
    372354     * @since 4.3.0
    373      * @access protected
    374355     */
    375356    protected function content_template() {
Note: See TracChangeset for help on using the changeset viewer.