mirror of
https://github.com/WenPai-org/wpmind.git
synced 2025-08-06 05:32:11 +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
|
// phpcs:ignore
|
||||||
if ( isset( $_GET['sub_page'] ) && $_GET['sub_page'] ) {
|
if ( isset( $_GET['sub_page'] ) && $_GET['sub_page'] ) {
|
||||||
// phpcs:ignore
|
// 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.
|
// Is first loading after plugin activation redirect.
|
||||||
// phpcs:ignore
|
// phpcs:ignore
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue