Version Description
Download this release
Release Info
Developer | danieliser |
Plugin | Popup Maker – Popup Forms, Optins & More |
Version | 1.5.4 |
Comparing to | |
See all releases |
Code changes from version 1.5.3 to 1.5.4
- includes/class-pum.php +1 -1
- includes/integrations/class-pum-woocommerce-integration.php +2 -2
- includes/modules/menus.php +0 -6
- includes/modules/menus/class-pum-walker-nav-menu-edit-deprecated.php +5 -0
- includes/modules/menus/class-pum-walker-nav-menu-edit.php +10 -0
- languages/popup-maker.pot +4 -4
- popup-maker.php +2 -2
- readme.txt +5 -1
includes/class-pum.php
CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
7 |
|
8 |
class PUM {
|
9 |
|
10 |
-
const VER = '1.5.
|
11 |
|
12 |
const DB_VER = 6;
|
13 |
|
7 |
|
8 |
class PUM {
|
9 |
|
10 |
+
const VER = '1.5.4';
|
11 |
|
12 |
const DB_VER = 6;
|
13 |
|
includes/integrations/class-pum-woocommerce-integration.php
CHANGED
@@ -66,11 +66,11 @@ class PUM_Woocommerce_Integration {
|
|
66 |
$conditions['is_wc_endpoint_url'] = array(
|
67 |
'group' => __( 'WooCommerce', 'woocommerce' ),
|
68 |
'labels' => array(
|
69 |
-
'name' => __( 'Is
|
70 |
),
|
71 |
'fields' => array(
|
72 |
'selected' => array(
|
73 |
-
'placeholder' => __( 'Selected
|
74 |
'type' => 'select',
|
75 |
'select2' => true,
|
76 |
'multiple' => true,
|
66 |
$conditions['is_wc_endpoint_url'] = array(
|
67 |
'group' => __( 'WooCommerce', 'woocommerce' ),
|
68 |
'labels' => array(
|
69 |
+
'name' => __( 'Is Endpoint', 'popup-maker' ),
|
70 |
),
|
71 |
'fields' => array(
|
72 |
'selected' => array(
|
73 |
+
'placeholder' => __( 'Selected Endpoints', 'popup-maker' ),
|
74 |
'type' => 'select',
|
75 |
'select2' => true,
|
76 |
'multiple' => true,
|
includes/modules/menus.php
CHANGED
@@ -34,12 +34,6 @@ class PUM_Modules_Menu {
|
|
34 |
global $wp_version;
|
35 |
|
36 |
if ( ! class_exists( 'PUM_Walker_Nav_Menu_Edit' ) ) {
|
37 |
-
|
38 |
-
if ( ! class_exists( 'Walker_Nav_Menu_Edit' ) ) {
|
39 |
-
/** Walker_Nav_Menu_Edit class */
|
40 |
-
require_once ABSPATH . 'wp-admin/includes/class-walker-nav-menu-edit.php';
|
41 |
-
}
|
42 |
-
|
43 |
if ( version_compare( $wp_version, '3.6', '>=' ) ) {
|
44 |
require_once POPMAKE_DIR . '/includes/modules/menus/class-pum-walker-nav-menu-edit.php';
|
45 |
} else {
|
34 |
global $wp_version;
|
35 |
|
36 |
if ( ! class_exists( 'PUM_Walker_Nav_Menu_Edit' ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
if ( version_compare( $wp_version, '3.6', '>=' ) ) {
|
38 |
require_once POPMAKE_DIR . '/includes/modules/menus/class-pum-walker-nav-menu-edit.php';
|
39 |
} else {
|
includes/modules/menus/class-pum-walker-nav-menu-edit-deprecated.php
CHANGED
@@ -4,6 +4,11 @@
|
|
4 |
* Copyright (c) 2017, WP Popup Maker
|
5 |
******************************************************************************/
|
6 |
|
|
|
|
|
|
|
|
|
|
|
7 |
/**
|
8 |
* Custom Walker for Nav Menu Editor
|
9 |
*
|
4 |
* Copyright (c) 2017, WP Popup Maker
|
5 |
******************************************************************************/
|
6 |
|
7 |
+
if ( ! class_exists( 'Walker_Nav_Menu_Edit' ) ) {
|
8 |
+
/** Walker_Nav_Menu_Edit class */
|
9 |
+
require_once ABSPATH . 'wp-admin/includes/nav-menu.php';
|
10 |
+
}
|
11 |
+
|
12 |
/**
|
13 |
* Custom Walker for Nav Menu Editor
|
14 |
*
|
includes/modules/menus/class-pum-walker-nav-menu-edit.php
CHANGED
@@ -4,6 +4,16 @@
|
|
4 |
* Copyright (c) 2017, WP Popup Maker
|
5 |
******************************************************************************/
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
/**
|
8 |
* Custom Walker for Nav Menu Editor
|
9 |
*
|
4 |
* Copyright (c) 2017, WP Popup Maker
|
5 |
******************************************************************************/
|
6 |
|
7 |
+
/** Walker_Nav_Menu_Edit class */
|
8 |
+
if ( ! class_exists( 'Walker_Nav_Menu_Edit' ) ) {
|
9 |
+
global $wp_version;
|
10 |
+
if ( version_compare( $wp_version, '4.4', '>=' ) ) {
|
11 |
+
require_once ABSPATH . 'wp-admin/includes/class-walker-nav-menu-edit.php';
|
12 |
+
} else {
|
13 |
+
require_once ABSPATH . 'wp-admin/includes/nav-menu.php';
|
14 |
+
}
|
15 |
+
}
|
16 |
+
|
17 |
/**
|
18 |
* Custom Walker for Nav Menu Editor
|
19 |
*
|
languages/popup-maker.pot
CHANGED
@@ -1585,11 +1585,11 @@ msgid "Account Page"
|
|
1585 |
msgstr ""
|
1586 |
|
1587 |
#: includes/integrations/class-pum-woocommerce-integration.php:69
|
1588 |
-
msgid "Is
|
1589 |
msgstr ""
|
1590 |
|
1591 |
#: includes/integrations/class-pum-woocommerce-integration.php:73
|
1592 |
-
msgid "Selected
|
1593 |
msgstr ""
|
1594 |
|
1595 |
#: includes/integrations/ninja-forms/Actions/ClosePopup.php:36, includes/modules/admin-bar.php:121
|
@@ -1628,11 +1628,11 @@ msgstr ""
|
|
1628 |
msgid "Popup ID"
|
1629 |
msgstr ""
|
1630 |
|
1631 |
-
#: includes/modules/menus.php:
|
1632 |
msgid "Trigger a Popup"
|
1633 |
msgstr ""
|
1634 |
|
1635 |
-
#: includes/modules/menus.php:
|
1636 |
msgid "Choose a popup to trigger when this item is clicked."
|
1637 |
msgstr ""
|
1638 |
|
1585 |
msgstr ""
|
1586 |
|
1587 |
#: includes/integrations/class-pum-woocommerce-integration.php:69
|
1588 |
+
msgid "Is Endpoint"
|
1589 |
msgstr ""
|
1590 |
|
1591 |
#: includes/integrations/class-pum-woocommerce-integration.php:73
|
1592 |
+
msgid "Selected Endpoints"
|
1593 |
msgstr ""
|
1594 |
|
1595 |
#: includes/integrations/ninja-forms/Actions/ClosePopup.php:36, includes/modules/admin-bar.php:121
|
1628 |
msgid "Popup ID"
|
1629 |
msgstr ""
|
1630 |
|
1631 |
+
#: includes/modules/menus.php:117
|
1632 |
msgid "Trigger a Popup"
|
1633 |
msgstr ""
|
1634 |
|
1635 |
+
#: includes/modules/menus.php:128
|
1636 |
msgid "Choose a popup to trigger when this item is clicked."
|
1637 |
msgstr ""
|
1638 |
|
popup-maker.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: https://wppopupmaker.com/?utm_capmaign=PluginInfo&utm_source=plugin-header&utm_medium=plugin-uri
|
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.5.
|
8 |
* Author URI: https://wppopupmaker.com/?utm_capmaign=PluginInfo&utm_source=plugin-header&utm_medium=author-uri
|
9 |
* Text Domain: popup-maker
|
10 |
*
|
@@ -147,7 +147,7 @@ if ( ! class_exists( 'Popup_Maker' ) ) :
|
|
147 |
}
|
148 |
|
149 |
if ( ! defined( 'POPMAKE_VERSION' ) ) {
|
150 |
-
define( 'POPMAKE_VERSION', '1.5.
|
151 |
}
|
152 |
|
153 |
if ( ! defined( 'POPMAKE_DB_VERSION' ) ) {
|
4 |
* Plugin URI: https://wppopupmaker.com/?utm_capmaign=PluginInfo&utm_source=plugin-header&utm_medium=plugin-uri
|
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.5.4
|
8 |
* Author URI: https://wppopupmaker.com/?utm_capmaign=PluginInfo&utm_source=plugin-header&utm_medium=author-uri
|
9 |
* Text Domain: popup-maker
|
10 |
*
|
147 |
}
|
148 |
|
149 |
if ( ! defined( 'POPMAKE_VERSION' ) ) {
|
150 |
+
define( 'POPMAKE_VERSION', '1.5.4' );
|
151 |
}
|
152 |
|
153 |
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.7.2
|
9 |
-
Stable tag: 1.5.
|
10 |
License: GNU Version 3 or Any Later Version
|
11 |
|
12 |
Create any popup imaginable! Customize your popups from head-to-toe and give your site more utility, usability, and conversions.
|
@@ -87,6 +87,10 @@ There are several common causes for this which include:
|
|
87 |
|
88 |
== Changelog ==
|
89 |
|
|
|
|
|
|
|
|
|
90 |
= v1.5.3 - 03/13/2017 =
|
91 |
* Improvement: Added a catch for any triggers not initialized at page load.
|
92 |
* Fix: Typo in multi check field template that led to admin JS errors.
|
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.7.2
|
9 |
+
Stable tag: 1.5.4
|
10 |
License: GNU Version 3 or Any Later Version
|
11 |
|
12 |
Create any popup imaginable! Customize your popups from head-to-toe and give your site more utility, usability, and conversions.
|
87 |
|
88 |
== Changelog ==
|
89 |
|
90 |
+
= v1.5.4 - 03/13/2017 =
|
91 |
+
* Fix: Typos in conditions.
|
92 |
+
* Fix: Moved class_exists checks to better handle possible missing class errors.
|
93 |
+
|
94 |
= v1.5.3 - 03/13/2017 =
|
95 |
* Improvement: Added a catch for any triggers not initialized at page load.
|
96 |
* Fix: Typo in multi check field template that led to admin JS errors.
|