fix araay again
git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@35277 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
a26bb34ce4
commit
9abb02427d
|
@ -99,9 +99,7 @@ function pageMash_getPages($post_parent){
|
|||
|
||||
function pageMash_main(){
|
||||
global $instantUpdateFeature, $excludePagesFeature, $excludePagesList;
|
||||
$excludePagesList = get_option('exclude_pages');
|
||||
if(!is_array($excludePagesList)) $excludePagesList[]=''; //if it's empty set as an empty array
|
||||
|
||||
if(!is_array(get_option('exclude_pages'))) $excludePagesList=array(); else $excludePagesList = get_option('exclude_pages'); //if it's empty set as an empty array
|
||||
?>
|
||||
<div id="debug_list"></div>
|
||||
<div id="pageMash" class="wrap">
|
||||
|
|
Loading…
Reference in New Issue