Make WordPress Core


Ignore:
Timestamp:
06/14/2023 06:32:14 AM (2 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards.

Props costdev, audrasjb.
See #57840.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-theme-upgrader.php

    r55899 r55911  
    4949
    5050    /**
    51      * Initialize the upgrade strings.
     51     * Initializes the upgrade strings.
    5252     *
    5353     * @since 2.8.0
     
    6666
    6767    /**
    68      * Initialize the installation strings.
     68     * Initializes the installation strings.
    6969     *
    7070     * @since 2.8.0
     
    111111
    112112    /**
    113      * Check if a child theme is being installed and we need to install its parent.
     113     * Checks if a child theme is being installed and its parent also needs to be installed.
    114114     *
    115115     * Hooked to the {@see 'upgrader_post_install'} filter by Theme_Upgrader::install().
     
    279279
    280280    /**
    281      * Upgrade a theme.
     281     * Upgrades a theme.
    282282     *
    283283     * @since 2.8.0
     
    365365
    366366    /**
    367      * Upgrade several themes at once.
     367     * Upgrades several themes at once.
    368368     *
    369369     * @since 3.0.0
     
    633633
    634634    /**
    635      * Turn on maintenance mode before attempting to upgrade the active theme.
     635     * Turns on maintenance mode before attempting to upgrade the active theme.
    636636     *
    637637     * Hooked to the {@see 'upgrader_pre_install'} filter by Theme_Upgrader::upgrade() and
     
    665665
    666666    /**
    667      * Turn off maintenance mode after upgrading the active theme.
     667     * Turns off maintenance mode after upgrading the active theme.
    668668     *
    669669     * Hooked to the {@see 'upgrader_post_install'} filter by Theme_Upgrader::upgrade()
     
    703703
    704704    /**
    705      * Delete the old theme during an upgrade.
     705     * Deletes the old theme during an upgrade.
    706706     *
    707707     * Hooked to the {@see 'upgrader_clear_destination'} filter by Theme_Upgrader::upgrade()
     
    741741
    742742    /**
    743      * Get the WP_Theme object for a theme.
     743     * Gets the WP_Theme object for a theme.
    744744     *
    745745     * @since 2.8.0
Note: See TracChangeset for help on using the changeset viewer.