Companion Auto Update - Version 2.0.1

Version Description

  • Fixed issue where setting would show up multiple times when re-activating multiple times
Download this release

Release Info

Developer Papin
Plugin Icon 128x128 Companion Auto Update
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0 to 2.0.1

companion-auto-update.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Companion Auto Update
4
  * Plugin URI: https://qreative-web.com
5
  * Description: This plugin auto updates all plugins, all themes and the wordpress core.
6
- * Version: 2.0
7
  * Author: Qreative-Web
8
  * Author URI: https://qreative-web.com
9
  * Contributors: papin
@@ -91,6 +91,15 @@ function cau_install_data() {
91
  }
92
  register_activation_hook( __FILE__, 'cau_install' );
93
 
 
 
 
 
 
 
 
 
 
94
  // Add plugin to menu
95
  function register_cau_menu_page() {
96
  add_submenu_page( 'tools.php', __('Auto Updater', 'companion-auto-update'), __('Auto Updater', 'companion-auto-update'), 'manage_options', 'cau-settings', 'cau_frontend' );
3
  * Plugin Name: Companion Auto Update
4
  * Plugin URI: https://qreative-web.com
5
  * Description: This plugin auto updates all plugins, all themes and the wordpress core.
6
+ * Version: 2.0.1
7
  * Author: Qreative-Web
8
  * Author URI: https://qreative-web.com
9
  * Contributors: papin
91
  }
92
  register_activation_hook( __FILE__, 'cau_install' );
93
 
94
+ function cau_remove() {
95
+
96
+ global $wpdb;
97
+ $table_name = $wpdb->prefix . "auto_updates";
98
+ $wpdb->query( "DROP TABLE IF EXISTS $table_name" );
99
+
100
+ }
101
+ register_deactivation_hook( __FILE__, 'cau_remove' );
102
+
103
  // Add plugin to menu
104
  function register_cau_menu_page() {
105
  add_submenu_page( 'tools.php', __('Auto Updater', 'companion-auto-update'), __('Auto Updater', 'companion-auto-update'), 'manage_options', 'cau-settings', 'cau_frontend' );
languages/companion-auto-update-nl.mo DELETED
Binary file
languages/companion-auto-update-nl.pot DELETED
@@ -1,35 +0,0 @@
1
- # Copyright (C) 2016 Companion Auto Update
2
- # This file is distributed under the same license as the Companion Auto Update package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: Companion Auto Update 1.0\n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/companion-auto-"
7
- "update\n"
8
- "POT-Creation-Date: 2016-05-24 10:17+0200\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2016-05-24 10:18+0200\n"
13
- "Language-Team: \n"
14
- "X-Generator: Poedit 1.8.7\n"
15
- "Last-Translator: \n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
- "Language: nl\n"
18
-
19
- #. Plugin Name of the plugin/theme
20
- msgid "Companion Auto Update"
21
- msgstr ""
22
-
23
- #. Plugin URI of the plugin/theme
24
- #. Author URI of the plugin/theme
25
- msgid "https://qreative-web.com"
26
- msgstr ""
27
-
28
- #. Description of the plugin/theme
29
- msgid ""
30
- "This plugin auto updates all plugins, all themes and the wordpress core."
31
- msgstr "Deze plugin update alle plugins, themas en de wordpress core."
32
-
33
- #. Author of the plugin/theme
34
- msgid "Qreative-Web"
35
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/companion-auto-update-nl_NL.pot DELETED
@@ -1,35 +0,0 @@
1
- # Copyright (C) 2016 Companion Auto Update
2
- # This file is distributed under the same license as the Companion Auto Update package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: Companion Auto Update 1.0\n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/companion-auto-"
7
- "update\n"
8
- "POT-Creation-Date: 2016-05-24 10:17+0200\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2016-05-24 10:18+0200\n"
13
- "Language-Team: \n"
14
- "X-Generator: Poedit 1.8.7\n"
15
- "Last-Translator: \n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
- "Language: nl\n"
18
-
19
- #. Plugin Name of the plugin/theme
20
- msgid "Companion Auto Update"
21
- msgstr ""
22
-
23
- #. Plugin URI of the plugin/theme
24
- #. Author URI of the plugin/theme
25
- msgid "https://qreative-web.com"
26
- msgstr ""
27
-
28
- #. Description of the plugin/theme
29
- msgid ""
30
- "This plugin auto updates all plugins, all themes and the wordpress core."
31
- msgstr "Deze plugin update alle plugins, themas en de wordpress core."
32
-
33
- #. Author of the plugin/theme
34
- msgid "Qreative-Web"
35
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/companion-auto-update-nl_NL_formal.pot DELETED
@@ -1,35 +0,0 @@
1
- # Copyright (C) 2016 Companion Auto Update
2
- # This file is distributed under the same license as the Companion Auto Update package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: Companion Auto Update 1.0\n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/companion-auto-"
7
- "update\n"
8
- "POT-Creation-Date: 2016-05-24 10:17+0200\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2016-05-24 10:18+0200\n"
13
- "Language-Team: \n"
14
- "X-Generator: Poedit 1.8.7\n"
15
- "Last-Translator: \n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
- "Language: nl\n"
18
-
19
- #. Plugin Name of the plugin/theme
20
- msgid "Companion Auto Update"
21
- msgstr ""
22
-
23
- #. Plugin URI of the plugin/theme
24
- #. Author URI of the plugin/theme
25
- msgid "https://qreative-web.com"
26
- msgstr ""
27
-
28
- #. Description of the plugin/theme
29
- msgid ""
30
- "This plugin auto updates all plugins, all themes and the wordpress core."
31
- msgstr "Deze plugin update alle plugins, themas en de wordpress core."
32
-
33
- #. Author of the plugin/theme
34
- msgid "Qreative-Web"
35
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/dakel/1
4
  Tags: auto, automatic, background, update, updates, automatic updates, automatic background updates, easy update, wordpress update, theme update, plugin update, up-to-date, security, update latest version, update core, update wp, update wp core, major updates, minor updates, update to new version, update core, update plugin, update plugins, update plugins automatically, update theme
5
  Requires at least: 3.5.0
6
  Tested up to: 4.5
7
- Stable tag: 2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -27,6 +27,9 @@ This plugin automatically updates all plugins, all themes and the wordpress core
27
 
28
  == Changelog ==
29
 
 
 
 
30
  = 2.0 =
31
  * You can now select what to update and what not (plugins, themes, major and minor core updates)
32
 
4
  Tags: auto, automatic, background, update, updates, automatic updates, automatic background updates, easy update, wordpress update, theme update, plugin update, up-to-date, security, update latest version, update core, update wp, update wp core, major updates, minor updates, update to new version, update core, update plugin, update plugins, update plugins automatically, update theme
5
  Requires at least: 3.5.0
6
  Tested up to: 4.5
7
+ Stable tag: 2.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
27
 
28
  == Changelog ==
29
 
30
+ = 2.0.1 =
31
+ * Fixed issue where setting would show up multiple times when re-activating multiple times
32
+
33
  = 2.0 =
34
  * You can now select what to update and what not (plugins, themes, major and minor core updates)
35