mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-05 09:19:53 +08:00
Fixed: Typo
This commit is contained in:
parent
d2395d5c4a
commit
7934ed9652
1 changed files with 3 additions and 3 deletions
|
@ -727,7 +727,7 @@ class MainWP_Child_Back_WP_Up {
|
|||
protected function backup_now() {
|
||||
|
||||
if ( ! isset( $_POST['settings']['job_id'] ) ) {
|
||||
return array( 'error' => __( 'Missing job id', $this->plugin_translate ) );
|
||||
return array( 'error' => __( 'Missing job_id', $this->plugin_translate ) );
|
||||
}
|
||||
|
||||
// Simulate http://wp/wp-admin/admin.php?jobid=1&page=backwpupjobs&action=runnow
|
||||
|
@ -1048,7 +1048,7 @@ class MainWP_Child_Back_WP_Up {
|
|||
}
|
||||
|
||||
if ( ! isset( $settings['job_id'] ) ) {
|
||||
return array( 'error' => __( 'Missing job id', $this->plugin_translate ) );
|
||||
return array( 'error' => __( 'Missing job_id', $this->plugin_translate ) );
|
||||
}
|
||||
|
||||
if ( $settings['job_id'] > 0 ) {
|
||||
|
@ -1120,7 +1120,7 @@ class MainWP_Child_Back_WP_Up {
|
|||
}
|
||||
|
||||
if ( ! isset( $settings['job_id'] ) ) {
|
||||
return array( 'error' => __( 'Missing job id', $this->plugin_translate ) );
|
||||
return array( 'error' => __( 'Missing job_id', $this->plugin_translate ) );
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'BackWPup' ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue