diff --git a/class/class-mainwp-child-posts.php b/class/class-mainwp-child-posts.php index 9c30779..970314d 100644 --- a/class/class-mainwp-child-posts.php +++ b/class/class-mainwp-child-posts.php @@ -996,7 +996,7 @@ class MainWP_Child_Posts { } } } - + private function post_plus_update_categories( $new_post_id, $post_custom ) { $random_category = isset( $post_custom['_saved_draft_random_category'] ) ? $post_custom['_saved_draft_random_category'] : false; $random_category = is_array( $random_category ) ? current( $random_category ) : null; diff --git a/class/class-mainwp-clone.php b/class/class-mainwp-clone.php index 5d07561..f83aeb8 100644 --- a/class/class-mainwp-clone.php +++ b/class/class-mainwp-clone.php @@ -121,7 +121,7 @@ class MainWP_Clone { } $branding_opts = MainWP_Child_Branding::instance()->get_branding_options(); - $hide_restore = isset( $branding_opts['remove_restore'] ) && $branding_opts['remove_restore'] ? true : false; + $hide_restore = isset( $branding_opts['remove_restore'] ) && $branding_opts['remove_restore'] ? true : false; if ( ! $hide_restore ) { if ( '' == session_id() ) { session_start();