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
3b1c706f71
commit
665146b940
1 changed files with 2 additions and 2 deletions
|
@ -118,10 +118,10 @@ class Mind_Admin {
|
|||
// phpcs:ignore
|
||||
if ( isset( $_GET['sub_page'] ) && $_GET['sub_page'] ) {
|
||||
// phpcs:ignore
|
||||
$page_name = $_GET['sub_page'];
|
||||
$page_name = esc_attr( $_GET['sub_page'] );
|
||||
}
|
||||
|
||||
$classes .= ' mind-admin-page-' . esc_attr( $page_name );
|
||||
$classes .= ' mind-admin-page-' . $page_name;
|
||||
|
||||
// Is first loading after plugin activation redirect.
|
||||
// phpcs:ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue