WP Downgrade | Specific Core Version - Version 1.1.4

Version Description

  • Improved access to the settings page (link from plugin overview)
  • compatibility with WordPress 4.7.1
Download this release

Release Info

Developer Reisetiger
Plugin Icon 128x128 WP Downgrade | Specific Core Version
Version 1.1.4
Comparing to
See all releases

Code changes from version 1.1.2 to 1.1.4

Files changed (2) hide show
  1. readme.txt +12 -8
  2. wp-downgrade.php +8 -2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Reisetiger
3
  Donate link: http://www.reisetiger.net
4
  Tags: Downgrade, Core, WP-Core, Version, Rollback, Upgrade, Update, Release, Versionskontrolle
5
  Requires at least: 3.0.1
6
- Tested up to: 4.7
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -13,15 +13,15 @@ Automatically downgrad or update to any WordPress version you want directly from
13
  == Description ==
14
 
15
  = WordPress Core Downgrade/Update =
16
- **EN:** The plugin "WP Downgrade" forces the WordPress update routine to perform the installation of a **specified** WordPress release. The Core Release you specify is then downloaded from wordpress.org and installed as would **any regular update**.
17
 
18
  The user Gahapati describes it so much better than I can. (Thank you!)
19
- > *WP Downgrade | Specific Core Version* has the potential for becoming one of the best-loved plugins among those, who simply cannot update to the *latest* WP release.
20
- >
21
- > In the past the latest WP release was the only offering for WP's Automatic Update routine. This left all those behind, who have to wait with Core updates, until their plugins become compatible with newer WP releases. When this finally happens, more often than not there has already been *yet another* Core update. In the end a dreaded, cumbersome, time-consuming and error-prone Manual Update used to be the only way to go.
22
- >
23
- > With *WP Downgrade | Specific Core Version* this is now a thing of the past. Anyone who lags behind the latest WP release is now able to use Automatic Updates even to lower WP versions. What WP Downgrade does simply is to make WP believe that the version you want to update to *actually is* the latest version. Because of this, there is no difference to updating to the latest version.
24
- >
25
  > For security reasons I think this is a must-have plugin for anyone running a "seasoned" WP installation, and it actually should be a Core feature to be able to update not to the *latest* WP release exclusively but instead to have a choice among *secure* releases.
26
 
27
  **DE:** Das Plugin "WP Downgrade" zwingt die WordPress-interne Update-Funktion, ein **bestimmtes** WordPress-Release zu installieren. Das definierte Core-Release wird **wie ein reguläres Update** von wordpress.org bezogen und direkt installiert.
@@ -63,6 +63,10 @@ A: Weil es bisher keine Fragen gab! :-)
63
 
64
 
65
  == Changelog ==
 
 
 
 
66
  = 1.1.3 =
67
  * bugfix on downloading certain languages
68
  * compatibility with WordPress 4.7
3
  Donate link: http://www.reisetiger.net
4
  Tags: Downgrade, Core, WP-Core, Version, Rollback, Upgrade, Update, Release, Versionskontrolle
5
  Requires at least: 3.0.1
6
+ Tested up to: 5.0.1
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
  == Description ==
14
 
15
  = WordPress Core Downgrade/Update =
16
+ **EN:** The plugin "WP Downgrade" forces the WordPress update routine to perform the installation of a **specified** WordPress release. The Core Release you specify is then downloaded from wordpress.org and installed as would **any regular update**. You can permanently stay on a previous version of your choice or update selected.
17
 
18
  The user Gahapati describes it so much better than I can. (Thank you!)
19
+ > *WP Downgrade | Specific Core Version* has the potential for becoming one of the best-loved plugins among those, who simply cannot update to the *latest* WP release.
20
+
21
+ > In the past the latest WP release was the only offering for WP's Automatic Update routine. This left all those behind, who have to wait with Core updates, until their plugins become compatible with newer WP releases. When this finally happens, more often than not there has already been *yet another* Core update. In the end a dreaded, cumbersome, time-consuming and error-prone Manual Update used to be the only way to go.
22
+
23
+ > With *WP Downgrade | Specific Core Version* this is now a thing of the past. Anyone who lags behind the latest WP release is now able to use Automatic Updates even to lower WP versions. What WP Downgrade does simply is to make WP believe that the version you want to update to *actually is* the latest version. Because of this, there is no difference to updating to the latest version.
24
+
25
  > For security reasons I think this is a must-have plugin for anyone running a "seasoned" WP installation, and it actually should be a Core feature to be able to update not to the *latest* WP release exclusively but instead to have a choice among *secure* releases.
26
 
27
  **DE:** Das Plugin "WP Downgrade" zwingt die WordPress-interne Update-Funktion, ein **bestimmtes** WordPress-Release zu installieren. Das definierte Core-Release wird **wie ein reguläres Update** von wordpress.org bezogen und direkt installiert.
63
 
64
 
65
  == Changelog ==
66
+ = 1.1.4 =
67
+ * Improved access to the settings page (link from plugin overview)
68
+ * compatibility with WordPress 4.7.1
69
+
70
  = 1.1.3 =
71
  * bugfix on downloading certain languages
72
  * compatibility with WordPress 4.7
wp-downgrade.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Downgrade | Specific Core Version
4
  Plugin URI: https://www.reisetiger.net
5
  Description: WP Downgrade allows you to either downgrade or update WordPress Core to an arbitrary version of your choice. The version you choose is downloaded directly from wordpress.org and installed just like any regular update. The target version WordPress allows you to update to remains constant until you enter a different one or deactivate the plugin either completely or by leaving the target version field empty.
6
- Version: 1.1.2
7
  Author: Reisetiger
8
  Author URI: https://www.reisetiger.net
9
  License: GPL2
@@ -39,6 +39,12 @@ function register_wp_downgrade_settings() {
39
  // register_setting( 'wpdg-settings-group', 'some_other_option' );
40
  }
41
 
 
 
 
 
 
 
42
  function wp_downgrade_settings_page() {
43
  ?>
44
  <div class="wrap">
@@ -102,7 +108,7 @@ add_filter('site_transient_update_core','wpdg_specific_version' );
102
  function wpdg_specific_version($updates){
103
 
104
  $sprache = get_locale().'/';
105
- if ($sprache == 'en_US/'){
106
  $sprache = '';
107
  };
108
  $dg_version = get_option('wpdg_specific_version_name');
3
  Plugin Name: WP Downgrade | Specific Core Version
4
  Plugin URI: https://www.reisetiger.net
5
  Description: WP Downgrade allows you to either downgrade or update WordPress Core to an arbitrary version of your choice. The version you choose is downloaded directly from wordpress.org and installed just like any regular update. The target version WordPress allows you to update to remains constant until you enter a different one or deactivate the plugin either completely or by leaving the target version field empty.
6
+ Version: 1.1.4
7
  Author: Reisetiger
8
  Author URI: https://www.reisetiger.net
9
  License: GPL2
39
  // register_setting( 'wpdg-settings-group', 'some_other_option' );
40
  }
41
 
42
+ add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'wp_downgrade_action_links' );
43
+ function wp_downgrade_action_links( $links ) {
44
+ $links[] = '<a href="'. esc_url( get_admin_url(null, 'options-general.php?page=wp_downgrade') ) .'">Settings</a>';
45
+ return $links;
46
+ }
47
+
48
  function wp_downgrade_settings_page() {
49
  ?>
50
  <div class="wrap">
108
  function wpdg_specific_version($updates){
109
 
110
  $sprache = get_locale().'/';
111
+ if ($sprache == 'en_US/' OR $sprache == 'en'){
112
  $sprache = '';
113
  };
114
  $dg_version = get_option('wpdg_specific_version_name');