mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-14 04:06:36 +09:00
Fixed page setup fallback field
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ $core_pages = array(
|
||||
$core_pages = apply_filters('um_core_pages', $core_pages );
|
||||
|
||||
foreach( $core_pages as $page_s => $page ) {
|
||||
if( empty( $ultimatemember->query->wp_pages() ) ){
|
||||
if( ! empty( $ultimatemember->query->wp_pages() ) ){
|
||||
$page_setup[] = array(
|
||||
'id' => 'core_' . $page_s,
|
||||
'type' => 'select',
|
||||
|
||||
Reference in New Issue
Block a user