rebase on oct-10-2023
This commit is contained in:
@@ -112,9 +112,9 @@ class Short_Link_Helper {
|
||||
];
|
||||
|
||||
// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information.
|
||||
if ( isset( $_GET['page'] ) && is_string( $_GET['page'] ) ) {
|
||||
if ( isset( $_GET['page'] ) && \is_string( $_GET['page'] ) ) {
|
||||
// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information.
|
||||
$admin_page = sanitize_text_field( wp_unslash( $_GET['page'] ) );
|
||||
$admin_page = \sanitize_text_field( \wp_unslash( $_GET['page'] ) );
|
||||
if ( ! empty( $admin_page ) ) {
|
||||
$data['screen'] = $admin_page;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user