Make WordPress Core


Ignore:
Timestamp:
04/29/2022 07:15:57 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Corrections and improvements to docblocks for function and hooks relating to fatal error handling.

See #54729

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-paused-extensions-storage.php

    r48102 r53316  
    4343     * @param string $extension Plugin or theme directory name.
    4444     * @param array  $error     {
    45      *     Error that was triggered.
    46      *
    47      *     @type string $type    The error type.
     45     *     Error information returned by `error_get_last()`.
     46     *
     47     *     @type int    $type    The error type.
    4848     *     @type string $file    The name of the file in which the error occurred.
    49      *     @type string $line    The line number in which the error occurred.
     49     *     @type int    $line    The line number in which the error occurred.
    5050     *     @type string $message The error message.
    5151     * }
     
    142142     * @since 5.2.0
    143143     *
    144      * @return array Associative array of extension slugs to the error recorded.
     144     * @return array {
     145     *     Associative array of errors keyed by extension slug.
     146     *
     147     *     @type array ...$0 Error information returned by `error_get_last()`.
     148     * }
    145149     */
    146150    public function get_all() {
Note: See TracChangeset for help on using the changeset viewer.