Version Description
Download this release
Release Info
Developer | danieliser |
Plugin | Popup Maker – Popup Forms, Optins & More |
Version | 1.4.2 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.4.2
- includes/admin/class-pum-admin-upgrades.php +3 -2
- includes/class-pum-freemius.php +0 -1
- includes/class-pum-shortcode.php +0 -1
- includes/class-pum.php +1 -1
- includes/integrations/class-popmake-woocommerce-integration.php +2 -2
- includes/pum-deprecated.php +1 -1
- languages/popup-maker.pot +15 -15
- popup-maker.php +2 -2
- readme.txt +16 -11
includes/admin/class-pum-admin-upgrades.php
CHANGED
@@ -443,8 +443,9 @@ class PUM_Admin_Upgrades {
|
|
443 |
}
|
444 |
|
445 |
public function get_upgrade( $version = null ) {
|
446 |
-
|
447 |
-
|
|
|
448 |
} else {
|
449 |
return false;
|
450 |
}
|
443 |
}
|
444 |
|
445 |
public function get_upgrade( $version = null ) {
|
446 |
+
$upgrades = $this->get_upgrades();
|
447 |
+
if ( isset ( $upgrades[ $version ] ) ) {
|
448 |
+
return $upgrades[ $version ];
|
449 |
} else {
|
450 |
return false;
|
451 |
}
|
includes/class-pum-freemius.php
CHANGED
@@ -344,4 +344,3 @@ function pum_fs() {
|
|
344 |
return PUM_Freemius::instance()->fs();
|
345 |
}
|
346 |
|
347 |
-
|
344 |
return PUM_Freemius::instance()->fs();
|
345 |
}
|
346 |
|
|
includes/class-pum-shortcode.php
CHANGED
@@ -216,7 +216,6 @@ class PUM_Shortcode extends PUM_Fields {
|
|
216 |
$shortcode_ui_args['inner_content'] = $this->inner_content_labels();
|
217 |
}
|
218 |
|
219 |
-
|
220 |
if ( count( $this->fields() ) ) {
|
221 |
foreach ( $this->get_all_fields() as $section => $fields ) {
|
222 |
foreach ( $fields as $id => $field ) {
|
216 |
$shortcode_ui_args['inner_content'] = $this->inner_content_labels();
|
217 |
}
|
218 |
|
|
|
219 |
if ( count( $this->fields() ) ) {
|
220 |
foreach ( $this->get_all_fields() as $section => $fields ) {
|
221 |
foreach ( $fields as $id => $field ) {
|
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.2';
|
11 |
|
12 |
const DB_VER = 6;
|
13 |
|
includes/integrations/class-popmake-woocommerce-integration.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?php
|
2 |
|
3 |
// Exit if accessed directly
|
4 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -101,7 +101,7 @@ final class Popmake_Woocommerce_Integration {
|
|
101 |
) );
|
102 |
}
|
103 |
|
104 |
-
public function popup_is_loadable( $is_loadable, $popup_id, $conditions, $sitewide ) {
|
105 |
|
106 |
/**
|
107 |
* WooCommerce Page Checks
|
1 |
+
<?php
|
2 |
|
3 |
// Exit if accessed directly
|
4 |
if ( ! defined( 'ABSPATH' ) ) {
|
101 |
) );
|
102 |
}
|
103 |
|
104 |
+
public function popup_is_loadable( $is_loadable, $popup_id, $conditions = array(), $sitewide = false ) {
|
105 |
|
106 |
/**
|
107 |
* WooCommerce Page Checks
|
includes/pum-deprecated.php
CHANGED
@@ -76,7 +76,7 @@ function pum_deprecated_popup_is_loadable_filter( $loadable, $popup_id ) {
|
|
76 |
* @param bool $loadable True if popup should load.
|
77 |
* @param array $popup_id Post ID.
|
78 |
*/
|
79 |
-
return apply_filters( 'popmake_popup_is_loadable', $loadable, $popup_id );
|
80 |
}
|
81 |
|
82 |
return $loadable;
|
76 |
* @param bool $loadable True if popup should load.
|
77 |
* @param array $popup_id Post ID.
|
78 |
*/
|
79 |
+
return apply_filters( 'popmake_popup_is_loadable', $loadable, $popup_id, array(), false );
|
80 |
}
|
81 |
|
82 |
return $loadable;
|
languages/popup-maker.pot
CHANGED
@@ -124,15 +124,15 @@ msgstr ""
|
|
124 |
msgid "Upgrades have been completed successfully."
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: includes/admin/class-pum-admin-upgrades.php:
|
128 |
msgid "Popup Maker - Upgrades"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: includes/admin/class-pum-admin-upgrades.php:
|
132 |
msgid "The upgrade process has started, please be patient. This could take several minutes. You will be automatically redirected when the upgrade is finished."
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: includes/admin/class-pum-admin-upgrades.php:
|
136 |
msgid "Upgrade failed, please try again."
|
137 |
msgstr ""
|
138 |
|
@@ -1350,51 +1350,51 @@ msgstr ""
|
|
1350 |
msgid "Submit"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
-
#: includes/class-pum-freemius.php:
|
1354 |
msgid "Deleting your account will stop sending usage statistics and disable usage of in dash support forms. This will not stop the plugin from functioning. Are you sure you want to do this?"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
-
#: includes/class-pum-freemius.php:
|
1358 |
msgid "Usage Statistics"
|
1359 |
msgstr ""
|
1360 |
|
1361 |
-
#: includes/class-pum-freemius.php:
|
1362 |
msgid "Popup & Theme Counts, Open Counts"
|
1363 |
msgstr ""
|
1364 |
|
1365 |
-
#: includes/class-pum-freemius.php:
|
1366 |
msgid "We have moved our usage tracking to a new platform."
|
1367 |
msgstr ""
|
1368 |
|
1369 |
-
#: includes/class-pum-freemius.php:
|
1370 |
msgid "We appreciate that you chose to opt-in once before and ask that you please continue to help us improve %2$s!"
|
1371 |
msgstr ""
|
1372 |
|
1373 |
-
#: includes/class-pum-freemius.php:
|
1374 |
msgid "If you choose to opt-in again:"
|
1375 |
msgstr ""
|
1376 |
|
1377 |
-
#: includes/class-pum-freemius.php:
|
1378 |
msgid "Please help us improve %2$s and allow us to track plugin usage!"
|
1379 |
msgstr ""
|
1380 |
|
1381 |
-
#: includes/class-pum-freemius.php:
|
1382 |
msgid "If you opt-in now:"
|
1383 |
msgstr ""
|
1384 |
|
1385 |
-
#: includes/class-pum-freemius.php:
|
1386 |
msgid "Receive a code for 20%% off any purchase in our extension store."
|
1387 |
msgstr ""
|
1388 |
|
1389 |
-
#: includes/class-pum-freemius.php:
|
1390 |
msgid "Submit support requests from your own dashboard and reply by email. (No more forums)"
|
1391 |
msgstr ""
|
1392 |
|
1393 |
-
#: includes/class-pum-freemius.php:
|
1394 |
msgid "And no sensitive data is tracked."
|
1395 |
msgstr ""
|
1396 |
|
1397 |
-
#: includes/class-pum-freemius.php:
|
1398 |
msgid "If you skip this, that's okay! The plugin will still work just fine."
|
1399 |
msgstr ""
|
1400 |
|
124 |
msgid "Upgrades have been completed successfully."
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: includes/admin/class-pum-admin-upgrades.php:556
|
128 |
msgid "Popup Maker - Upgrades"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: includes/admin/class-pum-admin-upgrades.php:571
|
132 |
msgid "The upgrade process has started, please be patient. This could take several minutes. You will be automatically redirected when the upgrade is finished."
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: includes/admin/class-pum-admin-upgrades.php:646
|
136 |
msgid "Upgrade failed, please try again."
|
137 |
msgstr ""
|
138 |
|
1350 |
msgid "Submit"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
+
#: includes/class-pum-freemius.php:93
|
1354 |
msgid "Deleting your account will stop sending usage statistics and disable usage of in dash support forms. This will not stop the plugin from functioning. Are you sure you want to do this?"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
+
#: includes/class-pum-freemius.php:105
|
1358 |
msgid "Usage Statistics"
|
1359 |
msgstr ""
|
1360 |
|
1361 |
+
#: includes/class-pum-freemius.php:106
|
1362 |
msgid "Popup & Theme Counts, Open Counts"
|
1363 |
msgstr ""
|
1364 |
|
1365 |
+
#: includes/class-pum-freemius.php:128
|
1366 |
msgid "We have moved our usage tracking to a new platform."
|
1367 |
msgstr ""
|
1368 |
|
1369 |
+
#: includes/class-pum-freemius.php:129
|
1370 |
msgid "We appreciate that you chose to opt-in once before and ask that you please continue to help us improve %2$s!"
|
1371 |
msgstr ""
|
1372 |
|
1373 |
+
#: includes/class-pum-freemius.php:130
|
1374 |
msgid "If you choose to opt-in again:"
|
1375 |
msgstr ""
|
1376 |
|
1377 |
+
#: includes/class-pum-freemius.php:133
|
1378 |
msgid "Please help us improve %2$s and allow us to track plugin usage!"
|
1379 |
msgstr ""
|
1380 |
|
1381 |
+
#: includes/class-pum-freemius.php:134
|
1382 |
msgid "If you opt-in now:"
|
1383 |
msgstr ""
|
1384 |
|
1385 |
+
#: includes/class-pum-freemius.php:141
|
1386 |
msgid "Receive a code for 20%% off any purchase in our extension store."
|
1387 |
msgstr ""
|
1388 |
|
1389 |
+
#: includes/class-pum-freemius.php:142
|
1390 |
msgid "Submit support requests from your own dashboard and reply by email. (No more forums)"
|
1391 |
msgstr ""
|
1392 |
|
1393 |
+
#: includes/class-pum-freemius.php:143
|
1394 |
msgid "And no sensitive data is tracked."
|
1395 |
msgstr ""
|
1396 |
|
1397 |
+
#: includes/class-pum-freemius.php:145
|
1398 |
msgid "If you skip this, that's okay! The plugin will still work just fine."
|
1399 |
msgstr ""
|
1400 |
|
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.2
|
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.2' );
|
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.4
|
8 |
Tested up to: 4.5
|
9 |
-
Stable tag: 1.4
|
10 |
License: GNU Version 3 or Any Later Version
|
11 |
|
12 |
Easily create attractive popups with no coding skills. Customize nearly every aspect of your popups, from theme & position, to targeting & cookies.
|
@@ -22,7 +22,6 @@ It is both a complete popup solution and a powerful, extendable framework.
|
|
22 |
Follow this plugin on [GitHub](https://github.com/PopupMaker/Popup-Maker).
|
23 |
|
24 |
Features of Popup Maker include:
|
25 |
-
|
26 |
* Unlimited Popups & Popup Themes
|
27 |
* Add shortcodes, HTML optin forms or any other content you can think of.
|
28 |
* Targeting conditions allow you to show a popup on one page or all pages of your site for precise targeting, others available as extensions.
|
@@ -83,15 +82,15 @@ Find out more about [Popup Maker](https://wppopupmaker.com?utm_source=WordPress+
|
|
83 |
|
84 |
= Languages =
|
85 |
|
86 |
-
* French (France) 87%
|
87 |
-
* Hungarian 84%
|
88 |
-
* Arabic 84%
|
89 |
-
* Italian 84%
|
90 |
-
* Swedish 84%
|
91 |
-
* Danish 84%
|
92 |
-
* Spanish (Spain) 72%
|
93 |
-
* Russian 68%
|
94 |
-
* German 52%
|
95 |
|
96 |
Would you like to help translate the plugin into more languages? [Join our WP-Translations Community](https://translate.wordpress.org/projects/wp-plugins/popup-maker).
|
97 |
|
@@ -116,6 +115,12 @@ There are several common causes for this which include:
|
|
116 |
|
117 |
== Changelog ==
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
= v1.4 - 4/20/2016 =
|
120 |
* Feature: Added basic analytics. Tracks how many unique opens each popup has.
|
121 |
* Feature: Added new Popup Maker shortcodes button to the editor with visual previews.
|
6 |
Tags: responsive popup, promotion, popover, pop-up, pop over, marketing, lightbox, advertising, conversion, modal, popup, popups
|
7 |
Requires at least: 3.4
|
8 |
Tested up to: 4.5
|
9 |
+
Stable tag: 1.4.1
|
10 |
License: GNU Version 3 or Any Later Version
|
11 |
|
12 |
Easily create attractive popups with no coding skills. Customize nearly every aspect of your popups, from theme & position, to targeting & cookies.
|
22 |
Follow this plugin on [GitHub](https://github.com/PopupMaker/Popup-Maker).
|
23 |
|
24 |
Features of Popup Maker include:
|
|
|
25 |
* Unlimited Popups & Popup Themes
|
26 |
* Add shortcodes, HTML optin forms or any other content you can think of.
|
27 |
* Targeting conditions allow you to show a popup on one page or all pages of your site for precise targeting, others available as extensions.
|
82 |
|
83 |
= Languages =
|
84 |
|
85 |
+
* French (France) 87.00%
|
86 |
+
* Hungarian 84.00%
|
87 |
+
* Arabic 84.00%
|
88 |
+
* Italian 84.00%
|
89 |
+
* Swedish 84.00%
|
90 |
+
* Danish 84.00%
|
91 |
+
* Spanish (Spain) 72.00%
|
92 |
+
* Russian 68.00%
|
93 |
+
* German 52.00%
|
94 |
|
95 |
Would you like to help translate the plugin into more languages? [Join our WP-Translations Community](https://translate.wordpress.org/projects/wp-plugins/popup-maker).
|
96 |
|
115 |
|
116 |
== Changelog ==
|
117 |
|
118 |
+
= v1.4.2 - 4/20/2016 =
|
119 |
+
* Fix: Bug in popup maker deprecated filter caused by no defaults passed.
|
120 |
+
|
121 |
+
= v1.4.1 - 4/20/2016 =
|
122 |
+
* Fix: Bug in popup maker upgrade class for older versions of PHP.
|
123 |
+
|
124 |
= v1.4 - 4/20/2016 =
|
125 |
* Feature: Added basic analytics. Tracks how many unique opens each popup has.
|
126 |
* Feature: Added new Popup Maker shortcodes button to the editor with visual previews.
|