mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-05 09:19:53 +08:00
Refactoring
This commit is contained in:
parent
137e2d1f18
commit
a10bafd1ec
16 changed files with 288 additions and 287 deletions
|
@ -141,7 +141,7 @@ class MainWP_Child_Stats {
|
|||
|
||||
if ( isset( $_POST['primaryBackup'] ) && ! empty( $_POST['primaryBackup'] ) ) {
|
||||
$primary_bk = $_POST['primaryBackup'];
|
||||
$information['primaryLasttimeBackup'] = MainWP_Helper::get_lasttime_backup( $primary_bk );
|
||||
$information['primaryLasttimeBackup'] = mainwp_child_helper()->get_lasttime_backup( $primary_bk );
|
||||
}
|
||||
|
||||
$last_post = wp_get_recent_posts( array( 'numberposts' => absint( '1' ) ) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue