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

Follow-up to [48121].

See #51800.

git-svn-id: https://develop.svn.wordpress.org/trunk@50373 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-02-17 12:40:10 +00:00
parent e49c3c7f18
commit 622ab73fe6

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.' )
);