Make WordPress Core


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

Docs: Add missing descriptions for Automatic_Upgrader_Skin methods.

Props johannadevos, dilipbheda.
Fixes #44546.

File:
1 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() {
Note: See TracChangeset for help on using the changeset viewer.