mirror of
https://github.com/typecho/typecho.git
synced 2025-03-22 10:59:41 +01:00
完善一下
This commit is contained in:
parent
095fa2da12
commit
ef811b2691
@ -207,10 +207,11 @@ class Widget_Menu extends Typecho_Widget
|
||||
}
|
||||
}
|
||||
|
||||
if(!empty($currentUrlParts['query']) && substr($urlParts['path'],-13) == 'extending.php'){
|
||||
if( $urlParts['query'] != $currentUrlParts['query']){
|
||||
$validate = false;
|
||||
}
|
||||
if ($validate
|
||||
&& basename($urlParts['path']) == 'extending.php'
|
||||
&& !empty($currentUrlParams['panel']) && !empty($urlParams['panel'])
|
||||
&& $urlParams['panel'] != $currentUrlParams['panel']){
|
||||
$validate = false;
|
||||
}
|
||||
|
||||
if ($hidden && $validate) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user