Version Description
- Removed: readme.txt tags
- Fix: Content not outputting when no Post Adverts defined
Download this release
Release Info
Developer | n7studios |
Plugin | Insert Post Ads |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- insert-post-ads.php +2 -2
- readme.txt +5 -1
insert-post-ads.php
CHANGED
@@ -247,10 +247,10 @@ class InsertPostAds {
|
|
247 |
// Settings
|
248 |
$this->settings = get_option($this->plugin->name);
|
249 |
if (!is_array($this->settings)) {
|
250 |
-
return;
|
251 |
}
|
252 |
if (count($this->settings) == 0) {
|
253 |
-
return;
|
254 |
}
|
255 |
|
256 |
// Check if we are on a singular post type that's enabled
|
247 |
// Settings
|
248 |
$this->settings = get_option($this->plugin->name);
|
249 |
if (!is_array($this->settings)) {
|
250 |
+
return $content;
|
251 |
}
|
252 |
if (count($this->settings) == 0) {
|
253 |
+
return $content;
|
254 |
}
|
255 |
|
256 |
// Check if we are on a singular post type that's enabled
|
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== Insert Post Ads ===
|
2 |
Contributors: WPbeginner, smub, iamdpegg, n7studios
|
3 |
Donate link:http://www.wpbeginner.com/wpbeginner-needs-your-help/
|
4 |
-
Tags: ads, adsense, google adsense, insert ads in post, wordpress ads plugin,
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 3.9.1
|
7 |
Stable tag: trunk
|
@@ -46,6 +46,10 @@ Lastly, if you like this plugin then follow WPBeginner on <a href="http://twitte
|
|
46 |
|
47 |
== Changelog ==
|
48 |
|
|
|
|
|
|
|
|
|
49 |
= 1.0.1 =
|
50 |
* Added Simplified Chinese language translations (props: Changmeng Hu)
|
51 |
|
1 |
=== Insert Post Ads ===
|
2 |
Contributors: WPbeginner, smub, iamdpegg, n7studios
|
3 |
Donate link:http://www.wpbeginner.com/wpbeginner-needs-your-help/
|
4 |
+
Tags: ads, adsense, google adsense, insert ads in post, wordpress ads plugin, advertising plugin, banners plugin, post ads, insert post ads
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 3.9.1
|
7 |
Stable tag: trunk
|
46 |
|
47 |
== Changelog ==
|
48 |
|
49 |
+
= 1.0.2 =
|
50 |
+
* Removed: readme.txt tags
|
51 |
+
* Fix: Content not outputting when no Post Adverts defined
|
52 |
+
|
53 |
= 1.0.1 =
|
54 |
* Added Simplified Chinese language translations (props: Changmeng Hu)
|
55 |
|