Version Description
FREE = * [fix] Blinking adverts in Dynamic Groups
Download this release
Release Info
Developer | adegans |
Plugin | AdRotate Banner Manager |
Version | 5.1.1 |
Comparing to | |
See all releases |
Code changes from version 5.1 to 5.1.1
- adrotate-setup.php +1 -1
- adrotate.php +2 -2
- dashboard/info.php +1 -1
- library/jquery.adrotate.dyngroup.js +4 -4
- readme.txt +7 -1
adrotate-setup.php
CHANGED
@@ -268,7 +268,7 @@ function adrotate_check_config() {
|
|
268 |
if(!isset($config['w3caching']) OR ($config['w3caching'] != 'Y' AND $config['w3caching'] != 'N')) $config['w3caching'] = 'N';
|
269 |
if(!isset($config['borlabscache']) OR ($config['borlabscache'] != 'Y' AND $config['borlabscache'] != 'N')) $config['borlabscache'] = 'N';
|
270 |
if(!isset($config['textwidget_shortcodes']) OR ($config['textwidget_shortcodes'] != 'Y' AND $config['textwidget_shortcodes'] != 'N')) $config['textwidget_shortcodes'] = 'N';
|
271 |
-
if(!isset($config['mobile_dynamic_mode']) OR ($config['mobile_dynamic_mode'] != 'Y' AND $config['mobile_dynamic_mode'] != 'N')) $config['mobile_dynamic_mode'] = '
|
272 |
if(!isset($config['jquery']) OR ($config['jquery'] != 'Y' AND $config['jquery'] != 'N')) $config['jquery'] = 'N';
|
273 |
if(!isset($config['jsfooter']) OR ($config['jsfooter'] != 'Y' AND $config['jsfooter'] != 'N')) $config['jsfooter'] = 'Y';
|
274 |
update_option('adrotate_config', $config);
|
268 |
if(!isset($config['w3caching']) OR ($config['w3caching'] != 'Y' AND $config['w3caching'] != 'N')) $config['w3caching'] = 'N';
|
269 |
if(!isset($config['borlabscache']) OR ($config['borlabscache'] != 'Y' AND $config['borlabscache'] != 'N')) $config['borlabscache'] = 'N';
|
270 |
if(!isset($config['textwidget_shortcodes']) OR ($config['textwidget_shortcodes'] != 'Y' AND $config['textwidget_shortcodes'] != 'N')) $config['textwidget_shortcodes'] = 'N';
|
271 |
+
if(!isset($config['mobile_dynamic_mode']) OR ($config['mobile_dynamic_mode'] != 'Y' AND $config['mobile_dynamic_mode'] != 'N')) $config['mobile_dynamic_mode'] = 'Y';
|
272 |
if(!isset($config['jquery']) OR ($config['jquery'] != 'Y' AND $config['jquery'] != 'N')) $config['jquery'] = 'N';
|
273 |
if(!isset($config['jsfooter']) OR ($config['jsfooter'] != 'Y' AND $config['jsfooter'] != 'N')) $config['jsfooter'] = 'Y';
|
274 |
update_option('adrotate_config', $config);
|
adrotate.php
CHANGED
@@ -7,7 +7,7 @@ Author URI: https://www.arnan.me/
|
|
7 |
Description: AdRotate Banner Manager - Monetise your website with adverts while keeping things simple. Start making money today!
|
8 |
Text Domain: adrotate
|
9 |
Domain Path: /languages/
|
10 |
-
Version: 5.1
|
11 |
License: GPLv3
|
12 |
*/
|
13 |
|
@@ -22,7 +22,7 @@ License: GPLv3
|
|
22 |
------------------------------------------------------------------------------------ */
|
23 |
|
24 |
/*--- AdRotate values ---------------------------------------*/
|
25 |
-
define("ADROTATE_DISPLAY", '5.1');
|
26 |
define("ADROTATE_VERSION", 393);
|
27 |
define("ADROTATE_DB_VERSION", 64);
|
28 |
$plugin_folder = plugin_dir_path(__FILE__);
|
7 |
Description: AdRotate Banner Manager - Monetise your website with adverts while keeping things simple. Start making money today!
|
8 |
Text Domain: adrotate
|
9 |
Domain Path: /languages/
|
10 |
+
Version: 5.1.1
|
11 |
License: GPLv3
|
12 |
*/
|
13 |
|
22 |
------------------------------------------------------------------------------------ */
|
23 |
|
24 |
/*--- AdRotate values ---------------------------------------*/
|
25 |
+
define("ADROTATE_DISPLAY", '5.1.1');
|
26 |
define("ADROTATE_VERSION", 393);
|
27 |
define("ADROTATE_DB_VERSION", 64);
|
28 |
$plugin_folder = plugin_dir_path(__FILE__);
|
dashboard/info.php
CHANGED
@@ -45,7 +45,7 @@ $partner = mt_rand(1,3);
|
|
45 |
<td colspan="2">
|
46 |
<p><strong><?php _e('Support AdRotate', 'adrotate'); ?></strong></p>
|
47 |
<p><?php _e('Consider writing a review if you like AdRotate. Also follow my Facebook page for updates about me and my plugins. Thank you!', 'adrotate'); ?><br />
|
48 |
-
<center><a class="button-primary" href="https://paypal.me/arnandegans/10eur" target="_blank">Donate €10 via Paypal</a> <a class="button" target="_blank" href="https://wordpress.org/support/plugin/adrotate/reviews/?rate=5#new-post">Write review on WordPress.org</a></center></p>
|
49 |
</td>
|
50 |
</tr>
|
51 |
<tr>
|
45 |
<td colspan="2">
|
46 |
<p><strong><?php _e('Support AdRotate', 'adrotate'); ?></strong></p>
|
47 |
<p><?php _e('Consider writing a review if you like AdRotate. Also follow my Facebook page for updates about me and my plugins. Thank you!', 'adrotate'); ?><br />
|
48 |
+
<center><a class="button-primary" href="https://www.paypal.me/arnandegans/10eur" target="_blank">Donate €10 via Paypal</a> <a class="button" target="_blank" href="https://wordpress.org/support/plugin/adrotate/reviews/?rate=5#new-post">Write review on WordPress.org</a></center></p>
|
49 |
</td>
|
50 |
</tr>
|
51 |
<tr>
|
library/jquery.adrotate.dyngroup.js
CHANGED
@@ -42,9 +42,9 @@ speed : Time each slide is shown [integer: milliseconds, defaults to 3000]
|
|
42 |
}
|
43 |
|
44 |
if(length > 1) {
|
45 |
-
$cont.find(".c-1").
|
46 |
for(n = 2; n <= length; n++) {
|
47 |
-
$cont.find(".c-" + n).
|
48 |
}
|
49 |
|
50 |
timer = setInterval(function(){ play(); }, config.speed);
|
@@ -56,14 +56,14 @@ speed : Time each slide is shown [integer: milliseconds, defaults to 3000]
|
|
56 |
} else {
|
57 |
counter++;
|
58 |
}
|
59 |
-
$cont.find(".c-" + counter).
|
60 |
|
61 |
// Impression tracker (Multiple ads)
|
62 |
var tracker = $cont.find(".c-" + counter + ' a').attr("data-track");
|
63 |
if(typeof tracker !== 'undefined') {
|
64 |
impressiontracker(tracker);
|
65 |
}
|
66 |
-
$cont.find(".c-" + index).
|
67 |
}
|
68 |
|
69 |
function play() {
|
42 |
}
|
43 |
|
44 |
if(length > 1) {
|
45 |
+
$cont.find(".c-1").show();
|
46 |
for(n = 2; n <= length; n++) {
|
47 |
+
$cont.find(".c-" + n).hide();
|
48 |
}
|
49 |
|
50 |
timer = setInterval(function(){ play(); }, config.speed);
|
56 |
} else {
|
57 |
counter++;
|
58 |
}
|
59 |
+
$cont.find(".c-" + counter).show();
|
60 |
|
61 |
// Impression tracker (Multiple ads)
|
62 |
var tracker = $cont.find(".c-" + counter + ' a').attr("data-track");
|
63 |
if(typeof tracker !== 'undefined') {
|
64 |
impressiontracker(tracker);
|
65 |
}
|
66 |
+
$cont.find(".c-" + index).hide();
|
67 |
}
|
68 |
|
69 |
function play() {
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: ads, advert, banner, advertising, doubleclick, responsive adverts, ad mana
|
|
5 |
Requires at least: 3.8
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.2
|
8 |
-
Stable tag: 5.1
|
9 |
License: GPLv3
|
10 |
|
11 |
Monetise your website with adverts while keeping things simple. Start making money today!
|
@@ -98,6 +98,9 @@ You can also post your questions on the [forum](https://ajdg.solutions/forums/)!
|
|
98 |
|
99 |
Be a Professional and go Pro. With [AdRotate Professional](https://ajdg.solutions/plugins/adrotate-for-wordpress/)!
|
100 |
|
|
|
|
|
|
|
101 |
= 5.1 FREE =
|
102 |
* [new] Support Dashboard
|
103 |
* [new] Facebook Support Group widget
|
@@ -107,6 +110,9 @@ Be a Professional and go Pro. With [AdRotate Professional](https://ajdg.solution
|
|
107 |
* [fix] Graphs showing wrong date ranges for some users
|
108 |
* [i18n] Updated all translation files
|
109 |
|
|
|
|
|
|
|
110 |
= 5.1 PRO =
|
111 |
* [new] Premium Support Dashboard
|
112 |
* [new] Facebook Support Group widget
|
5 |
Requires at least: 3.8
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.2
|
8 |
+
Stable tag: 5.1.1
|
9 |
License: GPLv3
|
10 |
|
11 |
Monetise your website with adverts while keeping things simple. Start making money today!
|
98 |
|
99 |
Be a Professional and go Pro. With [AdRotate Professional](https://ajdg.solutions/plugins/adrotate-for-wordpress/)!
|
100 |
|
101 |
+
= 5.1.1 FREE =
|
102 |
+
* [fix] Blinking adverts in Dynamic Groups
|
103 |
+
|
104 |
= 5.1 FREE =
|
105 |
* [new] Support Dashboard
|
106 |
* [new] Facebook Support Group widget
|
110 |
* [fix] Graphs showing wrong date ranges for some users
|
111 |
* [i18n] Updated all translation files
|
112 |
|
113 |
+
= 5.1.1 PRO =
|
114 |
+
* [fix] Blinking adverts in Dynamic Groups
|
115 |
+
|
116 |
= 5.1 PRO =
|
117 |
* [new] Premium Support Dashboard
|
118 |
* [new] Facebook Support Group widget
|