Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:39:34 AM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Remove @access notations from method DocBlocks in wp-admin/* 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-admin/includes/class-wp-screen.php

    r41148 r41161  
    1919     * @since 3.3.0
    2020     * @var string
    21      * @access public
    2221     */
    2322    public $action;
     
    2928     * @since 3.3.0
    3029     * @var string
    31      * @access public
    3230     */
    3331    public $base;
     
    3836     * @since 3.4.0
    3937     * @var int
    40      * @access private
    4138     */
    4239    private $columns = 0;
     
    4744     * @since 3.3.0
    4845     * @var string
    49      * @access public
    5046     */
    5147    public $id;
     
    5652     * @since 3.5.0
    5753     * @var string
    58      * @access protected
    5954     */
    6055    protected $in_admin;
     
    6863     * @deprecated 3.5.0
    6964     * @var bool
    70      * @access public
    7165     */
    7266    public $is_network;
     
    8074     * @deprecated 3.5.0
    8175     * @var bool
    82      * @access public
    8376     */
    8477    public $is_user;
     
    9184     * @since 3.3.0
    9285     * @var string
    93      * @access public
    9486     */
    9587    public $parent_base;
     
    10193     * @since 3.3.0
    10294     * @var string
    103      * @access public
    10495     */
    10596    public $parent_file;
     
    112103     * @since 3.3.0
    113104     * @var string
    114      * @access public
    115105     */
    116106    public $post_type;
     
    121111     * @since 3.3.0
    122112     * @var string
    123      * @access public
    124113     */
    125114    public $taxonomy;
     
    130119     * @since 3.3.0
    131120     * @var array
    132      * @access private
    133121     */
    134122    private $_help_tabs = array();
     
    139127     * @since 3.3.0
    140128     * @var string
    141      * @access private
    142129     */
    143130    private $_help_sidebar = '';
     
    147134     *
    148135     * @since 4.4.0
    149      * @access private
    150136     * @var array
    151137     */
     
    156142     *
    157143     * @static
    158      * @access private
    159144     *
    160145     * @var array
     
    167152     * @since 3.3.0
    168153     * @var array
    169      * @access private
    170154     */
    171155    private $_options = array();
     
    177161     *
    178162     * @static
    179      * @access private
    180163     *
    181164     * @var array
     
    188171     * @since 3.3.0
    189172     * @var bool
    190      * @access private
    191173     */
    192174    private $_show_screen_options;
     
    197179     * @since 3.3.0
    198180     * @var string
    199      * @access private
    200181     */
    201182    private $_screen_settings;
     
    205186     *
    206187     * @since 3.3.0
    207      * @access public
    208188     *
    209189     * @static
     
    401381     *
    402382     * @since 3.3.0
    403      * @access private
    404383     */
    405384    private function __construct() {}
Note: See TracChangeset for help on using the changeset viewer.