Docs: Correct the alternative hook name for the deprecated `whitelist_options` hook.

Follow-up to [48121].

See #51800.
Built from https://develop.svn.wordpress.org/trunk@50373


git-svn-id: http://core.svn.wordpress.org/trunk@49984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-02-17 12:42:03 +00:00
parent 3fbc0e5a9b
commit f331ff5a7a
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ $allowed_options = apply_filters_deprecated(
'whitelist_options',
array( $allowed_options ),
'5.5.0',
'apply_filters_deprecated',
'allowed_options',
__( 'Please consider writing more inclusive code.' )
);

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-beta3-50372';
$wp_version = '5.7-beta3-50373';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.