Version Description
- Bug fix for settings page not loading
Download this release
Release Info
Developer | spacetime |
Plugin | Ad Inserter – WordPress Ads Management with AdSense Header Integration |
Version | 2.0.11 |
Comparing to | |
See all releases |
Code changes from version 2.0.10 to 2.0.11
- ad-inserter.php +4 -1
- constants.php +1 -1
- css/ad-inserter.css +1 -1
- js/ad-inserter.js +1 -1
- readme.txt +7 -1
- settings.php +2 -2
ad-inserter.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Ad Inserter
|
4 |
-
Version: 2.0.
|
5 |
Description: Insert any ad or code into Wordpress. Perfect for all kinds of ads. Simply enter any ad or HTML/Javascript/PHP code and select where and how you want to display it.
|
6 |
Author: Igor Funa
|
7 |
Author URI: http://igorfuna.com/
|
@@ -11,6 +11,9 @@ Plugin URI: http://adinserter.pro/documentation
|
|
11 |
/*
|
12 |
Change Log
|
13 |
|
|
|
|
|
|
|
14 |
Ad Inserter 2.0.10 - 26 January 2017
|
15 |
- Added option to insert ads between posts on blog pages
|
16 |
- Added option to check and manage post/page exceptions for each block
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Ad Inserter
|
4 |
+
Version: 2.0.11
|
5 |
Description: Insert any ad or code into Wordpress. Perfect for all kinds of ads. Simply enter any ad or HTML/Javascript/PHP code and select where and how you want to display it.
|
6 |
Author: Igor Funa
|
7 |
Author URI: http://igorfuna.com/
|
11 |
/*
|
12 |
Change Log
|
13 |
|
14 |
+
Ad Inserter 2.0.11 - 29 January 2017
|
15 |
+
- Bug fix for settings page not loading
|
16 |
+
|
17 |
Ad Inserter 2.0.10 - 26 January 2017
|
18 |
- Added option to insert ads between posts on blog pages
|
19 |
- Added option to check and manage post/page exceptions for each block
|
constants.php
CHANGED
@@ -11,7 +11,7 @@ if (!defined( 'AD_INSERTER_NAME'))
|
|
11 |
define ('AD_INSERTER_NAME', 'Ad Inserter');
|
12 |
|
13 |
if (!defined( 'AD_INSERTER_VERSION'))
|
14 |
-
define ('AD_INSERTER_VERSION', '2.0.
|
15 |
|
16 |
if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
|
17 |
define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
|
11 |
define ('AD_INSERTER_NAME', 'Ad Inserter');
|
12 |
|
13 |
if (!defined( 'AD_INSERTER_VERSION'))
|
14 |
+
define ('AD_INSERTER_VERSION', '2.0.11');
|
15 |
|
16 |
if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
|
17 |
define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
|
css/ad-inserter.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
#data {
|
2 |
-
font-family: "2.0.
|
3 |
}
|
4 |
|
5 |
#blocked-warning {
|
1 |
#data {
|
2 |
+
font-family: "2.0.11"; /* 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.0.
|
2 |
var ignore_key = true;
|
3 |
var start = 1;
|
4 |
var end = 16;
|
1 |
+
var javascript_version = "2.0.11";
|
2 |
var ignore_key = true;
|
3 |
var start = 1;
|
4 |
var end = 16;
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: adsense, amazon, advertising, ad, advert, html, javascript, php, code, widget, sidebar, responsive, viewport, rotating, banner, ad rotation, geo targeting, multisite, contextual, shortcodes, widgets, header, footer, mobile, desktop, phone, tablet, custom css, category, tag, filter, url, caching support
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.7.2
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv3
|
9 |
|
10 |
Insert any advert or code into Wordpress. Perfect for all kinds of banners and ads including AdSense and Amazon. Powerful features, simple use.
|
@@ -655,6 +655,9 @@ AD CODE RIGHT
|
|
655 |
|
656 |
== Changelog ==
|
657 |
|
|
|
|
|
|
|
658 |
= 2.0.10 =
|
659 |
- Added option to insert ads between posts on blog pages
|
660 |
- Added option to check and manage post/page exceptions for each block
|
@@ -951,6 +954,9 @@ AD CODE RIGHT
|
|
951 |
|
952 |
== Upgrade Notice ==
|
953 |
|
|
|
|
|
|
|
954 |
= 2.0.10 =
|
955 |
Option to insert ads between posts on blog pages;
|
956 |
Option to check and manage post/page exceptions for each block;
|
4 |
Tags: adsense, amazon, advertising, ad, advert, html, javascript, php, code, widget, sidebar, responsive, viewport, rotating, banner, ad rotation, geo targeting, multisite, contextual, shortcodes, widgets, header, footer, mobile, desktop, phone, tablet, custom css, category, tag, filter, url, caching support
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.7.2
|
7 |
+
Stable tag: 2.0.10
|
8 |
License: GPLv3
|
9 |
|
10 |
Insert any advert or code into Wordpress. Perfect for all kinds of banners and ads including AdSense and Amazon. Powerful features, simple use.
|
655 |
|
656 |
== Changelog ==
|
657 |
|
658 |
+
= 2.0.11 =
|
659 |
+
- Bug fix for settings page not loading
|
660 |
+
|
661 |
= 2.0.10 =
|
662 |
- Added option to insert ads between posts on blog pages
|
663 |
- Added option to check and manage post/page exceptions for each block
|
954 |
|
955 |
== Upgrade Notice ==
|
956 |
|
957 |
+
= 2.0.11 =
|
958 |
+
Bug fix for settings page not loading
|
959 |
+
|
960 |
= 2.0.10 =
|
961 |
Option to insert ads between posts on blog pages;
|
962 |
Option to check and manage post/page exceptions for each block;
|
settings.php
CHANGED
@@ -37,8 +37,8 @@ function generate_settings_form (){
|
|
37 |
$pages = get_pages ();
|
38 |
$posts_pages = array ('pages' => $pages);
|
39 |
|
40 |
-
$args = array( 'posts_per_page' => -1);
|
41 |
-
$posts_pages ['posts'] = get_posts ($args);
|
42 |
|
43 |
$exceptions = array ();
|
44 |
foreach ($posts_pages as $type => $post_page) {
|
37 |
$pages = get_pages ();
|
38 |
$posts_pages = array ('pages' => $pages);
|
39 |
|
40 |
+
// $args = array( 'posts_per_page' => -1);
|
41 |
+
// $posts_pages ['posts'] = get_posts ($args);
|
42 |
|
43 |
$exceptions = array ();
|
44 |
foreach ($posts_pages as $type => $post_page) {
|