Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:39:34 AM (8 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-theme-upgrader.php

    r39211 r41161  
    2525     *
    2626     * @since 2.8.0
    27      * @access public
    2827     * @var array|WP_Error $result
    2928     * @see WP_Upgrader::$result
     
    3534     *
    3635     * @since 2.9.0
    37      * @access public
    3836     * @var bool $bulk
    3937     */
     
    4442     *
    4543     * @since 2.8.0
    46      * @access public
    4744     */
    4845    public function upgrade_strings() {
     
    6158     *
    6259     * @since 2.8.0
    63      * @access public
    6460     */
    6561    public function install_strings() {
     
    8985     *
    9086     * @since 3.4.0
    91      * @access public
    9287     *
    9388     * @param bool  $install_result
     
    163158     *
    164159     * @since 3.4.0
    165      * @access public
    166160     *
    167161     * @param array $actions Preview actions.
     
    178172     * @since 2.8.0
    179173     * @since 3.7.0 The `$args` parameter was added, making clearing the update cache optional.
    180      * @access public
    181174     *
    182175     * @param string $package The full local path or URI of the package.
     
    236229     * @since 2.8.0
    237230     * @since 3.7.0 The `$args` parameter was added, making clearing the update cache optional.
    238      * @access public
    239231     *
    240232     * @param string $theme The theme slug.
     
    307299     * @since 3.0.0
    308300     * @since 3.7.0 The `$args` parameter was added, making clearing the update cache optional.
    309      * @access public
    310301     *
    311302     * @param array $themes The theme slugs.
     
    428419     *
    429420     * @since 3.3.0
    430      * @access public
    431421     *
    432422     * @global WP_Filesystem_Base $wp_filesystem Subclass
     
    487477     *
    488478     * @since 2.8.0
    489      * @access public
    490479     *
    491480     * @param bool|WP_Error  $return
     
    515504     *
    516505     * @since 2.8.0
    517      * @access public
    518506     *
    519507     * @param bool|WP_Error  $return
     
    550538     *
    551539     * @since 2.8.0
    552      * @access public
    553540     *
    554541     * @global WP_Filesystem_Base $wp_filesystem Subclass
     
    584571     * @since 2.8.0
    585572     * @since 3.0.0 The `$theme` argument was added.
    586      * @access public
    587573     *
    588574     * @param string $theme The directory name of the theme. This is optional, and if not supplied,
Note: See TracChangeset for help on using the changeset viewer.