Popup Maker – Popup Forms, Optins & More - Version 1.4.17

Version Description

Download this release

Release Info

Developer danieliser
Plugin Icon 128x128 Popup Maker – Popup Forms, Optins & More
Version 1.4.17
Comparing to
See all releases

Code changes from version 1.4.16 to 1.4.17

includes/class-pum.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
7
 
8
  class PUM {
9
 
10
- const VER = '1.4.16';
11
 
12
  const DB_VER = 6;
13
 
7
 
8
  class PUM {
9
 
10
+ const VER = '1.4.17';
11
 
12
  const DB_VER = 6;
13
 
includes/pum-condition-functions.php CHANGED
@@ -71,7 +71,9 @@ function pum_generate_post_type_conditions() {
71
  'callback' => array( 'PUM_Condition_Callbacks', 'post_type' ),
72
  );
73
 
74
- if ( $name == 'page' && ! empty( wp_get_theme()->get_page_templates() ) ) {
 
 
75
  $conditions[ $name . '_template' ] = array(
76
  'group' => $post_type->labels->name,
77
  'name' => sprintf( _x( '%s: With Template', 'condition: post type plural label ie. Pages: With Template', 'popup-maker' ), $post_type->labels->name ),
@@ -84,7 +86,7 @@ function pum_generate_post_type_conditions() {
84
  'options' => array_flip(
85
  array_merge(
86
  array( 'default' => __( 'Default', 'popup-maker' ) ),
87
- wp_get_theme()->get_page_templates()
88
  )
89
  ),
90
  ),
71
  'callback' => array( 'PUM_Condition_Callbacks', 'post_type' ),
72
  );
73
 
74
+ $templates = wp_get_theme()->get_page_templates();
75
+
76
+ if ( $name == 'page' && ! empty( $templates ) ) {
77
  $conditions[ $name . '_template' ] = array(
78
  'group' => $post_type->labels->name,
79
  'name' => sprintf( _x( '%s: With Template', 'condition: post type plural label ie. Pages: With Template', 'popup-maker' ), $post_type->labels->name ),
86
  'options' => array_flip(
87
  array_merge(
88
  array( 'default' => __( 'Default', 'popup-maker' ) ),
89
+ $templates
90
  )
91
  ),
92
  ),
languages/popup-maker.pot CHANGED
@@ -1555,63 +1555,63 @@ msgctxt "condition: post type singular label ie. Posts IDs"
1555
  msgid "%s IDs: 128, 129"
1556
  msgstr ""
1557
 
1558
- #: includes/pum-condition-functions.php:77
1559
  msgctxt "condition: post type plural label ie. Pages: With Template"
1560
  msgid "%s: With Template"
1561
  msgstr ""
1562
 
1563
- #: includes/pum-condition-functions.php:86
1564
  msgid "Default"
1565
  msgstr ""
1566
 
1567
- #: includes/pum-condition-functions.php:116
1568
  msgctxt "condition: post type plural and taxonomy singular label ie. Posts: With Category"
1569
  msgid "%1$s: With %2$s"
1570
  msgstr ""
1571
 
1572
- #: includes/pum-condition-functions.php:119
1573
  msgctxt "condition: post type plural label ie. Select categories"
1574
  msgid "Select %s."
1575
  msgstr ""
1576
 
1577
- #: includes/pum-condition-functions.php:148
1578
  msgctxt "condition: taxonomy plural label ie. Categories: All"
1579
  msgid "%s: All"
1580
  msgstr ""
1581
 
1582
- #: includes/pum-condition-functions.php:154
1583
  msgctxt "condition: taxonomy plural label ie. Categories: Selected"
1584
  msgid "%s: Selected"
1585
  msgstr ""
1586
 
1587
- #: includes/pum-condition-functions.php:157
1588
  msgctxt "condition: taxonomy plural label ie. Select Categories"
1589
  msgid "Select %s."
1590
  msgstr ""
1591
 
1592
- #: includes/pum-condition-functions.php:170
1593
  msgctxt "condition: taxonomy plural label ie. Categories: Selected"
1594
  msgid "%s: IDs"
1595
  msgstr ""
1596
 
1597
- #: includes/pum-condition-functions.php:173
1598
  msgctxt "condition: taxonomy plural label ie. Category IDs"
1599
  msgid "%s IDs: 128, 129"
1600
  msgstr ""
1601
 
1602
- #: includes/pum-condition-functions.php:197
1603
  msgid "Home Page"
1604
  msgstr ""
1605
 
1606
- #: includes/pum-condition-functions.php:204
1607
  msgid "Blog Index"
1608
  msgstr ""
1609
 
1610
- #: includes/pum-condition-functions.php:211
1611
  msgid "Search Pages"
1612
  msgstr ""
1613
 
1614
- #: includes/pum-condition-functions.php:217
1615
  msgid "404 Pages"
1616
  msgstr ""
1617
 
1555
  msgid "%s IDs: 128, 129"
1556
  msgstr ""
1557
 
1558
+ #: includes/pum-condition-functions.php:79
1559
  msgctxt "condition: post type plural label ie. Pages: With Template"
1560
  msgid "%s: With Template"
1561
  msgstr ""
1562
 
1563
+ #: includes/pum-condition-functions.php:88
1564
  msgid "Default"
1565
  msgstr ""
1566
 
1567
+ #: includes/pum-condition-functions.php:118
1568
  msgctxt "condition: post type plural and taxonomy singular label ie. Posts: With Category"
1569
  msgid "%1$s: With %2$s"
1570
  msgstr ""
1571
 
1572
+ #: includes/pum-condition-functions.php:121
1573
  msgctxt "condition: post type plural label ie. Select categories"
1574
  msgid "Select %s."
1575
  msgstr ""
1576
 
1577
+ #: includes/pum-condition-functions.php:150
1578
  msgctxt "condition: taxonomy plural label ie. Categories: All"
1579
  msgid "%s: All"
1580
  msgstr ""
1581
 
1582
+ #: includes/pum-condition-functions.php:156
1583
  msgctxt "condition: taxonomy plural label ie. Categories: Selected"
1584
  msgid "%s: Selected"
1585
  msgstr ""
1586
 
1587
+ #: includes/pum-condition-functions.php:159
1588
  msgctxt "condition: taxonomy plural label ie. Select Categories"
1589
  msgid "Select %s."
1590
  msgstr ""
1591
 
1592
+ #: includes/pum-condition-functions.php:172
1593
  msgctxt "condition: taxonomy plural label ie. Categories: Selected"
1594
  msgid "%s: IDs"
1595
  msgstr ""
1596
 
1597
+ #: includes/pum-condition-functions.php:175
1598
  msgctxt "condition: taxonomy plural label ie. Category IDs"
1599
  msgid "%s IDs: 128, 129"
1600
  msgstr ""
1601
 
1602
+ #: includes/pum-condition-functions.php:199
1603
  msgid "Home Page"
1604
  msgstr ""
1605
 
1606
+ #: includes/pum-condition-functions.php:206
1607
  msgid "Blog Index"
1608
  msgstr ""
1609
 
1610
+ #: includes/pum-condition-functions.php:213
1611
  msgid "Search Pages"
1612
  msgstr ""
1613
 
1614
+ #: includes/pum-condition-functions.php:219
1615
  msgid "404 Pages"
1616
  msgstr ""
1617
 
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.16
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.16' );
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.17
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.17' );
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.16
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,9 @@ There are several common causes for this which include:
90
 
91
  == Changelog ==
92
 
 
 
 
93
  = v1.4.16 - 8/14/2016 =
94
  * Feature: New Condition: Pages: With Template. Thanks @cedmund.
95
  * Feature: Option to Disable reposition on window resize/scroll.
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.17
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.17 - 8/14/2016 =
94
+ * Fix: Bug caused by using return value in write context.
95
+
96
  = v1.4.16 - 8/14/2016 =
97
  * Feature: New Condition: Pages: With Template. Thanks @cedmund.
98
  * Feature: Option to Disable reposition on window resize/scroll.