AdRotate Banner Manager - Version 4.12.1

Version Description

FREE = * [fix] Group IDs not always passed properly

Download this release

Release Info

Developer adegans
Plugin Icon 128x128 AdRotate Banner Manager
Version 4.12.1
Comparing to
See all releases

Code changes from version 4.12 to 4.12.1

adrotate-output.php CHANGED
@@ -67,7 +67,9 @@ function adrotate_group($group_ids, $fallback = 0, $weight = 0, $site = 0) {
67
$output = $group_select = '';
68
if($group_ids) {
69
$now = adrotate_now();
70
- $group_array = (!is_array($group_ids)) ? explode(",", $group_ids) : $group_ids;
71
72
foreach($group_array as $key => $value) {
73
$group_select .= " `{$wpdb->prefix}adrotate_linkmeta`.`group` = {$value} OR";
@@ -821,7 +823,7 @@ function adrotate_help_info() {
821
'id' => 'adrotate_thanks',
822
'title' => 'Thank You',
823
'content' => '<h4>Thank you for using AdRotate</h4><p>AdRotate is growing to be one of the most popular WordPress plugins for Advertising and is a household name for many companies around the world. AdRotate wouldn\'t be possible without your support and my life wouldn\'t be what it is today without your help.</p><p><em>- Arnan</em></p>'.
824
- '<p><strong>Telegram:</strong> <a href="https://t.me/arnanme" target="_blank">Channel</a>, <a href="https://t.me/arnandegans" target="_blank">Messages</a>. <strong>Facebook:</strong> <a href="https://www.facebook.com/adegans/" target="_blank">Facebook</a>. <strong>Business:</strong> <a href="https://ajdg.solutions/" target="_blank">ajdg.solutions</a>. <strong>Personal:</strong> <a href="http://www.arnan.me" target="_blank">arnan.me</a>.</p>'
825
)
826
);
827
}
@@ -836,7 +838,7 @@ function adrotate_action_links($links) {
836
$custom_actions['adrotate-pro'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/cart/?add-to-cart=1124&utm_campaign=adrotate&utm_medium=action_links&utm_source=adrotate', 'Get Pro');
837
$custom_actions['adrotate-help'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/forums/?utm_campaign=adrotate&utm_medium=action_links&utm_source=adrotate', 'Support');
838
$custom_actions['adrotate-arnan'] = sprintf('<a href="%s" target="_blank">%s</a>', 'http://www.arnan.me/?utm_campaign=adrotate&utm_medium=action_links&utm_source=adrotate', 'arnan.me');
839
- $custom_actions['adrotate-telegram'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://t.me/arnanme', 'Telegram');
840
841
return array_merge($custom_actions, $links);
842
}
67
$output = $group_select = '';
68
if($group_ids) {
69
$now = adrotate_now();
70
+
71
+ $group_array = (preg_match('/,/is', $group_ids)) ? explode(",", $group_ids) : array($group_ids);
72
+ $group_array = array_filter($group_array);
73
74
foreach($group_array as $key => $value) {
75
$group_select .= " `{$wpdb->prefix}adrotate_linkmeta`.`group` = {$value} OR";
823
'id' => 'adrotate_thanks',
824
'title' => 'Thank You',
825
'content' => '<h4>Thank you for using AdRotate</h4><p>AdRotate is growing to be one of the most popular WordPress plugins for Advertising and is a household name for many companies around the world. AdRotate wouldn\'t be possible without your support and my life wouldn\'t be what it is today without your help.</p><p><em>- Arnan</em></p>'.
826
+ '<p><strong>Telegram:</strong> <a href="https://t.me/arnandegans" target="_blank">Channel</a>, <a href="https://t.me/arnandegans" target="_blank">Messages</a>. <strong>Facebook:</strong> <a href="https://www.facebook.com/adegans/" target="_blank">Facebook</a>. <strong>Business:</strong> <a href="https://ajdg.solutions/" target="_blank">ajdg.solutions</a>. <strong>Personal:</strong> <a href="http://www.arnan.me" target="_blank">arnan.me</a>.</p>'
827
)
828
);
829
}
838
$custom_actions['adrotate-pro'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/cart/?add-to-cart=1124&utm_campaign=adrotate&utm_medium=action_links&utm_source=adrotate', 'Get Pro');
839
$custom_actions['adrotate-help'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/forums/?utm_campaign=adrotate&utm_medium=action_links&utm_source=adrotate', 'Support');
840
$custom_actions['adrotate-arnan'] = sprintf('<a href="%s" target="_blank">%s</a>', 'http://www.arnan.me/?utm_campaign=adrotate&utm_medium=action_links&utm_source=adrotate', 'arnan.me');
841
+ $custom_actions['adrotate-telegram'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://t.me/arnandegans', 'Telegram');
842
843
return array_merge($custom_actions, $links);
844
}
adrotate.php CHANGED
@@ -7,7 +7,7 @@ Author URI: https://www.arnan.me/
7
Description: Monetise your website with adverts while keeping things simple. Start making money today!
8
Text Domain: adrotate
9
Domain Path: /languages/
10
- Version: 4.12
11
License: GPLv3
12
*/
13
@@ -22,7 +22,7 @@ License: GPLv3
22
------------------------------------------------------------------------------------ */
23
24
/*--- AdRotate values ---------------------------------------*/
25
- define("ADROTATE_DISPLAY", '4.12');
26
define("ADROTATE_VERSION", 391);
27
define("ADROTATE_DB_VERSION", 64);
28
$plugin_folder = plugin_dir_path(__FILE__);
7
Description: Monetise your website with adverts while keeping things simple. Start making money today!
8
Text Domain: adrotate
9
Domain Path: /languages/
10
+ Version: 4.12.1
11
License: GPLv3
12
*/
13
22
------------------------------------------------------------------------------------ */
23
24
/*--- AdRotate values ---------------------------------------*/
25
+ define("ADROTATE_DISPLAY", '4.12.1');
26
define("ADROTATE_VERSION", 391);
27
define("ADROTATE_DB_VERSION", 64);
28
$plugin_folder = plugin_dir_path(__FILE__);
dashboard/adrotatepro.php CHANGED
@@ -48,7 +48,7 @@
48
<h3><?php _e('AdRotate is brought to you by', 'adrotate'); ?></h3>
49
<div class="postbox-ajdg">
50
<div class="inside">
51
- <p><center><a href="https://www.arnan.me" title="Visit Arnan's website" target="_blank"><img src="<?php echo plugins_url("/images/social/arnanme.png", dirname(__FILE__)); ?>" alt="Arnan de Gans website" /></a><a href="https://ajdg.solutions" title="Visit the AdRotate website" target="_blank"><img src="<?php echo plugins_url("/images/social/ajdg.png", dirname(__FILE__)); ?>" alt="AJdG Solutions website" /></a><a href="https://t.me/arnanme" title="Arnan de Gans Telegram channel" target="_blank"><img src="<?php echo plugins_url("/images/social/telegram.png", dirname(__FILE__)); ?>" alt="Telegram channel" /></a><a href="https://fb.me/adegans" title="Arnan de Gans on Facebook" target="_blank"><img src="<?php echo plugins_url("/images/social/facebook.png", dirname(__FILE__)); ?>" alt="Arnan de Gans on Facebook" /></a></center></p>
52
</div>
53
</div>
54
48
<h3><?php _e('AdRotate is brought to you by', 'adrotate'); ?></h3>
49
<div class="postbox-ajdg">
50
<div class="inside">
51
+ <p><center><a href="https://www.arnan.me" title="Visit Arnan's website" target="_blank"><img src="<?php echo plugins_url("/images/social/arnanme.png", dirname(__FILE__)); ?>" alt="Arnan de Gans website" /></a><a href="https://ajdg.solutions" title="Visit the AdRotate website" target="_blank"><img src="<?php echo plugins_url("/images/social/ajdg.png", dirname(__FILE__)); ?>" alt="AJdG Solutions website" /></a><a href="https://t.me/arnandegans" title="Arnan de Gans Telegram channel" target="_blank"><img src="<?php echo plugins_url("/images/social/telegram.png", dirname(__FILE__)); ?>" alt="Telegram channel" /></a><a href="https://fb.me/adegans" title="Arnan de Gans on Facebook" target="_blank"><img src="<?php echo plugins_url("/images/social/facebook.png", dirname(__FILE__)); ?>" alt="Arnan de Gans on Facebook" /></a></center></p>
52
</div>
53
</div>
54
dashboard/info.php CHANGED
@@ -59,7 +59,7 @@ $partner = mt_rand(1,3);
59
<h3><?php _e('Arnan de Gans News & Updates', 'adrotate'); ?></h3>
60
<div class="postbox-ajdg">
61
<div class="inside">
62
- <p><center><a href="https://www.arnan.me" title="Visit Arnan's website" target="_blank"><img src="<?php echo plugins_url("/images/social/arnanme.png", dirname(__FILE__)); ?>" alt="Arnan de Gans website" /></a><a href="https://ajdg.solutions" title="Visit the AdRotate website" target="_blank"><img src="<?php echo plugins_url("/images/social/ajdg.png", dirname(__FILE__)); ?>" alt="AJdG Solutions website" /></a><a href="https://t.me/arnanme" title="Arnan de Gans Telegram channel" target="_blank"><img src="<?php echo plugins_url("/images/social/telegram.png", dirname(__FILE__)); ?>" alt="Telegram channel" /></a><a href="https://fb.me/adegans" title="Arnan de Gans on Facebook" target="_blank"><img src="<?php echo plugins_url("/images/social/facebook.png", dirname(__FILE__)); ?>" alt="Arnan de Gans on Facebook" /></a></center></p>
63
<?php wp_widget_rss_output(array(
64
'url' => 'http://ajdg.solutions/feed/',
65
'items' => 3,
59
<h3><?php _e('Arnan de Gans News & Updates', 'adrotate'); ?></h3>
60
<div class="postbox-ajdg">
61
<div class="inside">
62
+ <p><center><a href="https://www.arnan.me" title="Visit Arnan's website" target="_blank"><img src="<?php echo plugins_url("/images/social/arnanme.png", dirname(__FILE__)); ?>" alt="Arnan de Gans website" /></a><a href="https://ajdg.solutions" title="Visit the AdRotate website" target="_blank"><img src="<?php echo plugins_url("/images/social/ajdg.png", dirname(__FILE__)); ?>" alt="AJdG Solutions website" /></a><a href="https://t.me/arnandegans" title="Arnan de Gans Telegram channel" target="_blank"><img src="<?php echo plugins_url("/images/social/telegram.png", dirname(__FILE__)); ?>" alt="Telegram channel" /></a><a href="https://fb.me/adegans" title="Arnan de Gans on Facebook" target="_blank"><img src="<?php echo plugins_url("/images/social/facebook.png", dirname(__FILE__)); ?>" alt="Arnan de Gans on Facebook" /></a></center></p>
63
<?php wp_widget_rss_output(array(
64
'url' => 'http://ajdg.solutions/feed/',
65
'items' => 3,
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.arnan.me/donate.html
4
Tags: ad, advert, adsense, advertising, doubleclick, responsive, ad rotator, ad manager, banner manager, advert manager, analytics, advertisement,
5
Requires at least: 3.8
6
Tested up to: 4.9
7
- Stable tag: 4.12
8
License: GPLv3
9
10
Monetise your website with adverts while keeping things simple. Start making money today!
@@ -98,10 +98,8 @@ You can also post your questions on the [forum](https://ajdg.solutions/forums/?u
98
99
Be a Professional and go Pro. With [AdRotate Professional](https://ajdg.solutions/plugins/adrotate-for-wordpress/?utm_campaign=adrotate-page&utm_medium=readme&utm_source=adrotate)!
100
101
-
102
- = 4.12 FREE =
103
- * [fix] Post Injection showing adverts in the wrong categories
104
- * [change] Moved tracker for dynamic groups into Session Storage
105
106
= 4.14 PRO =
107
* [fix] Advertisers having control over their own permissions
@@ -114,8 +112,7 @@ All recent changes are available on the [AdRotate website](https://ajdg.solution
114
115
== Upgrade Notice ==
116
117
- * [fix] Post Injection showing adverts in the wrong categories
118
- * [change] Moved tracker for dynamic groups into Session Storage
119
120
== Screenshots ==
121
4
Tags: ad, advert, adsense, advertising, doubleclick, responsive, ad rotator, ad manager, banner manager, advert manager, analytics, advertisement,
5
Requires at least: 3.8
6
Tested up to: 4.9
7
+ Stable tag: 4.12.1
8
License: GPLv3
9
10
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/?utm_campaign=adrotate-page&utm_medium=readme&utm_source=adrotate)!
100
101
+ = 4.12.1 FREE =
102
+ * [fix] Group IDs not always passed properly
103
104
= 4.14 PRO =
105
* [fix] Advertisers having control over their own permissions
112
113
== Upgrade Notice ==
114
115
+ * [fix] Group IDs not always passed properly
116
117
== Screenshots ==
118