From 622ab73fe6ebafd75b7720bc1c885e21ac5c3185 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 17 Feb 2021 12:40:10 +0000 Subject: [PATCH] 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 --- src/wp-admin/options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/options.php b/src/wp-admin/options.php index 7bf45b5e81..b896f73470 100644 --- a/src/wp-admin/options.php +++ b/src/wp-admin/options.php @@ -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.' ) );