Version Description
Download this release
Release Info
Developer | danieliser |
Plugin | Popup Maker – Popup Forms, Optins & More |
Version | 1.4.18 |
Comparing to | |
See all releases |
Code changes from version 1.4.17 to 1.4.18
- includes/class-pum-ajax.php +1 -1
- includes/class-pum-condition-callbacks.php +6 -0
- includes/class-pum.php +1 -1
- popup-maker.php +2 -2
- readme.txt +5 -1
includes/class-pum-ajax.php
CHANGED
@@ -26,7 +26,7 @@ class PUM_Ajax {
|
|
26 |
* Creates and returns a 1x1 tracking gif to the browser.
|
27 |
*/
|
28 |
public static function serve_pixel() {
|
29 |
-
$gif =
|
30 |
header( 'Content-Type: image/gif' );
|
31 |
header( 'Content-Length: ' . strlen( $gif ) );
|
32 |
exit( $gif );
|
26 |
* Creates and returns a 1x1 tracking gif to the browser.
|
27 |
*/
|
28 |
public static function serve_pixel() {
|
29 |
+
$gif = PUM_Ajax::get_file( POPMAKE_DIR . 'assets/images/beacon.gif' );
|
30 |
header( 'Content-Type: image/gif' );
|
31 |
header( 'Content-Length: ' . strlen( $gif ) );
|
32 |
exit( $gif );
|
includes/class-pum-condition-callbacks.php
CHANGED
@@ -25,6 +25,12 @@ class PUM_Condition_Callbacks {
|
|
25 |
$post_type = implode( '_', $target );
|
26 |
|
27 |
switch ( $modifier ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
case 'all':
|
29 |
// Checks for valid post type, if $post_type is page, then include the front page as most users simply expect this.
|
30 |
if ( is_singular( $post_type ) || ( $post_type == 'page' && is_front_page() ) ) {
|
25 |
$post_type = implode( '_', $target );
|
26 |
|
27 |
switch ( $modifier ) {
|
28 |
+
case 'index':
|
29 |
+
if ( is_post_type_archive( $post_type ) ) {
|
30 |
+
return true;
|
31 |
+
}
|
32 |
+
break;
|
33 |
+
|
34 |
case 'all':
|
35 |
// Checks for valid post type, if $post_type is page, then include the front page as most users simply expect this.
|
36 |
if ( is_singular( $post_type ) || ( $post_type == 'page' && is_front_page() ) ) {
|
includes/class-pum.php
CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
7 |
|
8 |
class PUM {
|
9 |
|
10 |
-
const VER = '1.4.
|
11 |
|
12 |
const DB_VER = 6;
|
13 |
|
7 |
|
8 |
class PUM {
|
9 |
|
10 |
+
const VER = '1.4.18';
|
11 |
|
12 |
const DB_VER = 6;
|
13 |
|
popup-maker.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: https://wppopupmaker.com/
|
5 |
* Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
|
6 |
* Author: WP Popup Maker
|
7 |
-
* Version: 1.4.
|
8 |
* Author URI: https://wppopupmaker.com/
|
9 |
* Text Domain: popup-maker
|
10 |
*
|
@@ -144,7 +144,7 @@ if ( ! class_exists( 'Popup_Maker' ) ) :
|
|
144 |
}
|
145 |
|
146 |
if ( ! defined( 'POPMAKE_VERSION' ) ) {
|
147 |
-
define( 'POPMAKE_VERSION', '1.4.
|
148 |
}
|
149 |
|
150 |
if ( ! defined( 'POPMAKE_DB_VERSION' ) ) {
|
4 |
* Plugin URI: https://wppopupmaker.com/
|
5 |
* Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
|
6 |
* Author: WP Popup Maker
|
7 |
+
* Version: 1.4.18
|
8 |
* Author URI: https://wppopupmaker.com/
|
9 |
* Text Domain: popup-maker
|
10 |
*
|
144 |
}
|
145 |
|
146 |
if ( ! defined( 'POPMAKE_VERSION' ) ) {
|
147 |
+
define( 'POPMAKE_VERSION', '1.4.18' );
|
148 |
}
|
149 |
|
150 |
if ( ! defined( 'POPMAKE_DB_VERSION' ) ) {
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Donate link:
|
|
6 |
Tags: responsive popup, promotion, popover, pop-up, pop over, marketing, lightbox, advertising, conversion, modal, popup, popups
|
7 |
Requires at least: 3.6
|
8 |
Tested up to: 4.6
|
9 |
-
Stable tag: 1.4.
|
10 |
License: GNU Version 3 or Any Later Version
|
11 |
|
12 |
Easily create attractive popups. Customize nearly every aspect of your popups, from theme & position, to targeting & cookies.
|
@@ -90,6 +90,10 @@ There are several common causes for this which include:
|
|
90 |
|
91 |
== Changelog ==
|
92 |
|
|
|
|
|
|
|
|
|
93 |
= v1.4.17 - 8/14/2016 =
|
94 |
* Fix: Bug caused by using return value in write context.
|
95 |
|
6 |
Tags: responsive popup, promotion, popover, pop-up, pop over, marketing, lightbox, advertising, conversion, modal, popup, popups
|
7 |
Requires at least: 3.6
|
8 |
Tested up to: 4.6
|
9 |
+
Stable tag: 1.4.18
|
10 |
License: GNU Version 3 or Any Later Version
|
11 |
|
12 |
Easily create attractive popups. Customize nearly every aspect of your popups, from theme & position, to targeting & cookies.
|
90 |
|
91 |
== Changelog ==
|
92 |
|
93 |
+
= v1.4.18 - 8/15/2016 =
|
94 |
+
* Fix: Bug with PHP 5.2 compatibility.
|
95 |
+
* Fix: Added missing post_type index condition callback.
|
96 |
+
|
97 |
= v1.4.17 - 8/14/2016 =
|
98 |
* Fix: Bug caused by using return value in write context.
|
99 |
|