Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
save_bvnghean.vn
/
wp-content
/
plugins
/
backupbuddy
/
destinations
/
site
:
_pull.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /* Incoming vars from _manage.php: * * $activePluginsA, $activePluginsB, $activeThemeBInfo * */ _e( "This will <b>pull</b> data from the other site to make this site match the source site's database, media, etc. Contents of this site will be overwritten as needed. Verify the details below to make sure this is the correct deployment you wish to commence. You will be given the opportunity to test the changes and undo the database changes before making them permanent.", 'it-l10n-backupbuddy' ); echo ' <span style="position: relative; top: -0.5em; font-size: 0.7em;">†</span> '; _e( 'WordPress core files will not be transferred between sites.', 'it-l10n-backupbuddy' ); echo ' <span style="position: relative; top: -0.5em; font-size: 0.7em;">‡</span> '; _e( 'BackupBuddy plugin files will not be transferred between sites.', 'it-l10n-backupbuddy' ); echo '<br><br>'; if ( $deployData['remoteInfo']['activeTheme'] == $localInfo['activeTheme'] ) { $activeThemeBInfo = ' (' . count( $deployData['pullThemeFiles'] ) . ' files to pull)'; } else { $activeThemeBInfo = ' (' . __( 'Active theme differs so not updating.', 'it-l10n-backupbuddy' ) . ')'; } if ( isset( $deployData['remoteInfo']['activeChildTheme'] ) ) { if ( $deployData['remoteInfo']['activeChildTheme'] == $localInfo['activeTheme'] ) { // theme & child theme are same (aka not using a child theme) $activeChildThemeBSame = '; same as theme so not re-sending'; } else { $activeChildThemeBSame = ''; } if ( $deployData['remoteInfo']['activeChildTheme'] == $localInfo['activeChildTheme'] ) { $activeChildThemeBInfo = ' (' . count( $deployData['pullChildThemeFiles'] ) . ' files to pull' . $activeChildThemeBSame . ')'; } else { $activeChildThemeBInfo = ' (' . __( 'Active child theme differs so not updating.', 'it-l10n-backupbuddy' ) . ')'; } $remoteActiveChildTheme = $deployData['remoteInfo']['activeChildTheme']; } else { $activeChildThemeBInfo = ''; $remoteActiveChildTheme = __( 'Unknown [NOTE: Remote site does not support detecting child theme. Update remote BackupBuddy]', 'it-l10n-backupbuddy' ); } $activePluginsAInfo = ' (' . count( $deployData['pullPluginFiles'] ) . ' files to pull)'; $headFoot = array( __( '<b>Pulling</b> from (source)', 'it-l10n-backupbuddy' ), __( 'To this site (destination)', 'it-l10n-backupbuddy' ) ); $pushRows = array( 'Site URL' => array( $deployData['remoteInfo']['siteurl'], $localInfo['siteurl'] ), 'Home URL' => array( $deployData['remoteInfo']['homeurl'], $localInfo['homeurl'] ), 'Max Execution Time' => array( $deployData['remoteInfo']['php']['max_execution_time'] . ' sec', $localInfo['php']['max_execution_time'] . ' sec' ), 'Max Upload File Size' => array( $deployData['remoteInfo']['php']['upload_max_filesize'] . ' MB', $localInfo['php']['upload_max_filesize'] . ' MB' ), 'Memory Limit' => array( $deployData['remoteInfo']['php']['memory_limit'] . ' MB', $localInfo['php']['memory_limit'] . ' MB' ), //'PHP Upload Limit' => array( $localInfo['php']['upload_max_filesize'], $deployData['remoteInfo']['php']['upload_max_filesize'] ), 'WordPress Version <span style="position: relative; top: -0.5em; font-size: 0.7em;">†</span>' => array( $deployData['remoteInfo']['wordpressVersion'], $localInfo['wordpressVersion'] ), 'BackupBuddy Version <span style="position: relative; top: -0.5em; font-size: 0.7em;">‡</span>' => array( $deployData['remoteInfo']['backupbuddyVersion'], $localInfo['backupbuddyVersion'] ), 'Active Plugins' => array( $activePluginsB, $activePluginsA . $activePluginsAInfo ), 'Active Theme' => array( $deployData['remoteInfo']['activeTheme'], $localInfo['activeTheme'] . ' ' . $activeThemeBInfo ), 'Active Child Theme' => array( $remoteActiveChildTheme, $localInfo['activeChildTheme'] . ' ' . $activeChildThemeBInfo ), 'Media / Attachments' => array( $deployData['remoteInfo']['mediaCount'], $localInfo['mediaCount'] . ' (' . count( $deployData['pullMediaFiles'] ) . ' files to pull)' ), ); $deployDirection = 'pull'; require( '_pushpull_foot.php' );