Version Description
(March 14, 2018) = * Fix: Time schedule scheduling an hour before set time * New: Support & Feedback page
Download this release
Release Info
Developer | Papin |
Plugin | Companion Auto Update |
Version | 3.0.5 |
Comparing to | |
See all releases |
Code changes from version 3.0.4 to 3.0.5
- admin/schedule.php +3 -3
- backend/style.css +47 -6
- companion-auto-update.php +3 -6
- readme.txt +6 -2
admin/schedule.php
CHANGED
@@ -26,7 +26,7 @@ if( isset( $_POST['submit'] ) ) {
|
|
26 |
if( $plugin_sc == 'daily' ) {
|
27 |
|
28 |
$date = date( 'Y-m-d' );
|
29 |
-
$hours =
|
30 |
$minutes = $_POST['pluginScheduleTimeM'];
|
31 |
$seconds = date( 's' );
|
32 |
$fullDate = $date.' '.$hours.':'.$minutes.':'.$seconds;
|
@@ -42,7 +42,7 @@ if( isset( $_POST['submit'] ) ) {
|
|
42 |
if( $theme_sc == 'daily' ) {
|
43 |
|
44 |
$dateT = date( 'Y-m-d' );
|
45 |
-
$hoursT =
|
46 |
$minutesT = $_POST['ThemeScheduleTimeM'];
|
47 |
$secondsT = date( 's' );
|
48 |
$fullDateT = $dateT.' '.$hoursT.':'.$minutesT.':'.$secondsT;
|
@@ -90,7 +90,7 @@ if( isset( $_POST['submit'] ) ) {
|
|
90 |
<?php
|
91 |
|
92 |
$setTimePlugins = wp_next_scheduled( 'wp_update_plugins' );
|
93 |
-
$setTimePluginsHour = date( 'H' , $setTimePlugins );
|
94 |
$setTimePluginsMin = date( 'i' , $setTimePlugins );
|
95 |
|
96 |
?>
|
26 |
if( $plugin_sc == 'daily' ) {
|
27 |
|
28 |
$date = date( 'Y-m-d' );
|
29 |
+
$hours = $_POST['pluginScheduleTimeH'];
|
30 |
$minutes = $_POST['pluginScheduleTimeM'];
|
31 |
$seconds = date( 's' );
|
32 |
$fullDate = $date.' '.$hours.':'.$minutes.':'.$seconds;
|
42 |
if( $theme_sc == 'daily' ) {
|
43 |
|
44 |
$dateT = date( 'Y-m-d' );
|
45 |
+
$hoursT = $_POST['ThemeScheduleTimeH'];
|
46 |
$minutesT = $_POST['ThemeScheduleTimeM'];
|
47 |
$secondsT = date( 's' );
|
48 |
$fullDateT = $dateT.' '.$hoursT.':'.$minutesT.':'.$secondsT;
|
90 |
<?php
|
91 |
|
92 |
$setTimePlugins = wp_next_scheduled( 'wp_update_plugins' );
|
93 |
+
$setTimePluginsHour = date( 'H' , $setTimePlugins );
|
94 |
$setTimePluginsMin = date( 'i' , $setTimePlugins );
|
95 |
|
96 |
?>
|
backend/style.css
CHANGED
@@ -71,7 +71,7 @@ table.autoupdatelog .dashicons {
|
|
71 |
width: 30px;
|
72 |
height: 16px;
|
73 |
background: transparent;
|
74 |
-
border: 2px solid #
|
75 |
border-radius: 15px;
|
76 |
transition: background-color .2s;
|
77 |
}
|
@@ -81,16 +81,16 @@ table.autoupdatelog .dashicons {
|
|
81 |
transition: all .2s;
|
82 |
border-radius: 500px;
|
83 |
background: transparent;
|
84 |
-
border: 2px solid #
|
85 |
top: 1px;
|
86 |
left: 5px;
|
87 |
}
|
88 |
#the-list input[type="checkbox"]:not(:checked) + label:before {
|
89 |
-
background: #
|
90 |
-
border: 2px solid #
|
91 |
}
|
92 |
#the-list input[type="checkbox"]:not(:checked) + label:after {
|
93 |
-
background: #
|
94 |
border-color: #FFF;
|
95 |
left: 18px;
|
96 |
}
|
@@ -115,7 +115,45 @@ table.autoupdatelog .dashicons {
|
|
115 |
width: 125px;
|
116 |
padding-left: 5px;
|
117 |
}
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
@media screen and (max-width: 1000px) {
|
120 |
.cau_support_buttons, .cau_hide_on_mobile, table.autoupdate thead {
|
121 |
display: none!important;
|
@@ -123,4 +161,7 @@ table.autoupdatelog .dashicons {
|
|
123 |
.cau_schedule_input {
|
124 |
width: 50px;
|
125 |
}
|
|
|
|
|
|
|
126 |
}
|
71 |
width: 30px;
|
72 |
height: 16px;
|
73 |
background: transparent;
|
74 |
+
border: 2px solid #9178B7;
|
75 |
border-radius: 15px;
|
76 |
transition: background-color .2s;
|
77 |
}
|
81 |
transition: all .2s;
|
82 |
border-radius: 500px;
|
83 |
background: transparent;
|
84 |
+
border: 2px solid #9178B7;
|
85 |
top: 1px;
|
86 |
left: 5px;
|
87 |
}
|
88 |
#the-list input[type="checkbox"]:not(:checked) + label:before {
|
89 |
+
background: #9178B7;
|
90 |
+
border: 2px solid #9178B7;
|
91 |
}
|
92 |
#the-list input[type="checkbox"]:not(:checked) + label:after {
|
93 |
+
background: #9178B7;
|
94 |
border-color: #FFF;
|
95 |
left: 18px;
|
96 |
}
|
115 |
width: 125px;
|
116 |
padding-left: 5px;
|
117 |
}
|
118 |
+
.cau_support .dashicons {
|
119 |
+
position: relative;
|
120 |
+
bottom: -5px;
|
121 |
+
font-size: 1.3em;
|
122 |
+
}
|
123 |
+
.cau_support .donate-button {
|
124 |
+
background-color: #9178B7;
|
125 |
+
color: #FFF;
|
126 |
+
border: 0px;
|
127 |
+
padding: 10px 15px;
|
128 |
+
height: auto;
|
129 |
+
}
|
130 |
+
.cau_support .donate-button:hover {
|
131 |
+
background-color: #735F91;
|
132 |
+
color: #FFF;
|
133 |
+
}
|
134 |
+
.cau_support .donate-button:active {
|
135 |
+
background-color: #735F91;
|
136 |
+
color: #FFF;
|
137 |
+
}
|
138 |
+
.cau_support .rate-button {
|
139 |
+
border: 0px;
|
140 |
+
padding: 10px 20px;
|
141 |
+
height: auto;
|
142 |
+
color: #735F91!important;
|
143 |
+
}
|
144 |
+
.cau_support_buttons .donate-button {
|
145 |
+
background-color: #9178B7;
|
146 |
+
color: #FFF;
|
147 |
+
border: 0px!important;
|
148 |
+
}
|
149 |
+
.cau_support_buttons .donate-button:hover {
|
150 |
+
background-color: #735F91;
|
151 |
+
color: #FFF;
|
152 |
+
}
|
153 |
+
.cau_support_buttons .donate-button:active {
|
154 |
+
background-color: #735F91;
|
155 |
+
color: #FFF;
|
156 |
+
}
|
157 |
@media screen and (max-width: 1000px) {
|
158 |
.cau_support_buttons, .cau_hide_on_mobile, table.autoupdate thead {
|
159 |
display: none!important;
|
161 |
.cau_schedule_input {
|
162 |
width: 50px;
|
163 |
}
|
164 |
+
.cau_support .dashicons {
|
165 |
+
bottom: 0px;
|
166 |
+
}
|
167 |
}
|
companion-auto-update.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Companion Auto Update
|
4 |
* Plugin URI: http://codeermeneer.nl/portfolio/companion-auto-update/
|
5 |
* Description: This plugin auto updates all plugins, all themes and the wordpress core.
|
6 |
-
* Version: 3.0.
|
7 |
* Author: Papin Schipper
|
8 |
* Author URI: http://codeermeneer.nl/
|
9 |
* Contributors: papin
|
@@ -139,11 +139,7 @@ function cau_frontend() { ?>
|
|
139 |
<h1 class="wp-heading-inline"><?php _e('Auto Updater', 'companion-auto-update'); ?></h1>
|
140 |
|
141 |
<div class='cau_support_buttons'>
|
142 |
-
|
143 |
-
<a href="http://codeermeneer.nl/cau_poll/" target="_blank" class="page-title-action"><?php _e('Give feedback', 'companion-auto-update'); ?></a>
|
144 |
-
<a href="https://translate.wordpress.org/projects/wp-plugins/companion-auto-update/" target="_blank" class="page-title-action"><?php _e('Help us translate', 'companion-auto-update'); ?></a>
|
145 |
-
<a href="https://www.paypal.me/dakel/1/" target="_blank" class="page-title-action"><?php _e('Donate to help development', 'companion-auto-update'); ?></a>
|
146 |
-
|
147 |
</div>
|
148 |
|
149 |
<hr class="wp-header-end">
|
@@ -153,6 +149,7 @@ function cau_frontend() { ?>
|
|
153 |
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=pluginlist" class="nav-tab <?php active_tab('pluginlist'); ?>"><?php _e('Filter plugins', 'companion-auto-update'); ?></a>
|
154 |
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=schedule" class="nav-tab <?php active_tab('schedule'); ?>"><?php _e('Scheduling', 'companion-auto-update'); ?></a>
|
155 |
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=log" class="nav-tab <?php active_tab('log'); ?>"><?php _e('Update log', 'companion-auto-update'); ?></a>
|
|
|
156 |
</h2>
|
157 |
|
158 |
<?php
|
3 |
* Plugin Name: Companion Auto Update
|
4 |
* Plugin URI: http://codeermeneer.nl/portfolio/companion-auto-update/
|
5 |
* Description: This plugin auto updates all plugins, all themes and the wordpress core.
|
6 |
+
* Version: 3.0.5
|
7 |
* Author: Papin Schipper
|
8 |
* Author URI: http://codeermeneer.nl/
|
9 |
* Contributors: papin
|
139 |
<h1 class="wp-heading-inline"><?php _e('Auto Updater', 'companion-auto-update'); ?></h1>
|
140 |
|
141 |
<div class='cau_support_buttons'>
|
142 |
+
<a href="https://www.paypal.me/dakel/1/" target="_blank" class="donate-button page-title-action"><?php _e('Donate to help development', 'companion-auto-update'); ?></a>
|
|
|
|
|
|
|
|
|
143 |
</div>
|
144 |
|
145 |
<hr class="wp-header-end">
|
149 |
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=pluginlist" class="nav-tab <?php active_tab('pluginlist'); ?>"><?php _e('Filter plugins', 'companion-auto-update'); ?></a>
|
150 |
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=schedule" class="nav-tab <?php active_tab('schedule'); ?>"><?php _e('Scheduling', 'companion-auto-update'); ?></a>
|
151 |
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=log" class="nav-tab <?php active_tab('log'); ?>"><?php _e('Update log', 'companion-auto-update'); ?></a>
|
152 |
+
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=support" class="nav-tab <?php active_tab('support'); ?>"><?php _e('Support & Feedback', 'companion-auto-update'); ?></a>
|
153 |
</h2>
|
154 |
|
155 |
<?php
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/dakel/2
|
|
4 |
Tags: auto, automatic, background, update, updates, updating, 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, plugin, theme, advance, control, mail, notifations, enable
|
5 |
Requires at least: 3.5.0
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 3.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -77,7 +77,11 @@ If you launched your website a few years ago using cPanel it could be the case t
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
-
= 3.0.
|
|
|
|
|
|
|
|
|
81 |
* Fix: Schedule Time not able to set! [Read support topic here](https://wordpress.org/support/topic/schedule-time-not-able-to-set/)
|
82 |
|
83 |
= 3.0.3 (February 28, 2018) =
|
4 |
Tags: auto, automatic, background, update, updates, updating, 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, plugin, theme, advance, control, mail, notifations, enable
|
5 |
Requires at least: 3.5.0
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 3.0.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 3.0.5 (March 14, 2018) =
|
81 |
+
* Fix: Time schedule scheduling an hour before set time
|
82 |
+
* New: Support & Feedback page
|
83 |
+
|
84 |
+
= 3.0.4 (March 12, 2018) =
|
85 |
* Fix: Schedule Time not able to set! [Read support topic here](https://wordpress.org/support/topic/schedule-time-not-able-to-set/)
|
86 |
|
87 |
= 3.0.3 (February 28, 2018) =
|