Version Description
2020-01-21 =
FIX: (Premium feature) UpdraftPlus will only take one backup during the auto-update process.
FIX: Update translations after an auto-update has completed.
Download this release
Release Info
Developer | DavidAnderson |
Plugin | Easy Updates Manager |
Version | 9.0.1 |
Comparing to | |
See all releases |
Code changes from version 9.0.0 to 9.0.1
- includes/MPSUM_Admin_Ajax.php +8 -0
- includes/MPSUM_Logs.php +22 -1
- languages/stops-core-theme-and-plugin-updates.pot +11 -11
- main.php +2 -2
- readme.txt +8 -3
includes/MPSUM_Admin_Ajax.php
CHANGED
@@ -981,6 +981,14 @@ class MPSUM_Admin_Ajax {
|
|
981 |
delete_site_transient('MPSUM_PLUGINS');
|
982 |
delete_site_transient('MPSUM_THEMES');
|
983 |
if (function_exists('wp_maybe_auto_update')) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
984 |
/**
|
985 |
* Whether to delete the auto update lock file
|
986 |
*
|
981 |
delete_site_transient('MPSUM_PLUGINS');
|
982 |
delete_site_transient('MPSUM_THEMES');
|
983 |
if (function_exists('wp_maybe_auto_update')) {
|
984 |
+
// Constant to show that a Force Update is in effect. Since 9.0.1.
|
985 |
+
if (!defined('EUM_DOING_FORCE_UPDATES')) {
|
986 |
+
define('EUM_DOING_FORCE_UPDATES', true );
|
987 |
+
}
|
988 |
+
|
989 |
+
// Disable auto-backups from occuring with UpdraftPlus Premium as it causes a fatal error when running Force Updates. Since 9.0.1.
|
990 |
+
add_filter('updraftplus_boot_backup', '__return_false', 10, 1);
|
991 |
+
|
992 |
/**
|
993 |
* Whether to delete the auto update lock file
|
994 |
*
|
includes/MPSUM_Logs.php
CHANGED
@@ -107,7 +107,27 @@ class MPSUM_Logs {
|
|
107 |
* @return void
|
108 |
*/
|
109 |
public function update_translations($update_results) {
|
110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
}
|
112 |
|
113 |
/**
|
@@ -263,6 +283,7 @@ class MPSUM_Logs {
|
|
263 |
public function automatic_updates($update_results) {
|
264 |
if (empty($update_results)) return;
|
265 |
$this->log_messages = $this->get_cached_version_information();
|
|
|
266 |
foreach ($update_results as $type => $results) {
|
267 |
switch ($type) {
|
268 |
case 'core':
|
107 |
* @return void
|
108 |
*/
|
109 |
public function update_translations($update_results) {
|
110 |
+
$language_updates = wp_get_translation_updates();
|
111 |
+
if (! $language_updates) {
|
112 |
+
return;
|
113 |
+
}
|
114 |
+
ob_start(); // ob_start is necessary to prevent notices from showing up when UpdraftPlus is running a backup when force updates is run. Since 9.0.1.
|
115 |
+
$language_pack = new Language_Pack_Upgrader();
|
116 |
+
$language_pack->bulk_upgrade($language_updates);
|
117 |
+
ob_end_clean();
|
118 |
+
|
119 |
+
// Log translated updates.
|
120 |
+
if (is_array($language_updates) && ! empty($language_updates)) {
|
121 |
+
foreach ($language_updates as $language_update) {
|
122 |
+
$status = 1;
|
123 |
+
$version = $language_update->version;
|
124 |
+
$version_from = $version;
|
125 |
+
$slug = $language_update->slug;
|
126 |
+
$name = $this->get_name_for_update($language_update->type, $slug);
|
127 |
+
$name = $name . ' (' . $language_update->language . ')';
|
128 |
+
$this->insert_log($name, 'translation', $version_from, $version, 'automatic', $status);
|
129 |
+
}
|
130 |
+
}
|
131 |
}
|
132 |
|
133 |
/**
|
283 |
public function automatic_updates($update_results) {
|
284 |
if (empty($update_results)) return;
|
285 |
$this->log_messages = $this->get_cached_version_information();
|
286 |
+
delete_site_option('eum_auto_backups'); // Remove option that is needed to prevent duplicate backups. Since 9.0.1.
|
287 |
foreach ($update_results as $type => $results) {
|
288 |
switch ($type) {
|
289 |
case 'core':
|
languages/stops-core-theme-and-plugin-updates.pot
CHANGED
@@ -221,49 +221,49 @@ msgstr ""
|
|
221 |
msgid "The plugin settings have now been reset."
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: src/includes/MPSUM_Admin_Ajax.php:
|
225 |
msgid "Force update checks have been initialized."
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: src/includes/MPSUM_Admin_Ajax.php:
|
229 |
msgid "Updates"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: src/includes/MPSUM_Admin_Ajax.php:
|
233 |
msgid "Plugins"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: src/includes/MPSUM_Admin_Ajax.php:
|
237 |
msgid "Themes"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: src/includes/MPSUM_Admin_Ajax.php:
|
241 |
msgid "%s WordPress Update"
|
242 |
msgid_plural "%s WordPress Updates"
|
243 |
msgstr[0] ""
|
244 |
msgstr[1] ""
|
245 |
|
246 |
-
#: src/includes/MPSUM_Admin_Ajax.php:
|
247 |
msgid "%s Plugin Update"
|
248 |
msgid_plural "%s Plugin Updates"
|
249 |
msgstr[0] ""
|
250 |
msgstr[1] ""
|
251 |
|
252 |
-
#: src/includes/MPSUM_Admin_Ajax.php:
|
253 |
msgid "%s Theme Update"
|
254 |
msgid_plural "%s Theme Updates"
|
255 |
msgstr[0] ""
|
256 |
msgstr[1] ""
|
257 |
|
258 |
-
#: src/includes/MPSUM_Admin_Ajax.php:
|
259 |
msgid "Translation Updates"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: src/includes/MPSUM_Admin_Ajax.php:
|
263 |
msgid "Logs are now enabled"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: src/includes/MPSUM_Admin_Ajax.php:
|
267 |
msgid "Logs have been emptied"
|
268 |
msgstr ""
|
269 |
|
@@ -1367,7 +1367,7 @@ msgstr ""
|
|
1367 |
msgid "Show Notes"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
-
#: src/includes/MPSUM_Logs.php:
|
1371 |
msgid "No items found."
|
1372 |
msgstr ""
|
1373 |
|
221 |
msgid "The plugin settings have now been reset."
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: src/includes/MPSUM_Admin_Ajax.php:1030
|
225 |
msgid "Force update checks have been initialized."
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: src/includes/MPSUM_Admin_Ajax.php:1049, src/includes/MPSUM_Admin.php:501
|
229 |
msgid "Updates"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: src/includes/MPSUM_Admin_Ajax.php:1050, src/includes/MPSUM_Admin_Help.php:48, src/includes/MPSUM_Admin.php:516, src/includes/MPSUM_Admin.php:623
|
233 |
msgid "Plugins"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: src/includes/MPSUM_Admin_Ajax.php:1051, src/includes/MPSUM_Admin_Help.php:49, src/includes/MPSUM_Admin.php:524, src/includes/MPSUM_Admin.php:629
|
237 |
msgid "Themes"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: src/includes/MPSUM_Admin_Ajax.php:1067
|
241 |
msgid "%s WordPress Update"
|
242 |
msgid_plural "%s WordPress Updates"
|
243 |
msgstr[0] ""
|
244 |
msgstr[1] ""
|
245 |
|
246 |
+
#: src/includes/MPSUM_Admin_Ajax.php:1070
|
247 |
msgid "%s Plugin Update"
|
248 |
msgid_plural "%s Plugin Updates"
|
249 |
msgstr[0] ""
|
250 |
msgstr[1] ""
|
251 |
|
252 |
+
#: src/includes/MPSUM_Admin_Ajax.php:1073
|
253 |
msgid "%s Theme Update"
|
254 |
msgid_plural "%s Theme Updates"
|
255 |
msgstr[0] ""
|
256 |
msgstr[1] ""
|
257 |
|
258 |
+
#: src/includes/MPSUM_Admin_Ajax.php:1076, src/includes/MPSUM_Admin_Core.php:268
|
259 |
msgid "Translation Updates"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: src/includes/MPSUM_Admin_Ajax.php:1113
|
263 |
msgid "Logs are now enabled"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: src/includes/MPSUM_Admin_Ajax.php:1125
|
267 |
msgid "Logs have been emptied"
|
268 |
msgstr ""
|
269 |
|
1367 |
msgid "Show Notes"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
+
#: src/includes/MPSUM_Logs.php:140
|
1371 |
msgid "No items found."
|
1372 |
msgstr ""
|
1373 |
|
main.php
CHANGED
@@ -5,7 +5,7 @@ Plugin Name: Easy Updates Manager
|
|
5 |
Plugin URI: https://easyupdatesmanager.com
|
6 |
Description: Manage and disable WordPress updates, including core, plugin, theme, and automatic updates - Works with Multisite and has built-in logging features.
|
7 |
Author: Easy Updates Manager Team
|
8 |
-
Version: 9.0.
|
9 |
Requires at least: 4.7
|
10 |
Tested up to: 5.3
|
11 |
Author URI: https://easyupdatesmanager.com
|
@@ -19,7 +19,7 @@ Network: true
|
|
19 |
|
20 |
if (!defined('ABSPATH')) die('No direct access allowed');
|
21 |
if (!defined('EASY_UPDATES_MANAGER_MAIN_PATH')) define('EASY_UPDATES_MANAGER_MAIN_PATH', plugin_dir_path(__FILE__));
|
22 |
-
if (!defined('EASY_UPDATES_MANAGER_VERSION')) define('EASY_UPDATES_MANAGER_VERSION', '9.0.
|
23 |
if (!defined('EASY_UPDATES_MANAGER_URL')) define('EASY_UPDATES_MANAGER_URL', plugin_dir_url(__FILE__));
|
24 |
if (!defined('EASY_UPDATES_MANAGER_SITE_URL')) define('EASY_UPDATES_MANAGER_SITE_URL', 'https://easyupdatesmanager.com/');
|
25 |
if (!defined('EASY_UPDATES_MANAGER_SLUG')) define('EASY_UPDATES_MANAGER_SLUG', plugin_basename(__FILE__));
|
5 |
Plugin URI: https://easyupdatesmanager.com
|
6 |
Description: Manage and disable WordPress updates, including core, plugin, theme, and automatic updates - Works with Multisite and has built-in logging features.
|
7 |
Author: Easy Updates Manager Team
|
8 |
+
Version: 9.0.1
|
9 |
Requires at least: 4.7
|
10 |
Tested up to: 5.3
|
11 |
Author URI: https://easyupdatesmanager.com
|
19 |
|
20 |
if (!defined('ABSPATH')) die('No direct access allowed');
|
21 |
if (!defined('EASY_UPDATES_MANAGER_MAIN_PATH')) define('EASY_UPDATES_MANAGER_MAIN_PATH', plugin_dir_path(__FILE__));
|
22 |
+
if (!defined('EASY_UPDATES_MANAGER_VERSION')) define('EASY_UPDATES_MANAGER_VERSION', '9.0.1');
|
23 |
if (!defined('EASY_UPDATES_MANAGER_URL')) define('EASY_UPDATES_MANAGER_URL', plugin_dir_url(__FILE__));
|
24 |
if (!defined('EASY_UPDATES_MANAGER_SITE_URL')) define('EASY_UPDATES_MANAGER_SITE_URL', 'https://easyupdatesmanager.com/');
|
25 |
if (!defined('EASY_UPDATES_MANAGER_SLUG')) define('EASY_UPDATES_MANAGER_SLUG', plugin_basename(__FILE__));
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Tags: updates manager, easy updates manager, disable updates manager, disable up
|
|
4 |
Requires at least: 4.7
|
5 |
Requires PHP: 5.3
|
6 |
Donate link: https://easyupdatesmanager.com
|
7 |
-
Tested up to: 5.
|
8 |
-
Stable tag: 9.0.
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Manage all your WordPress updates, including individual updates, automatic updates, logs, and loads more. This also works very well with WordPress Multisite.
|
@@ -126,6 +126,11 @@ For additional information and FAQs for Easy Updates Manager <a href="https://ea
|
|
126 |
|
127 |
== Changelog ==
|
128 |
|
|
|
|
|
|
|
|
|
|
|
129 |
= 9.0.0 - 2020-01-15 =
|
130 |
|
131 |
* FEATURE: Admin user interface has been cleaned up, providing more straightforward options.
|
@@ -284,4 +289,4 @@ For past changelogs, <a href="https://easyupdatesmanager.com/blog/">please visit
|
|
284 |
|
285 |
== Upgrade Notice ==
|
286 |
|
287 |
-
* 9.0.0 : UI simplification making options clearer/simpler, plus various tweaks and fixes. A recommended update for all.
|
4 |
Requires at least: 4.7
|
5 |
Requires PHP: 5.3
|
6 |
Donate link: https://easyupdatesmanager.com
|
7 |
+
Tested up to: 5.4
|
8 |
+
Stable tag: 9.0.1
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Manage all your WordPress updates, including individual updates, automatic updates, logs, and loads more. This also works very well with WordPress Multisite.
|
126 |
|
127 |
== Changelog ==
|
128 |
|
129 |
+
= 9.0.1 - 2020-01-21 =
|
130 |
+
|
131 |
+
* FIX: (Premium feature) UpdraftPlus will only take one backup during the auto-update process.
|
132 |
+
* FIX: Update translations after an auto-update has completed.
|
133 |
+
|
134 |
= 9.0.0 - 2020-01-15 =
|
135 |
|
136 |
* FEATURE: Admin user interface has been cleaned up, providing more straightforward options.
|
289 |
|
290 |
== Upgrade Notice ==
|
291 |
|
292 |
+
* 9.0.1 : 9.0.1 fixes a couple of bugs in the 9.0.0 release, whose updates were: UI simplification making options clearer/simpler, plus various tweaks and fixes. A recommended update for all.
|