mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-05 09:19:53 +08:00
Fix sync data when BackWpUp is installed
This commit is contained in:
parent
7f5448790c
commit
4223d1fa95
1 changed files with 2 additions and 1 deletions
|
@ -191,9 +191,10 @@ class MainWP_Child_Back_WP_Up {
|
|||
}
|
||||
|
||||
function do_site_stats() {
|
||||
if ( ! $this->is_backwpup_installed || !class_exists('BackWPup_Page_Logs')) {
|
||||
if ( ! $this->is_backwpup_installed ) {
|
||||
return;
|
||||
}
|
||||
$this->wp_list_table_dependency();
|
||||
update_user_option( get_current_user_id(), 'backwpuplogs_per_page', 99999999 );
|
||||
$output = new BackWPup_Page_Logs();
|
||||
$output->prepare_items();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue