mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 22:23:37 +09:00
Update 1.3.29
This commit is contained in:
+10
-1
@@ -380,7 +380,16 @@ class UM_Setup {
|
||||
/** DONE **/
|
||||
|
||||
}
|
||||
if ( isset( $core_pages ) ) update_option('um_core_pages', $core_pages);
|
||||
if ( isset( $core_pages ) ) {
|
||||
update_option('um_core_pages', $core_pages);
|
||||
$options = get_option('um_options');
|
||||
foreach( $core_pages as $o_slug => $page_id ) {
|
||||
$options['core_' . $o_slug] = $page_id;
|
||||
}
|
||||
if ( isset( $options ) ) {
|
||||
update_option('um_options', $options );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user