From 0e41b5d52fdc6af6442816b5f465c9db9f84e126 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:51:18 +0200 Subject: Adding upstream version 6.6.1+dfsg1. Signed-off-by: Daniel Baumann --- wp-admin/options-head.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-admin/options-head.php') diff --git a/wp-admin/options-head.php b/wp-admin/options-head.php index d96978b..9dba370 100644 --- a/wp-admin/options-head.php +++ b/wp-admin/options-head.php @@ -8,7 +8,7 @@ * @subpackage Administration */ -wp_reset_vars( array( 'action' ) ); +$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : ''; if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) { // For back-compat with plugins that don't use the Settings API and just set updated=1 in the redirect. -- cgit v1.2.3