Edit File by line
/home/barbar84/www/wp-conte.../plugins/updraftp.../template.../wp-admin/settings
File: take-backup.php
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access.'); ?>
[0] Fix | Delete
<div class="updraft_backup_content">
[1] Fix | Delete
<div id="updraft-insert-admin-warning"></div>
[2] Fix | Delete
<noscript>
[3] Fix | Delete
<div>
[4] Fix | Delete
<?php _e('JavaScript warning', 'updraftplus').': ';?><span style="color:red"><?php _e('This admin interface uses JavaScript heavily. You either need to activate it within your browser, or to use a JavaScript-capable browser.', 'updraftplus');?></span>
[5] Fix | Delete
</div>
[6] Fix | Delete
</noscript>
[7] Fix | Delete
[8] Fix | Delete
<?php
[9] Fix | Delete
if ($backup_disabled) {
[10] Fix | Delete
$this->show_admin_warning(
[11] Fix | Delete
htmlspecialchars(__("The 'Backup Now' button is disabled as your backup directory is not writable (go to the 'Settings' tab and find the relevant option).", 'updraftplus')),
[12] Fix | Delete
'error'
[13] Fix | Delete
);
[14] Fix | Delete
}
[15] Fix | Delete
?>
[16] Fix | Delete
[17] Fix | Delete
<h3 class="updraft_next_scheduled_backups_heading"><?php _e('Next scheduled backups', 'updraftplus');?>:</h3>
[18] Fix | Delete
<div class="updraft_next_scheduled_backups_wrapper postbox">
[19] Fix | Delete
<div class="schedule">
[20] Fix | Delete
<div class="updraft_next_scheduled_entity">
[21] Fix | Delete
<div class="updraft_next_scheduled_heading">
[22] Fix | Delete
<strong><?php echo __('Files', 'updraftplus').':';?></strong>
[23] Fix | Delete
</div>
[24] Fix | Delete
<div id="updraft-next-files-backup-inner">
[25] Fix | Delete
<?php
[26] Fix | Delete
$updraftplus_admin->next_scheduled_files_backups_output();
[27] Fix | Delete
?>
[28] Fix | Delete
</div>
[29] Fix | Delete
</div>
[30] Fix | Delete
<div class="updraft_next_scheduled_entity">
[31] Fix | Delete
<div class="updraft_next_scheduled_heading">
[32] Fix | Delete
<strong><?php echo __('Database', 'updraftplus').':';?></strong>
[33] Fix | Delete
</div>
[34] Fix | Delete
<div id="updraft-next-database-backup-inner">
[35] Fix | Delete
<?php
[36] Fix | Delete
$updraftplus_admin->next_scheduled_database_backups_output();
[37] Fix | Delete
?>
[38] Fix | Delete
</div>
[39] Fix | Delete
</div>
[40] Fix | Delete
<div class="updraft_time_now_wrapper">
[41] Fix | Delete
<?php
[42] Fix | Delete
// wp_date() is WP 5.3+, but performs translation into the site locale
[43] Fix | Delete
$current_time = function_exists('wp_date') ? wp_date('D, F j, Y H:i') : get_date_from_gmt(gmdate('Y-m-d H:i:s'), 'D, F j, Y H:i');
[44] Fix | Delete
?>
[45] Fix | Delete
<span class="updraft_time_now_label"><?php echo __('Time now', 'updraftplus').': ';?></span>
[46] Fix | Delete
<span class="updraft_time_now"><?php echo $current_time;?></span>
[47] Fix | Delete
</div>
[48] Fix | Delete
</div>
[49] Fix | Delete
<div class="updraft_backup_btn_wrapper">
[50] Fix | Delete
<button id="updraft-backupnow-button" type="button" <?php echo $backup_disabled; ?> class="button button-primary button-large button-hero" <?php if ($backup_disabled) echo 'title="'.esc_attr(__('This button is disabled because your backup directory is not writable (see the settings).', 'updraftplus')).'" ';?> onclick="updraft_backup_dialog_open(); return false;"><?php echo str_ireplace('Back Up', 'Backup', __('Backup Now', 'updraftplus'));?></button>
[51] Fix | Delete
<?php
[52] Fix | Delete
if (!$backup_disabled) {
[53] Fix | Delete
$link = '<p><a href="#" id="updraftplus_incremental_backup_link" onclick="updraft_backup_dialog_open(\'incremental\'); return false;" data-incremental="0">'.__('Add changed files (incremental backup) ...', ' updraftplus ') . '</a></p>';
[54] Fix | Delete
echo apply_filters('updraftplus_incremental_backup_link', $link);
[55] Fix | Delete
}
[56] Fix | Delete
?>
[57] Fix | Delete
</div>
[58] Fix | Delete
<div id="updraft_activejobs_table">
[59] Fix | Delete
<?php
[60] Fix | Delete
$active_jobs = $this->print_active_jobs();
[61] Fix | Delete
?>
[62] Fix | Delete
<div id="updraft_activejobsrow">
[63] Fix | Delete
<?php echo $active_jobs;?>
[64] Fix | Delete
</div>
[65] Fix | Delete
</div>
[66] Fix | Delete
</div>
[67] Fix | Delete
[68] Fix | Delete
[69] Fix | Delete
<div id="updraft_lastlogmessagerow">
[70] Fix | Delete
<h3><?php _e('Last log message', 'updraftplus');?>:</h3>
[71] Fix | Delete
<?php $this->most_recently_modified_log_link(); ?>
[72] Fix | Delete
<div class="postbox">
[73] Fix | Delete
<span id="updraft_lastlogcontainer"><?php echo htmlspecialchars(UpdraftPlus_Options::get_updraft_lastmessage()); ?></span>
[74] Fix | Delete
</div>
[75] Fix | Delete
</div>
[76] Fix | Delete
[77] Fix | Delete
<div id="updraft-iframe-modal">
[78] Fix | Delete
<div id="updraft-iframe-modal-innards">
[79] Fix | Delete
</div>
[80] Fix | Delete
</div>
[81] Fix | Delete
[82] Fix | Delete
<div id="updraft-authenticate-modal" style="display:none;" title="<?php esc_attr_e('Remote storage authentication', 'updraftplus');?>">
[83] Fix | Delete
<p><?php _e('You have selected a remote storage option which has an authorization step to complete:', 'updraftplus'); ?></p>
[84] Fix | Delete
<div id="updraft-authenticate-modal-innards">
[85] Fix | Delete
</div>
[86] Fix | Delete
</div>
[87] Fix | Delete
[88] Fix | Delete
<div id="updraft-backupnow-modal" title="UpdraftPlus - <?php _e('Perform a backup', 'updraftplus'); ?>">
[89] Fix | Delete
<?php echo $updraftplus_admin->backupnow_modal_contents(); ?>
[90] Fix | Delete
</div>
[91] Fix | Delete
[92] Fix | Delete
<?php if (is_multisite() && !file_exists(UPDRAFTPLUS_DIR.'/addons/multisite.php')) { ?>
[93] Fix | Delete
<h2>UpdraftPlus <?php _e('Multisite', 'updraftplus');?></h2>
[94] Fix | Delete
<table>
[95] Fix | Delete
<tr>
[96] Fix | Delete
<td>
[97] Fix | Delete
<p class="multisite-advert-width"><?php echo __('Do you need WordPress Multisite support?', 'updraftplus').' <a href="'.$updraftplus->get_url('premium').'" target="_blank">'. __('Please check out UpdraftPlus Premium.', 'updraftplus');?></a>.</p>
[98] Fix | Delete
</td>
[99] Fix | Delete
</tr>
[100] Fix | Delete
</table>
[101] Fix | Delete
<?php } ?>
[102] Fix | Delete
</div>
[103] Fix | Delete
[104] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function