mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-05 09:19:53 +08:00
Check if there is any destination in backup
This commit is contained in:
parent
4223d1fa95
commit
6061f9fe7a
1 changed files with 3 additions and 0 deletions
|
@ -536,6 +536,9 @@ class MainWP_Child_Back_WP_Up {
|
|||
$dests = BackWPup_Option::get( $jobid, 'destinations' );
|
||||
foreach ( $dests as $dest ) {
|
||||
$dest_class = BackWPup::get_destination( $dest );
|
||||
if ( is_null($dest_class) ) {
|
||||
continue;
|
||||
}
|
||||
$items = $dest_class->file_get_list( $jobid . '_' . $dest );
|
||||
if ( ! empty( $items ) ) {
|
||||
foreach ( $items as $item ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue