Version Description
- Fix for error when saving settings on multisite installation
Download this release
Release Info
Developer | spacetime |
Plugin | Ad Inserter – WordPress Ads Management with AdSense Header Integration |
Version | 2.2.16 |
Comparing to | |
See all releases |
Code changes from version 2.2.15 to 2.2.16
- ad-inserter.php +4 -5
- constants.php +1 -1
- css/ad-inserter.css +1 -1
- js/ad-inserter.js +1 -1
- readme.txt +7 -1
ad-inserter.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Ad Inserter
|
4 |
-
Version: 2.2.
|
5 |
Description: Ad management plugin with advanced advertising options to automatically insert ad codes on your website
|
6 |
Author: Igor Funa
|
7 |
Author URI: http://igorfuna.com/
|
@@ -12,6 +12,9 @@ Plugin URI: http://adinserter.pro/documentation
|
|
12 |
|
13 |
Change Log
|
14 |
|
|
|
|
|
|
|
15 |
Ad Inserter 2.2.15 - 2018-01-04
|
16 |
- Fix for responsive AMP ads using center alignment
|
17 |
|
@@ -2884,10 +2887,6 @@ function ai_check_multisite_options (&$multisite_options) {
|
|
2884 |
if (!isset ($multisite_options ['MULTISITE_PHP_PROCESSING'])) $multisite_options ['MULTISITE_PHP_PROCESSING'] = DEFAULT_MULTISITE_PHP_PROCESSING;
|
2885 |
if (!isset ($multisite_options ['MULTISITE_EXCEPTIONS'])) $multisite_options ['MULTISITE_EXCEPTIONS'] = DEFAULT_MULTISITE_EXCEPTIONS;
|
2886 |
if (!isset ($multisite_options ['MULTISITE_MAIN_FOR_ALL_BLOGS'])) $multisite_options ['MULTISITE_MAIN_FOR_ALL_BLOGS'] = DEFAULT_MULTISITE_MAIN_FOR_ALL_BLOGS;
|
2887 |
-
|
2888 |
-
$multisite_options ['MULTISITE_GEO_DB'] = get_geo_db (true);
|
2889 |
-
$multisite_options ['MULTISITE_GEO_DB_UPDATES'] = get_geo_db_updates (true);
|
2890 |
-
$multisite_options ['MULTISITE_GEO_DB_LOCATION'] = get_geo_db_location (true, true);
|
2891 |
}
|
2892 |
|
2893 |
function ai_check_plugin_options ($plugin_options = array ()) {
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Ad Inserter
|
4 |
+
Version: 2.2.16
|
5 |
Description: Ad management plugin with advanced advertising options to automatically insert ad codes on your website
|
6 |
Author: Igor Funa
|
7 |
Author URI: http://igorfuna.com/
|
12 |
|
13 |
Change Log
|
14 |
|
15 |
+
Ad Inserter 2.2.16 - 2018-01-04
|
16 |
+
- Fix for error when saving settings on multisite installation
|
17 |
+
|
18 |
Ad Inserter 2.2.15 - 2018-01-04
|
19 |
- Fix for responsive AMP ads using center alignment
|
20 |
|
2887 |
if (!isset ($multisite_options ['MULTISITE_PHP_PROCESSING'])) $multisite_options ['MULTISITE_PHP_PROCESSING'] = DEFAULT_MULTISITE_PHP_PROCESSING;
|
2888 |
if (!isset ($multisite_options ['MULTISITE_EXCEPTIONS'])) $multisite_options ['MULTISITE_EXCEPTIONS'] = DEFAULT_MULTISITE_EXCEPTIONS;
|
2889 |
if (!isset ($multisite_options ['MULTISITE_MAIN_FOR_ALL_BLOGS'])) $multisite_options ['MULTISITE_MAIN_FOR_ALL_BLOGS'] = DEFAULT_MULTISITE_MAIN_FOR_ALL_BLOGS;
|
|
|
|
|
|
|
|
|
2890 |
}
|
2891 |
|
2892 |
function ai_check_plugin_options ($plugin_options = array ()) {
|
constants.php
CHANGED
@@ -23,7 +23,7 @@ if (!defined( 'AD_INSERTER_NAME'))
|
|
23 |
define ('AD_INSERTER_NAME', 'Ad Inserter');
|
24 |
|
25 |
if (!defined( 'AD_INSERTER_VERSION'))
|
26 |
-
define ('AD_INSERTER_VERSION', '2.2.
|
27 |
|
28 |
if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
|
29 |
define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
|
23 |
define ('AD_INSERTER_NAME', 'Ad Inserter');
|
24 |
|
25 |
if (!defined( 'AD_INSERTER_VERSION'))
|
26 |
+
define ('AD_INSERTER_VERSION', '2.2.16');
|
27 |
|
28 |
if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
|
29 |
define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
|
css/ad-inserter.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
#ai-data {
|
2 |
-
font-family: "2.2.
|
3 |
}
|
4 |
|
5 |
#blocked-warning {
|
1 |
#ai-data {
|
2 |
+
font-family: "2.2.16"; /* Used for version number of the file */
|
3 |
}
|
4 |
|
5 |
#blocked-warning {
|
js/ad-inserter.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
var javascript_version = "2.2.
|
2 |
var ignore_key = true;
|
3 |
var start = 1;
|
4 |
var end = 16;
|
1 |
+
var javascript_version = "2.2.16";
|
2 |
var ignore_key = true;
|
3 |
var start = 1;
|
4 |
var end = 16;
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: ads, adsense, ad management, advertising manager, advanced contextual ads,
|
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 4.9
|
8 |
Requires PHP: 5.3
|
9 |
-
Stable tag: 2.2.
|
10 |
License: GPLv3
|
11 |
|
12 |
Insert and manage ads: AdSense, Amazon, banners, ad rotation, sticky ad widgets, shortcodes, AMP, PHP, HTML, CSS, form, tracking, header, footer code
|
@@ -759,6 +759,9 @@ AD CODE RIGHT
|
|
759 |
|
760 |
== Changelog ==
|
761 |
|
|
|
|
|
|
|
762 |
= 2.2.15 =
|
763 |
- Fix for responsive AMP ads using center alignment
|
764 |
|
@@ -939,6 +942,9 @@ AD CODE RIGHT
|
|
939 |
|
940 |
== Upgrade Notice ==
|
941 |
|
|
|
|
|
|
|
942 |
= 2.2.15 =
|
943 |
Fix for responsive AMP ads using center alignment
|
944 |
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 4.9
|
8 |
Requires PHP: 5.3
|
9 |
+
Stable tag: 2.2.15
|
10 |
License: GPLv3
|
11 |
|
12 |
Insert and manage ads: AdSense, Amazon, banners, ad rotation, sticky ad widgets, shortcodes, AMP, PHP, HTML, CSS, form, tracking, header, footer code
|
759 |
|
760 |
== Changelog ==
|
761 |
|
762 |
+
= 2.2.16 =
|
763 |
+
- Fix for error when saving settings on multisite installation
|
764 |
+
|
765 |
= 2.2.15 =
|
766 |
- Fix for responsive AMP ads using center alignment
|
767 |
|
942 |
|
943 |
== Upgrade Notice ==
|
944 |
|
945 |
+
= 2.2.16 =
|
946 |
+
Fix for error when saving settings on multisite installation
|
947 |
+
|
948 |
= 2.2.15 =
|
949 |
Fix for responsive AMP ads using center alignment
|
950 |
|