WordPress.org

Make WordPress Core

Changeset 49116


Ignore:
Timestamp:
10/09/2020 10:28:54 PM (5 months ago)
Author:
johnbillion
Message:

General: Docblock improvements for the WP_Error class.

Props garrett-eclipse

See #38777

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-error.php

    r49115 r49116  
    2626
    2727    /**
    28      * Stores the most-recently added data for each error code.
     28     * Stores the most recently added data for each error code.
    2929     *
    3030     * @since 2.1.0
     
    147147
    148148    /**
    149      * Retrieves the most-recently added error data for an error code.
     149     * Retrieves the most recently added error data for an error code.
    150150     *
    151151     * @since 2.1.0
     
    297297     * @since 5.6.0
    298298     *
    299      * @param WP_Error $from From.
    300      * @param WP_Error $to   To.
     299     * @param WP_Error $from The WP_Error to copy from.
     300     * @param WP_Error $to   The WP_Error to copy to.
    301301     */
    302302    protected static function copy_errors( WP_Error $from, WP_Error $to ) {
Note: See TracChangeset for help on using the changeset viewer.