mirror of
https://github.com/WenPai-org/wpmind.git
synced 2025-08-04 03:29:33 +08:00
Update class-admin.php
This commit is contained in:
parent
ad6a7ef68d
commit
c493f2562e
1 changed files with 1 additions and 2 deletions
|
@ -117,8 +117,7 @@ class Mind_Admin {
|
|||
|
||||
// phpcs:ignore
|
||||
if ( isset( $_GET['sub_page'] ) && $_GET['sub_page'] ) {
|
||||
// phpcs:ignore
|
||||
$page_name = esc_attr( $_GET['sub_page'] );
|
||||
$page_name = esc_attr( sanitize_text_field( $_GET['sub_page'] ) );
|
||||
}
|
||||
|
||||
$classes .= ' mind-admin-page-' . $page_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue