From f331ff5a7a3ad0c138aaa5407500259652885667 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 17 Feb 2021 12:42:03 +0000 Subject: [PATCH] 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 --- wp-admin/options.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/options.php b/wp-admin/options.php index 7bf45b5e81..b896f73470 100644 --- a/wp-admin/options.php +++ b/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.' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 5b542b9564..109bae574f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.