Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fire manual backups using ajax, completely removes the reliance on wp…
…-cron for manual backups.
- Loading branch information
Showing
5 changed files
with
70 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php if ( hmbkp_is_in_progress() ) : ?> | ||
|
||
<a id="hmbkp_backup" class="add-new-h2 hmbkp_running" href="tools.php?page=<?php echo $_GET['page']; ?>&action=hmbkp_cancel"><?php echo hmbkp_get_status(); ?></a> | ||
|
||
<?php elseif ( hmbkp_possible() ) : ?> | ||
|
||
<a id="hmbkp_backup" class="add-new-h2" href="tools.php?page=<?php echo $_GET['page']; ?>&action=hmbkp_backup_now"><?php _e( 'Back Up Now', 'hmbkp' ); ?></a> | ||
|
||
<?php endif; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters