Make WordPress Core


Ignore:
Timestamp:
08/11/2022 02:01:35 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Correct and improve the documented types for various functions and hooks.

See #55646

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r53746 r53877  
    17771777 * @since 5.3.0 Added `warning` and `info` as possible values for `$type`.
    17781778 *
    1779  * @global array $wp_settings_errors Storage array of errors registered during this pageload
     1779 * @global array[] $wp_settings_errors Storage array of errors registered during this pageload
    17801780 *
    17811781 * @param string $setting Slug title of the setting to which this error applies.
     
    18141814 * @since 3.0.0
    18151815 *
    1816  * @global array $wp_settings_errors Storage array of errors registered during this pageload
     1816 * @global array[] $wp_settings_errors Storage array of errors registered during this pageload
    18171817 *
    18181818 * @param string $setting  Optional. Slug title of a specific setting whose errors you want.
Note: See TracChangeset for help on using the changeset viewer.