WordPress.org

Make WordPress Core

Changeset 49596


Ignore:
Timestamp:
11/14/2020 04:21:19 PM (11 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing descriptions for Automatic_Upgrader_Skin methods.

Props johannadevos, dilipbheda.
Fixes #44546.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

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

    r47122 r49596  
    99
    1010/**
    11  * Upgrader Skin for Automatic WordPress Upgrades
     11 * Upgrader Skin for Automatic WordPress Upgrades.
    1212 *
    1313 * This skin is designed to be used when no output is intended, all output
     
    5353
    5454    /**
    55      * @return array
     55     * Retrieves the upgrade messages.
     56     *
     57     * @since 3.7.0
     58     *
     59     * @return array Messages during an upgrade.
    5660     */
    5761    public function get_upgrade_messages() {
     
    6064
    6165    /**
    62      * @param string|array|WP_Error $data
     66     * Stores a message about the upgrade.
     67     *
     68     * @since 3.7.0
     69     *
     70     * @param string|array|WP_Error $data    Message data.
    6371     * @param mixed                 ...$args Optional text replacements.
    6472     */
     
    104112
    105113    /**
     114     * Creates a new output buffer.
     115     *
     116     * @since 3.7.0
    106117     */
    107118    public function header() {
     
    110121
    111122    /**
     123     * Retrieves the buffered content, deletes the buffer, and processes the output.
     124     *
     125     * @since 3.7.0
    112126     */
    113127    public function footer() {
  • trunk/src/wp-admin/includes/class-wp-ajax-upgrader-skin.php

    r48661 r49596  
    8282
    8383    /**
    84      * Stores a log entry for an error.
     84     * Stores an error message about the upgrade.
    8585     *
    8686     * @since 4.6.0
     
    117117
    118118    /**
    119      * Stores a log entry.
     119     * Stores a message about the upgrade.
    120120     *
    121121     * @since 4.6.0
     
    123123     *              to the function signature.
    124124     *
    125      * @param string|array|WP_Error $data    Log entry data.
     125     * @param string|array|WP_Error $data    Message data.
    126126     * @param mixed                 ...$args Optional text replacements.
    127127     */
Note: See TracChangeset for help on using the changeset viewer.