Make WordPress Core


Ignore:
Timestamp:
04/29/2022 07:15:57 PM (4 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-recovery-mode-email-service.php

    r52580 r53316  
    4141         *
    4242         * @param int   $rate_limit Number of seconds before another email can be sent.
    43          * @param array $error      Error details from {@see error_get_last()}
     43         * @param array $error      Error details from `error_get_last()`.
    4444         * @param array $extension {
    4545         *     The extension that caused the error.
    … …  
    102102         *
    103103         * @param int   $rate_limit Number of seconds before another email can be sent.
    104          * @param array $error      Error details from {@see error_get_last()}
    105          * @param array $extension  Extension that caused the error.
     104         * @param array $error      Error details from `error_get_last()`.
     105         * @param array $extension {
     106         *     The extension that caused the error.
     107         *
     108         *     @type string $slug The extension slug. The directory of the plugin or theme.
     109         *     @type string $type The extension type. Either 'plugin' or 'theme'.
     110         * }
    106111         * @return bool Whether the email was sent successfully.
    107112         */
    … …  
    257262         * @since 5.2.0
    258263         *
    259          * @param array $extension The extension that caused the error.
     264         * @param array $extension {
     265         *     The extension that caused the error.
     266         *
     267         *     @type string $slug The extension slug. The directory of the plugin or theme.
     268         *     @type string $type The extension type. Either 'plugin' or 'theme'.
     269         * }
    260270         * @return string Message about which extension caused the error.
    261271         */
    … …  
    289299         * @since 5.3.0
    290300         *
    291          * @param array $extension The extension that caused the error.
     301         * @param array $extension {
     302         *     The extension that caused the error.
     303         *
     304         *     @type string $slug The extension slug. The directory of the plugin or theme.
     305         *     @type string $type The extension type. Either 'plugin' or 'theme'.
     306         * }
    292307         * @return array|false A plugin array {@see get_plugins()} or `false` if no plugin was found.
    293308         */
    … …  
    318333         * @since 5.3.0
    319334         *
    320          * @param array $extension The extension that caused the error.
     335         * @param array $extension {
     336         *     The extension that caused the error.
     337         *
     338         *     @type string $slug The extension slug. The directory of the plugin or theme.
     339         *     @type string $type The extension type. Either 'plugin' or 'theme'.
     340         * }
    321341         * @return array An associative array of debug information.
    322342         */
Note: See TracChangeset for help on using the changeset viewer.