affilinet Performance Ads - Version 1.8.7

Version Description

  • Release Date: July 5, 2017
  • SubId can be modified with the hook 'affilinet_subid_array'
Download this release

Release Info

Developer Affilinet
Plugin Icon 128x128 affilinet Performance Ads
Version 1.8.7
Comparing to
See all releases

Code changes from version 1.8.6 to 1.8.7

Files changed (3) hide show
  1. affilinet.php +1 -1
  2. classes/PerformanceAds.php +9 -1
  3. readme.txt +7 -3
affilinet.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: affilinet Performance Ads
5
  Description: Integrate our data driven and automated performance display plugin into your WordPress platform and serve your users targeted ads in real time.
6
- Version: 1.8.6
7
  Author: affilinet
8
  Author URI: https://www.affili.net/de/publisher/tools/performance-ads
9
  Text Domain: affilinet-performance-module
3
  /*
4
  Plugin Name: affilinet Performance Ads
5
  Description: Integrate our data driven and automated performance display plugin into your WordPress platform and serve your users targeted ads in real time.
6
+ Version: 1.8.7
7
  Author: affilinet
8
  Author URI: https://www.affili.net/de/publisher/tools/performance-ads
9
  Text Domain: affilinet-performance-module
classes/PerformanceAds.php CHANGED
@@ -70,7 +70,15 @@ class Affilinet_PerformanceAds
70
  $clickUrl = Affilinet_Helper::getClickHostnameForPlatform($platformId);
71
  $pluginVersion = Affilinet_Helper::get_plugin_version();
72
  $wpVersion = get_bloginfo('version');
73
- $subId = 'Wordpress'.$wpVersion.'-Plugin'.$pluginVersion;
 
 
 
 
 
 
 
 
74
  $hnb = self::getHnbForPlatform($platformId, $size);
75
 
76
  if ($hnb === false) {
70
  $clickUrl = Affilinet_Helper::getClickHostnameForPlatform($platformId);
71
  $pluginVersion = Affilinet_Helper::get_plugin_version();
72
  $wpVersion = get_bloginfo('version');
73
+
74
+ $subIdArray = apply_filters('affilinet_subid_array', array('Wordpress'.$wpVersion, 'Plugin'.$pluginVersion));
75
+ if (is_array($subIdArray)) {
76
+ $subId = implode('-', $subIdArray);
77
+ } else {
78
+ $subId = 'Wordpress'.$wpVersion.'-Plugin'.$pluginVersion;
79
+ }
80
+
81
+
82
  $hnb = self::getHnbForPlatform($platformId, $size);
83
 
84
  if ($hnb === false) {
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === affilinet Performance Ads ===
2
  Contributors: affilinet, teraone
3
- Tags: affiliate marketing, online marketing, performance marketing, marketing, advertisement, advertising, advertise, affilinet, Affiliate, performance, Display, earn money, monetization, monetize, Monetarisierung, performance, Vermarktung, Banner, Geld verdienen, werbeintegration, Werbung
4
  Requires at least: 3.0.1
5
- Tested up to: 4.7
6
- Stable tag: 1.8.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -80,6 +80,10 @@ It may take up to 90 minutes for ads to show, additionally all publisher account
80
  == Changelog ==
81
 
82
 
 
 
 
 
83
  = 1.8.6 =
84
  * Release Date: March 29, 2017
85
  * Change translation Text Domain
1
  === affilinet Performance Ads ===
2
  Contributors: affilinet, teraone
3
+ Tags: affilinet, affiliate marketing, online marketing, performance marketing, marketing, advertisement, advertising, advertise, Affiliate, performance, Display, earn money, monetization, monetize, Monetarisierung, performance, Vermarktung, Banner, Geld verdienen, werbeintegration, Werbung
4
  Requires at least: 3.0.1
5
+ Tested up to: 4.8
6
+ Stable tag: 1.8.7
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
80
  == Changelog ==
81
 
82
 
83
+ = 1.8.7 =
84
+ * Release Date: July 5, 2017
85
+ * SubId can be modified with the hook 'affilinet_subid_array'
86
+
87
  = 1.8.6 =
88
  * Release Date: March 29, 2017
89
  * Change translation Text Domain