WP Rollback - Version 1.1

Version Description

  • Fixed "Cancel" button which was falsely submitting the form
Download this release

Release Info

Developer webdevmattcrom
Plugin Icon 128x128 WP Rollback
Version 1.1
Comparing to
See all releases

Code changes from version 1.0 to 1.1

Files changed (3) hide show
  1. includes/rollback-menu.php +1 -1
  2. readme.txt +4 -1
  3. wp-rollback.php +2 -2
includes/rollback-menu.php CHANGED
@@ -61,7 +61,7 @@ $plugins = get_plugins();
61
 
62
  <div class="wpr-submit-wrap">
63
  <a href="#wpr-modal-confirm" class="magnific-popup button-primary wpr-rollback-disabled"><?php _e( 'Rollback', 'wpr' ); ?></a>
64
- <input type="submit" value="<?php _e( 'Cancel', 'wpr' ); ?>" class="button" />
65
  </div>
66
  <?php do_action( 'wpr_hidden_fields' ); ?>
67
  <input type="hidden" name="page" value="wp-rollback">
61
 
62
  <div class="wpr-submit-wrap">
63
  <a href="#wpr-modal-confirm" class="magnific-popup button-primary wpr-rollback-disabled"><?php _e( 'Rollback', 'wpr' ); ?></a>
64
+ <input type="button" value="<?php _e( 'Cancel', 'wpr' ); ?>" class="button" onclick="location.href='<?php echo wp_get_referer(); ?>';" />
65
  </div>
66
  <?php do_action( 'wpr_hidden_fields' ); ?>
67
  <input type="hidden" name="page" value="wp-rollback">
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: rollback, revert, downgrade, version, plugins, themes, version, versions,
4
  Requires at least: 3.8
5
  Donate Link: https://wordimpress.com
6
  Tested up to: 4.2.2
7
- Stable tag: 1.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -109,6 +109,9 @@ This is the first version of this plugin. It is a tool for your convenience. Rol
109
 
110
  == Changelog ==
111
 
 
 
 
112
  = 1.0 =
113
 
114
  * Initial plugin release. Yippee!
4
  Requires at least: 3.8
5
  Donate Link: https://wordimpress.com
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
109
 
110
  == Changelog ==
111
 
112
+ = 1.1 =
113
+ * Fixed "Cancel" button which was falsely submitting the form
114
+
115
  = 1.0 =
116
 
117
  * Initial plugin release. Yippee!
wp-rollback.php CHANGED
@@ -2,10 +2,10 @@
2
  /**
3
  * Plugin Name: WP Rollback
4
  * Plugin URI: http://wordimpress.com
5
- * Description: Rollback any WordPress.org plugin or theme like a boss.
6
  * Author: WordImpress
7
  * Author URI: http://wordimpress.com
8
- * Version: 1.0
9
  * Text Domain: wpr
10
  * Domain Path: languages
11
  *
2
  /**
3
  * Plugin Name: WP Rollback
4
  * Plugin URI: http://wordimpress.com
5
+ * Description: Rollback (or forward) any WordPress.org plugin or theme like a boss.
6
  * Author: WordImpress
7
  * Author URI: http://wordimpress.com
8
+ * Version: 1.1
9
  * Text Domain: wpr
10
  * Domain Path: languages
11
  *