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

Version Description

Download this release

Release Info

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

Code changes from version 1.16.1 to 1.16.2

Files changed (66) hide show
  1. CHANGELOG.md +0 -935
  2. assets/images/admin/dashboard-icon.png +0 -0
  3. assets/images/admin/display-switcher/center-popup.png +0 -0
  4. assets/images/admin/display-switcher/left-bottom-notice.png +0 -0
  5. assets/images/admin/display-switcher/right-bottom-slidein.png +0 -0
  6. assets/images/admin/display-switcher/top-bar.png +0 -0
  7. assets/images/admin/icon-info-21x21.png +0 -0
  8. assets/images/admin/popup-maker-icon.png +0 -0
  9. assets/images/beacon.gif +0 -0
  10. assets/images/extensions/advanced-targeting-conditions.png +0 -0
  11. assets/images/extensions/advanced-theme-builder.png +0 -0
  12. assets/images/extensions/age-verification-modals.png +0 -0
  13. assets/images/extensions/ajax-login-modals.png +0 -0
  14. assets/images/extensions/aweber-integration.png +0 -0
  15. assets/images/extensions/core-extensions-bundle.png +0 -0
  16. assets/images/extensions/edd-pro.png +0 -0
  17. assets/images/extensions/exit-intent-popups.png +0 -0
  18. assets/images/extensions/forced-interaction.png +0 -0
  19. assets/images/extensions/geotargeting.png +0 -0
  20. assets/images/extensions/mailchimp-integration.png +0 -0
  21. assets/images/extensions/popup-analytics.png +0 -0
  22. assets/images/extensions/remote-content.png +0 -0
  23. assets/images/extensions/scheduling.png +0 -0
  24. assets/images/extensions/scroll-triggered-popups.png +0 -0
  25. assets/images/extensions/secure-idle-user-logout.png +0 -0
  26. assets/images/extensions/terms-conditions-popups.png +0 -0
  27. assets/images/extensions/videos.png +0 -0
  28. assets/images/extensions/woocommerce-pro.png +0 -0
  29. assets/images/icon-256x256.jpg +0 -0
  30. assets/images/logo.png +0 -0
  31. assets/images/plugins/beaver-builder.png +0 -0
  32. assets/images/plugins/caldera-forms.png +0 -0
  33. assets/images/plugins/contact-form-7.png +0 -0
  34. assets/images/plugins/content-control.png +0 -0
  35. assets/images/plugins/gravity-forms.png +0 -0
  36. assets/images/plugins/mc4wp.png +0 -0
  37. assets/images/plugins/ninja-forms.png +0 -0
  38. assets/images/plugins/user-menus.png +0 -0
  39. assets/images/plugins/wp-forms.png +0 -0
  40. assets/images/support-pane-docs-icon.png +0 -0
  41. assets/images/support-pane-extensions-icon.png +0 -0
  42. assets/images/support-pane-wpforums-icon.png +0 -0
  43. assets/images/upsell-icon-advanted-theme-builder.png +0 -0
  44. assets/images/upsell-icon-forced-interaction.png +0 -0
  45. classes/Admin/Extend.php +5 -0
  46. classes/Admin/Templates.php +2 -2
  47. includes/deprecated-filters.php +1 -1
  48. includes/functions/popups/template.php +14 -0
  49. languages/popup-maker-ar.mo +0 -0
  50. languages/popup-maker-da.mo +0 -0
  51. languages/popup-maker-da_DK.mo +0 -0
  52. languages/popup-maker-de_DE.mo +0 -0
  53. languages/popup-maker-es.mo +0 -0
  54. languages/popup-maker-fr.mo +0 -0
  55. languages/popup-maker-hu_HU.mo +0 -0
  56. languages/popup-maker-it_CH.mo +0 -0
  57. languages/popup-maker-it_IT.mo +0 -0
  58. languages/popup-maker-no.mo +0 -0
  59. languages/popup-maker-ru_RU.mo +0 -0
  60. languages/popup-maker-sk_SK.mo +0 -0
  61. languages/popup-maker-sv_SE.mo +0 -0
  62. languages/popup-maker.pot +6 -2
  63. popup-maker.php +2 -2
  64. postcss.config.js +0 -12
  65. readme.txt +11 -4
  66. templates/popup.php +1 -1
CHANGELOG.md DELETED
@@ -1,935 +0,0 @@
1
- # Popup Maker Changelog
2
-
3
- ## v1.16.1 - 03/21/2021
4
-
5
- * Fix: WP <5.0 and ClassicPress saw errors in the admin for usage of WP_Block_Type_Registry. [Issue #995](https://github.com/PopupMaker/Popup-Maker/issues/995)
6
-
7
- ## [v1.16.0 - 03/09/2021](https://github.com/PopupMaker/Popup-Maker/milestone/31)
8
-
9
- * Feature: Add 'flush popup cache' link in admin bar menu [Issue #931](https://github.com/PopupMaker/Popup-Maker/issues/931)
10
- * Improvement: Remove 'Tools -> System Info' page, use WP Site Health page instead. [Issue #862](https://github.com/PopupMaker/Popup-Maker/issues/862)
11
- * Improvement: Accessibility forced focus can now focus main close button if nothing else is available. [Issue #943](https://github.com/PopupMaker/Popup-Maker/issues/943)
12
- * Improvement: Updated admin form styles to match recent WP core changes. [Issue #707](https://github.com/PopupMaker/Popup-Maker/issues/707)
13
- * Fix: Block previews failed to load for some 3rd party blocks. [Issue #868](https://github.com/PopupMaker/Popup-Maker/issues/868). Thanks @ndiego
14
- * Fix: Bug preventing saving "Sitewide" cookie option unchecked. [Issue #642](https://github.com/PopupMaker/Popup-Maker/issues/642)
15
- * Fix: Removed Action Scheduler library due to edge case issues with no reasonable long term solutions. [Issue #853](https://github.com/PopupMaker/Popup-Maker/issues/853)
16
- * Fix: Added multiple sanity checks to code to prevent various edge cases resulting from improperly coded themes & plugins.
17
- * Fix: Update integration with Contact Form 7 due to breaking changes in their recent v5.4 update. [Issue #946](https://github.com/PopupMaker/Popup-Maker/issues/946)
18
-
19
- ## [v1.15.0 - 01/12/2021](https://github.com/PopupMaker/Popup-Maker/milestone/30)
20
-
21
- * Feature: Automatically enqueue popups when detected during page load [Issue #543](https://github.com/PopupMaker/Popup-Maker/issues/543)
22
- * Improvement: Improvements to 'Extend' page [Issue #913](https://github.com/PopupMaker/Popup-Maker/issues/913)
23
- * Improvement: Start working toward more consistent linking/documentation strategy
24
- * Fix: Popup defaults() method only returns default values for checkbox fields [Issue #927](https://github.com/PopupMaker/Popup-Maker/issues/927)
25
- * Fix: PUM_Telemetry triggers PHP warnings in (CLI) cron [Issue #919](https://github.com/PopupMaker/Popup-Maker/issues/919)
26
- * Fix: pum-admin-bar Script Fails to Load [Issue #907](https://github.com/PopupMaker/Popup-Maker/issues/907) Thanks @fluxism!
27
- * Fix: JS error: Uncaught TypeError: Cannot set property 'popups' of undefined [Issue #635](https://github.com/PopupMaker/Popup-Maker/issues/635)
28
- * Fix: Undefined SCSS variable causing errors in building block components
29
-
30
- ## [v1.14.0 - 12/16/2020](https://github.com/PopupMaker/Popup-Maker/milestone/29)
31
-
32
- * Improvement: Add a link to popups to admin bar [Issue #892](https://github.com/PopupMaker/Popup-Maker/issues/892)
33
- * Improvement: Add a link to create a new popup to admin bar [Issue #892](https://github.com/PopupMaker/Popup-Maker/issues/892)
34
- * Improvement: Add new welcome screen upon first activation [Issue #900](https://github.com/PopupMaker/Popup-Maker/issues/900)
35
- * Improvement: Create example popup upon install [Issue #857](https://github.com/PopupMaker/Popup-Maker/issues/857)
36
- * Improvement: Ensure subscribers table gets deleted if doing full deletion [Issue #895](https://github.com/PopupMaker/Popup-Maker/issues/895)
37
- * Improvement: Add logging for DB table management and creation [Issue #879](https://github.com/PopupMaker/Popup-Maker/issues/879)
38
- * Improvement: Set up continous integration for unit and integration tests [Issue #640](https://github.com/PopupMaker/Popup-Maker/issues/640)
39
- * Improvement: Add filter to exclude blocks with isAllowedForBlockType [Issue #835](https://github.com/PopupMaker/Popup-Maker/issues/835)
40
- * Fix: Backtick in settings page [Issue #904](https://github.com/PopupMaker/Popup-Maker/issues/904)
41
-
42
- ## v1.13.1 - 11/4/2020
43
-
44
- * Fix: PHP error notice appears when submitting Gravity Forms without AJAX
45
-
46
- ## [v1.13.0 - 10/30/2020](https://github.com/PopupMaker/Popup-Maker/milestone/26)
47
-
48
- * Feature: Conversion tracking [Issue #775](https://github.com/PopupMaker/Popup-Maker/issues/775)
49
- * Feature: Bypass adblockers for tracking opens and conversions [Issue #783](https://github.com/PopupMaker/Popup-Maker/issues/783)
50
- * Feature: Periodical suggestions to improve plugin usage [Issue #834](https://github.com/PopupMaker/Popup-Maker/issues/834)
51
- * Improvement: Reduce clutter in All Popups table [Issue #878](https://github.com/PopupMaker/Popup-Maker/issues/878)
52
- * Improvement: Switch tab navigation to NAV elements instead of H2 [Issue #818](https://github.com/PopupMaker/Popup-Maker/issues/818)
53
- * Improvement: Set up PHPUnit for integration and unit tests [Issue #563](https://github.com/PopupMaker/Popup-Maker/issues/563)
54
- * Improvement: Continuously deploy readme and screenshot changes [Issue #827](https://github.com/PopupMaker/Popup-Maker/issues/827)
55
- * Fix: AJAX for Gravity Forms not setting cookies [Issue #706](https://github.com/PopupMaker/Popup-Maker/issues/706)
56
- * Fix: Disabling asset cache causes form integrations not to load their assets [Issue #755](https://github.com/PopupMaker/Popup-Maker/issues/755)
57
- * Fix: Form submission cookies are not being set for some form integrations [Issue #886](https://github.com/PopupMaker/Popup-Maker/issues/886)
58
- * Fix: Some form integrations are calling both AJAX and PHP submission handlers [Issue #887](https://github.com/PopupMaker/Popup-Maker/issues/887)
59
-
60
- ## v1.12.0 - 09/29/2020
61
-
62
- * Feature: Add the ability to turn on/off popups [Issue #544](https://github.com/PopupMaker/Popup-Maker/issues/544)
63
- * Feature: Formidable Forms integration [Issue #750](https://github.com/PopupMaker/Popup-Maker/issues/750)
64
- * Feature: New error log tab for viewing, downloading, and emptying the error log [Issue #575](https://github.com/PopupMaker/Popup-Maker/issues/575)
65
- * Feature: New minimal popup theme for use with content created by page builders [Issue #759](https://github.com/PopupMaker/Popup-Maker/issues/759)
66
- * Feature: Can now target WooCommerce "Subscriptions" account page. Thanks @bydrewpaul [Issue #849](https://github.com/PopupMaker/Popup-Maker/issues/849)
67
- * Feature: Can now view all scheduled actions on the "Tools" page [Issue #859](https://github.com/PopupMaker/Popup-Maker/issues/859)
68
- * Improvement: Add popup ID to the top of the popup editor [Issue #583](https://github.com/PopupMaker/Popup-Maker/issues/583)
69
- * Improvement: Show default click trigger classes in trigger editor [Issue #584](https://github.com/PopupMaker/Popup-Maker/issues/584)
70
- * Improvement: Show post ID in postselect drop-downs [Issue #660](https://github.com/PopupMaker/Popup-Maker/issues/660)
71
- * Improvement: Label older form triggers/cookies as deprecated (or similar) [Issue #874](https://github.com/PopupMaker/Popup-Maker/issues/874)
72
- * Fix: Form submission cookie not automatically setting "form" key [Issue #866](https://github.com/PopupMaker/Popup-Maker/issues/866)
73
- * Fix: Trying to access 'private' key when the field is false error [Issue #873](https://github.com/PopupMaker/Popup-Maker/issues/873)
74
- * Fix: _pum_subscribers table fails to create on MySQL 8.0.19+ due to VALUES keyword [Issue #876](https://github.com/PopupMaker/Popup-Maker/issues/876)
75
-
76
- ## v1.11.2 - 08/17/2020
77
-
78
- * Fix: `wp_make_content_images_responsive` is deprecated, use `wp_filter_content_tags()` instead
79
- * Fix: IE 11 does not support JS Promises
80
- * Fix: Missing permission_callback on REST endpoint
81
-
82
- ## v1.11.1 - 07/22/2020
83
-
84
- * Fix: Form submission cookies no longer set with Contact Form 7 5.2
85
-
86
- ## v1.11.0 - 06/25/2020
87
-
88
- * Feature: Add new floating bar theme.
89
- * Feature: New guided tour of popup editor for first time users.
90
- * Feature: New href attribute on the popup_close shortcode for when setting the shortcode to use the `a` tag.
91
- * Fix: Shortcode popup_close tag attribute not functioning properly.
92
- * Tweak: Change popup_close tag setting to use a drop-down for more easily selecting which tag to use.
93
- * Tweak: Improve explanation of cookies in new trigger modal.
94
- * Tweak: Ensure all admin pages have visible page headings.
95
- * Tweak: Simplify name and title fields in popup editor.
96
- * Tweak: Add popup ID to quick links on All Popups.
97
- * Tweak: Move CSS and JS for our admin bar node to external file.
98
- * Tweak: Add our new optional telemetry system.
99
-
100
- ## v1.10.2 - 06/09/2020
101
-
102
- * Fix: Popup Settings not working when WP Forms is active without forms
103
- * Fix: Missing closing div in new [popup_cookie] shortcode.
104
- * Fix: Shortcode popup_close tag attribute not functioning properly.
105
-
106
- ## v1.10.1 - 04/21/2020
107
- * Fix: Typo in filter name caused extra p tags.
108
- * Fix: Add wp version check to prevent calling block functions on older versions or classicpress.
109
- * Fix: Font Awesome support now works for v4 fonts.
110
-
111
- ## v1.10.0 - 04/20/2020
112
- * Feature: Display presets for top bar, bottom right slide-ins, full-screen popups & bottom left notifications to make it simple to get common setups done much quicker
113
- * Feature: Popup Trigger inline text format for the block editor.
114
- * Feature: Turn any block in Gutenberg block editor into a popup trigger.
115
- * Feature: Font Awesome support added to close button text setting.
116
- * Feature: Play a sound when a popup is opened. Choose from 5 included sounds or upload your own.
117
- * Feature: Insert customizable [popup_cookie] shortcode on thank you pages when using non-integrated forms.
118
- * Tweak: Add option to disable or adjust the padding-right added to body.
119
- * Tweak: Remove Freemius integration from Popup Maker.
120
- * Improvement: Detect file permission issues with Asset Caching functionality.
121
- * Fix: Prevent popups from going off the screen when using center position for a tall popup.
122
- * Fix: Bug in slide animation origin positioning for bottom or right origins.
123
- * Fix: Bug where Middle Center caused tall popups to hang off the screen on small screens.
124
- * Fix: Typo in admin editor CSS path.
125
- * Fix: Bug on fresh installs where default theme's close position is wrong.
126
-
127
- ## v1.9.2 - 03/26/2020
128
- * Tweak: Add support for WP 5.4's new method of adding custom fields to the nav menu editor.
129
-
130
- ## v1.9.1 - 02/13/2020
131
- * Fix: JS error when MailChimp for WordPress was active but no forms on the page.
132
-
133
- ## v1.9.0 - 02/11/2020
134
- * Feature: New Form Submission trigger with option to choose specific forms for integrated forms.
135
- * Feature: New Form Submission cookie event with option to choose specific forms.
136
- * Feature: New Close on Form Submission with optional delay.
137
- * Feature: WP Forms integration.
138
- * Feature: Caldera Forms integration.
139
- * Feature: MailChimp for WordPress integration
140
- * Improvement: Enhanced asset cache to identify issues with a site's filesystem.
141
- * Improvement: Various changes to ensure PHP 7.4 compatibility.
142
- * Improvement: Minimum PHP version updated to v5.6 to match WP core.
143
- * Improvement: Simplified form integration interfaces to more easily support additional form plugins or custom integrations. Includes full AJAX & non-AJAX form support.
144
- * Improvement: Added RTL CSS support.
145
- * Improvement: Added new SVG admin menu icon which plays well with custom admin color schemes. Thanks @KZeni (Kurt Zenisek)
146
- * Improvement: Simplified form integration apis.
147
- * Improvement: Various performance improvements.
148
- * Tweak: Remove unnecessary usage of esc_attr_e causing extra translation calls.
149
- * Fix: Bug when accept language header is not supplied causes undefined index notice.
150
- * Fix: Error caused by invalid post ID returned by CF7 when saving new forms.
151
- * Fix: Bug when selecting more than 10 items in targeting rule post/page select fields.
152
-
153
- ## v1.8.14 - 10/24/2019
154
- * Improvement: Updated nav menu editor walker class for adding custom fields to further improve compatibility.
155
- * Fix: Ninja Forms popup actions missing.
156
-
157
- ## v1.8.13 - 10/11/2019
158
- * Tweak: Added cap check to ensure only authorized users can access support debug text file. @Credit goes to Ilias Dimopoulos from Neurosoft S.A , RedyOps Team.
159
-
160
- ## v1.8.12 - 10/01/2019
161
- * Improvement: Changed hook that we initialize Ninja Forms on so that it can be disabled from theme functions.php.
162
- * Improvement: Don't load CF7 scripts if they are forced off.
163
- * Improvement: Fixed some old options checks that were always being detected as true resulting in minor performance improvements.
164
- * Tweak: Added nonce to the system info file download available under Popup Maker -> Tools and simplified the pum_actions system. @Credit goes to Ilias Dimopoulos from Neurosoft S.A , RedyOps Team.
165
-
166
- ## v1.8.11 - 08/18/2019
167
- * Improvement: Trigger window resize event when popups open to fix issues with some sliders & JS sized content.
168
- * Fix: Updated form value processing to prevent some edge cases where string values were converted to Infinity.
169
- * Fix: Custom "already subscribed" messages in MailChimp integration were not working correctly.
170
-
171
- ## v1.8.10 - 07/06/2019
172
- * Fix: PHP backward compatibility issue due to short array syntax usage.
173
-
174
- ## v1.8.9 - 07/04/2019
175
- * Fix: Issue where popup titles wouldn't render.
176
-
177
- ## v1.8.8 - 06/30/2019
178
- * Fix: Bug where red alert icons didn't go away when visiting the tabs from the "Extend" menu.
179
-
180
- ## v1.8.7 - 06/29/2019
181
- * Tweak: Restricted the admin toolbar to only show under strict circumstances.
182
- * Tweak: Updated available WooCommerce endpoints in our targeting conditions
183
- * Fix: Issue with instance based shortcodes when asset caching was enabled but running on every request.
184
-
185
- ## v1.8.6 - 05/05/2019
186
- * Fix: Typo in GDPR eraser that could sometimes result in errors when processing GDPR requests
187
- * Fix: Added function exists check to prevent errors on WP 4.1
188
-
189
- ## v1.8.5 - 04/17/2019
190
- * Tweak: Removed unused settings.
191
- * Fix: Typo in method name that would generate errors in some extension migration routines.
192
- * Fix: Issue when using class="" in our Popup Trigger shortcode would not get converted to classes on the element.
193
- * Fix: Bug in JS due to missing default value.
194
- * Fix: Bug older extensions caused by deprecated filter not getting loaded properly.
195
-
196
- ## v1.8.4 - 03/21/2019
197
- * Improvement: Added content caching in the head to prevent second call to do_shortcode in the footer.
198
- * Improvement: Added runtime model caching to reduce memory usage.
199
-
200
- ## v1.8.3 - 02/27/2019
201
- * Fix: Added back deprecated function that got truncated previously.
202
-
203
- ## v1.8.2 - 02/25/2019
204
- * Fix: Bug on older versions of PHP due to usage of [] rather than array().
205
-
206
- ## v1.8.1 - 02/22/2019
207
- * Fix: Error on older versions of PHP when calling get_plugin_data on a plugin that wasn't installed.
208
- * Fix: "Fatal error: Can not use method return value in write context" on older versions of PHP.
209
-
210
- ## v1.8.0 - 02/20/2019
211
- * Feature: New popup theme settings:
212
- * New close button positions top center, bottom center, middle left & middle right.
213
- * New option to position close button outside of popup.
214
- * Improvement: Add constant to disable logging.
215
- * Improvement: Added complete uninstall option.
216
- * Improvement: Added limited experimental support for Gutenberg editor when creating popups. Complete support in the works.
217
- * Improvement: Added new unified alerts interface on PM dash pages. This will keep you up to date on required migration changes, new features & more.
218
- * Improvement: Added new translation request for detected polyglot admins when their language doesn't have an updated Language Pack.
219
- * Tweak: Removed option setting to 'Hide Admin Support Widget' which is no longer relevant.
220
- * Tweak: Add constant to disable logging.
221
- * Fix: Condition options for BuddyPress integration had values & labels switched.
222
- * Fix: Bug with Gravity Forms Personal Data menu item missing.
223
- * Fix: iOS Click overlay close not working.
224
- * Fix: Analytics not working for themes with incorrect wp_footer usage.
225
-
226
- ## v1.7.30 - 09/06/2018
227
- * Improvement: Further added methods to log unique messages only once.
228
- * Tweak: Remove usage of Freemius.
229
- * Fix: Added option to disable popups accessibility functionality to resolve some issues with focus trapping.
230
- * Fix: Issues with log files growing too large. Max file size of 1MB and auto truncate to 250 lines now.
231
- * Fix: Typo causing issues with Page Template condition.
232
- * Fix: Typo in privacy link example text.
233
- * Fix: Typo pointing to incorrect internal method call in new has_cookie method.
234
- * Fix: Issues with fields not being readonly.
235
-
236
- ## v1.7.29 - 06/13/2018
237
- * Improvement: Added new enabled() method for the PUM_AssetCache class that checks both is writable and not disabled.
238
- * Improvement: Added option to disable just asset caching. This should help in the case your server is blocking the use of our JS from the /uploads/ folder with a 403 error.
239
- * Fix: Bug caused by string representations of boolean values passed in our subscription forms.
240
-
241
- ## v1.7.28 - 06/10/2018
242
- * Tweak: Improved validation of subscription form data and messaging.
243
- * Fix: Bug with front end form serialization issue with single checkboxes (privacy field).
244
-
245
- ## v1.7.27 - 06/08/2018
246
- * Improvement: Added additional variable checks to allow graceful failing during certain JS errors when page cache is out of date.
247
-
248
- ## v1.7.26 - 06/07/2018
249
- * Fix: Add empty popups array to prevent errors due to page caching.
250
-
251
- ## v1.7.25 - 06/05/2018
252
- * Tweak: Localized most variables earlier to prevent errors. Added in default values in case they do not get rendered to prevent fatal JS errors.
253
- * Fix: Tweaked extension activation class to be compatible with PHP 5.2.
254
- * Fix: Bug where boolean scalar values were changed to "" for json_encode.
255
-
256
- ## v1.7.24 - 06/04/2018
257
- * Tweak: Updated subscriber table for existing sites that failed to add it properly before.
258
-
259
- ## v1.7.23 - 06/04/2018
260
- * Improvement: Converted cookie privacy info to tabular rendering.
261
- * Tweak: Improved update notice text.
262
- * Fix: Issues with subscriber table not being created. Thanks @jnorell
263
- * Fix: Bug not allowing more than one cookie for a trigger.
264
- * Fix: Undefined index errors in shortcake/shortcode-ui integration.
265
-
266
- ## v1.7.22 - 05/25/2018
267
- * Tweak: Updated Freemius library for GDPR optin support.
268
- * Improvement: Made all popup loops more reliable.
269
- * Fix: Error where objects were processed incorrectly.
270
- * Fix: "Uncaught Error: Call to a member function get_setting() on boolean in /popup-maker/classes/AssetCache.php:314"
271
-
272
- ## v1.7.21 - 05/24/2018
273
- * Tweak: Clear asset cache on settings save.
274
- * Improvement: Check that post is singular to prevent Post Selected conditions from working on site index.
275
- * Improvement: Remove jquery-cookie from assets as we no longer use or load it anywhere.
276
- * Fix: Missing function errors if you don't have WordPress v4.9.6.
277
- * Fix: Added better & safer json encoding function that properly sanitizes data for encoding to prevent empty strings for non english sites.
278
-
279
- ## v1.7.20 - 05/19/2018
280
- * Feature: Support for GDPR Personal Data Exporter
281
- * Feature: Support for GDPR Personal Data Eraser
282
- * Feature: New privacy consent field for Subscription Forms for GDPR consent collection.
283
- * Feature: GDPR privacy policy guide text added.
284
- * Improvement: Updated dependency libs.
285
- * Fix: Bug in subscriber tables if no popup ID was stored.
286
-
287
- ## v1.7.19 - 05/01/2018
288
- * Version bump due to svn file add issues during last commit.
289
-
290
- ## v1.7.18 - 05/01/2018
291
- * Fix: Typo in JS that may cause errors for some.
292
-
293
- ## v1.7.17 - 05/01/2018
294
- * Improvement: Added popup option to disable automatic re-triggering of popup after non-ajax form submission.
295
- * Improvement: Added notice when JS errors occur in Popup Maker admin interfaces with link to documentation for proper diagnosis & reporting.
296
- * Tweak: Added asset cache reset on update of core version & db version.
297
- * Tweak: Removed debug code.
298
- * Tweak: Simplified the post type batch processor setup for extensions.
299
- * Dev: Added base PUM_Extension_Activator class to standardize extension activation and various other things.
300
-
301
- ## v1.7.16 - 04/24/2018
302
- * Tweak: Removed debug code.
303
- * Fix: Issue with valueless shortcode attributes not processing properly.
304
- * Fix: Issues where our scripts loaded before Ninja Forms scripts did and our integration didn't initialize.
305
- * Dev: Added helper function to return array of shortcodes and data in usable format from any content.
306
- * Dev: Added support for measure fields for shortcodes.
307
-
308
- ## v1.7.15 - 04/14/2018
309
- * Improvement: Removed metadata from object models to reduce cache size as WordPress already has them cached.
310
- * Tweak: Added new filter and corrected typo in existing ones for extension integrations.
311
- * Fix: Bug for potentially missing variable.
312
- * Fix: Bug when using WordPress older than v4.4 and viewing the subscribers table.
313
- * Fix: Bug where google fonts didn't always get loaded correctly.
314
- * Fix: Missing styles from Advanced Theme Builder due to misordering.
315
-
316
- ## v1.7.14 - 03/28/2018
317
- * Fix: Obscure PHP error caused by method from interface was marked abstract in an abstract class inheriting the interface.
318
- * Fix: Bug when jquery cookie is called from another plugin.
319
- * Fix: Bug where form submit button triggered popup close when overlay click to close was enabled.
320
- * Fix: Typo in previous patch for db_var not being updated properly.
321
-
322
- ## v1.7.13 - 03/27/2018
323
- * Tweak: Added fallback methods for conditions using MobileDetect to prevent errors when for whatever reason it was not loaded properly.
324
- * Tweak: Added value type check to prevent errors in popup data.
325
- * Fix: Bug with accessibility forced focus when there is a link in the popup, causing the close button to focus the link before closing.
326
- * Fix: Bug that caused issues with MC extensions JS loading properly.
327
- * Fix: Added fail-safe in case variables were not properly declared on page for mce-buttons.js.
328
- * Fix: Set a deprecated option on new installs for backward compatibility issues.
329
- * Fix: Selector correction in z-index setting application.
330
-
331
- ## v1.7.12 - 03/21/2018
332
- * Improvement: Added option to disable the shortcode ui.
333
- * Tweak: Removed private popup type links from the nav menu editor.
334
- * Fix: Bug with long term cached assets causing JS errors on nginx servers.
335
- * Fix: Bug with support for custom popup z-index setting.
336
- * Fix: Bug where NF loaded before Popup Maker and form actions were missing.
337
- * Fix: Bugs in close delay settings for form integrations. Was in ms but needed to be in seconds.
338
- * Fix: Bug where Yoast SEO plugin shows popups in the xml sitemaps and showing Yoast metabox on popup editor.
339
-
340
- ## v1.7.11 - 03/14/2018
341
- * Fix: Bug where Middle Center option wouldn't stay selected after saving.
342
- * Fix: Bug with incorrect field dependency for custom height & scrollable options.
343
-
344
- ## v1.7.10 - 03/14/2018
345
- * Improvement: Further improved compatibility with shortcodes that echo/print rather than return content.
346
- * Fix: Bug where cookies wouldn't always be set in Edge & Safari due to cookie path including the root url.
347
- * Fix: Bug that changed the default tag for popup_trigger & popup_close shortcodes.
348
- * Fix: Bug where extra close buttons didn't always work correctly.
349
- * Fix: Removal of deprecated function that triggered warnings in PHP 7.2.
350
-
351
- ## v1.7.9 - 03/14/2018
352
- * Improvement: Replaced usage of pumSerializeForm with pumSerializeObject which is more reliable.
353
- * Fix: Bug where deprecated directory reference causes popup html not to render properly breaking popups that should have worked otherwise.
354
- * Fix: Bug where checkbox defaults continuously applied making it impossible to uncheck them.
355
-
356
- ## v1.7.8 - 03/13/2018
357
- * Improvement: Added output buffering to early calls to do_shortcode to prevent premature output in the head.
358
- * Improvement: Added sanity checks to make sure only valid popup objects are used in some older template functions.
359
-
360
- ## v1.7.7 - 03/13/2018
361
- * Fix: Removed jQuery.serializeJSON functionality which was unused and causing conflicts with WooCommerce.
362
- * Fix: SSL Issues due to not specifying protocol.
363
- * Fix: Error caused by invalid popup object being used in function.
364
- * Fix: PHP 5.2 compatibility issue.
365
-
366
- ## v1.7.6 - 03/12/2018
367
- * Fix: Undid previous changes from 1.7.1 and reworked in a new way to be backward compatible with existing extensions.
368
-
369
- ## v1.7.5 - 03/12/2018
370
- * Fix: Sticky Popup Maker settings checkboxes that wouldn't uncheck after save.
371
-
372
- ## v1.7.4 - 03/12/2018
373
- * Fix: Invalid method declaration error introduced by v1.7.2 patch to Shortcode core class.
374
-
375
- ## v1.7.3 - 03/12/2018
376
- * Fix: Error due to usage of __CLASS__ rather than $this.
377
- * Fix: Edge case where function returns can't be used inside empty().
378
-
379
- ## v1.7.2 - 03/12/2018
380
- * Fix: Initialization variable wasn't set to true early enough.
381
-
382
- ## v1.7.1 - 03/12/2018
383
- * Fix: Empty value errors.
384
- * Fix: Missing function for 3rd party plugin backward compatibility (Elementor).
385
-
386
- ## v1.7.0 - 03/12/2018
387
- This was a monster update, our largest to date in terms of improving existing functionality, reducing maintenance and the time it takes to implement new features in the future.
388
-
389
- Noticeably there are a lot of interface changes with this version as we simplified from having many meta boxes in the popup editor to a new single panel interface.
390
-
391
- Lastly we now have include our extendable subscription forms right in the free version. We currently don't provide support for mail/service providers in the free version, but have opened up our form API in the hopes that 3rd party developers will help us fill that gap. Don't fret though, submissions are stored in a custom table for retroactive syncing to lists or export (not yet available).
392
-
393
- * Feature: Subscriber forms now included without a paid extension.
394
- * Provider API for easily extending forms to work with 3rd party providers.
395
- * New shortcode with tons of options built in.
396
- * Stores subscribers into a new custom table for import into your favorite system at a later time.
397
- * Feature: Front end asset overhaul, now uses cached static assets.
398
- * All front end assets now combined into single js & css file.
399
- * Custom styles are now saved along with all core & extension styles eliminating inline style blocks.
400
- * Reduction of footprint means massively improved loading performance.
401
- * Dynamic file creation allows for some awesome upcoming features.
402
- * Now completely compatible with plugins like Autoptimize (Thanks Frank).
403
- * Feature: Support for nearly any form, including non ajax forms.
404
- * Helper functions to integrate your 3rd party form plugins quickly.
405
- * Show thank you popups, set cookies & close popups with a delay after success (requires code).
406
- * Automatically reopen popup forms after refresh from a form submission.
407
- * Improvement: Lots of text, label & description changes to be more intuitive.
408
- * Improvement: Better 3rd party plugin support including page builders:
409
- * Popup post type is now public.
410
- * Better support for 3rd party shortcodes which require extra assets loaded (JS/CSS).
411
- * Improvement: Adding trigger now gives optional choices to create a cookie, rather than being automatic.
412
- * Improvement: New Popup Settings tabbed interface to help make settings more intuitive & easy to find on one screen.
413
- * Now all popup settings are stored in a single meta key reducing DB clutter.
414
- * Improvement: New Popup Maker Settings tabbed interface to help make settings more intuitive & easy to find on one screen.
415
- * Improvement: New Popup preview mode.
416
- * Improvement: Better page builder support by changing popup post type arg for public to true.
417
- * Improvement: Resource reduction & optimization.
418
- * Added class autoloader for core and extensions.
419
- * Greatly simplified code base & internal API structures.
420
- * Converted many internal APIs to use passive loading.
421
- * Added internal caching.
422
- * Improvement: Integrated [WPJSF](https://github.com/danieliser/WP-JS-Form-Sample-Plugin) lib for easier maintenance and quicker updates of our admin forms.
423
- * Improvement: Various improvements to smart select fields (jQuery select2) including:
424
- * Allow multiple page/post selections without reopening/searching again.
425
- * Properly highlights & shows selected items after save/reload.
426
- * Paginated/scroll based loading of more results over ajax.
427
- * Now shows list of recent "items" immediately upon clicking the field rather than requiring search.
428
- * Improvement: Admin asset handling
429
- * Modularized admin assets for easier debugging & maintenance.
430
- * Improvement: Popup Trigger shortcode can now use custom popup IDs.
431
- * Improvement: Added new batch processing system for upgrades and other processes.
432
- * Improvement: Removed a lot of old code.
433
- * Improvement: Rebuilt Shortcode UI that should be more reliable.
434
- * Improvement: Addressed most all PHP 7 notices.
435
- * Improvement: iOS scrolling issue fixes.
436
- * Improvement: Added support for KingComposer.
437
- * Tweak: Support for subdirectory sites having their own sitewide cookies.
438
- * Fix: Incorrect BuddyPress condition labels
439
- * Fix: Bug when WPML isn't yet available.
440
-
441
-
442
- ## v1.6.7 - Rolled into v1.7.0
443
- * Fix: Typo in JS event name prevented forceFocus for popups.
444
- * Fix: JS errors when Marionette JS library on page without Ninja Forms.
445
- * Fix: WPML missing variable errors.
446
-
447
- ## v1.6.6 - 07/29/2017
448
- * Fix: Bug with closing forms using newest version of Gravity Forms.
449
-
450
- ## v1.6.5 - 07/16/2017
451
- * Tweak: Added new popup class for theme names. Thanks @bluantinoo.
452
- * Fix: Bug in menu popups save and render functionality not working correctly.
453
- * Fix: Finally found issue where randomly assets tab checkboxes wouldn't uncheck & save properly.
454
- * Fix: Sanitized active tab key against whitelist.
455
- * Fix: Errors in w3c validation scans from form meta fields.
456
- * Fix: Settings asset label mismatch.
457
-
458
- ## v1.6.4 - 07/07/2017
459
- * Imporvement: Reworked all form integrations to be as DRY as possible making it more reliable.
460
- * Tweak: Added sanity check in case previous filter mucks up the $item object variable in menu item filters causing warnings.
461
- * Tweak: Disabled the open count & sorting when Popup Analytics is activated.
462
- * Tweak: Added NF datepicker CSS fix.
463
- * Tweak: Added media type to head styles to force optimization plugins to keep them in order.
464
- * Tweak: Reverted to older method of click trigger assignment to better work with multiple popups on one trigger with conditions.
465
- * Fix: Bug caused by use of a function some users host blocked.
466
- * Fix: Bug caused by debug mode being enabled with a form success cookie.
467
- * Fix: Bug when Gravity Form was not in popup but triggered a thank you popup.
468
- * Fix: Bug with GForms closing popup after submission.
469
- * Fix: Bug where CF7 Forms with required fields trigger popup to close without being filled properly.
470
-
471
- ## v1.6.3 - 05/19/2017
472
- * Fix: Removed 3rd parameter from number_format as it only accepts 1, 2 or 4 arguments, not 3 per php.net documentation.
473
-
474
- ## v1.6.2 - 05/18/2017
475
- * Fix: Bug caused by rounding to whole numbers in opacity values.
476
-
477
- ## v1.6.1 - 05/17/2017
478
- * Improvement: Major improvements to the Shortcode UI (builder & in editor previews). Now supports true live rendering of PM shortcodes. This will be most apparent in upcoming extension updates.
479
- * Fix: Forced decimal formatting in CSS output functions in case of locale changes to formatting. Fix thanks to @timhavinga
480
-
481
-
482
- ## v1.6.0 - 04/26/2017
483
- * Feature: Added Gravity Forms direct integrations.
484
- * Close popup with delay when Gravity Form is submitted.
485
- * Trigger a thank you popup when Gravity Form is submitted.
486
- * Set cookies easily when the Gravity Form is in a popup.
487
- * Feature: Added Contact Form 7 (CF7) direct integrations.
488
- * Close popup with delay when contact form 7 is submitted.
489
- * Trigger a thank you popup when contact form 7 is submitted.
490
- * Set cookies easily when the CF7 form is in a popup.
491
- * Forced CF7 assets to load when used in a popup on the off chance they don't automatically.
492
- * Tweak: Increased action priority for condition registration in case plugins register post types late, such as PODs.
493
- * Tweak: Moved popup theme styles to a very late position in the head to prevent them from being overwritten when minifying CSS.
494
- * Fix: Bug where you couldn't enter values higher than the rangeslider max.
495
- * Fix: JS error when creating a cookie before a trigger exists.
496
-
497
- ## v1.5.8 - 04/04/2017
498
- * Fix: Error when extensions were active due to null values for checkboxes.
499
-
500
-
501
- ## v1.5.7 - 03/27/2017
502
- * Improvement: Added option to disable the menu editors in case of a conflict.
503
- * Fix: Forced 100% width on page select boxes to prevent them from being too small.
504
- * Fix: Bug where checkboxes were not staying checked.
505
-
506
- ## v1.5.6 - 03/16/2017
507
- * Feature: Admin Bar helper tool to assist in getting proper click trigger selectors easily.
508
- * Improvement: Further tweaks for maximium compatibitlity with nav menu editor.
509
- * Improvement: Added Popup option to nav menu editor Screen Options to easily hide them.
510
- * Fix: Updated the freemius-sdk to fix an obscure secured php core function error.
511
-
512
- ## v1.5.5 - 03/13/2017
513
- * Improvment: Used generic Nav Menu Editor Walker classes for better support. This should remove the notices from other plugins as well.
514
- * Fix: Bug that causes click triggers to lag.
515
-
516
- ## v1.5.4 - 03/13/2017
517
- * Fix: Typos in conditions.
518
- * Fix: Moved class_exists checks to better handle possible missing class errors.
519
-
520
- ## v1.5.3 - 03/13/2017
521
- * Improvement: Added a catch for any triggers not initialized at page load.
522
- * Fix: Typo in multi check field template that led to admin JS errors.
523
-
524
- ## v1.5.2 - 03/10/2017
525
- * Improvement: Added option to disable the admin bar Popups helper menu item.
526
- * Improvement: Simplified the nav menu editor modification class to reduce un-needed translation strings.
527
- * Fix: Added check for missing class in the nav menu editor walker classes.
528
-
529
- ## v1.5.1 - 03/09/2017
530
- * Fix: PHP 5.2 Compatibility issue.
531
-
532
- ## v1.5.0 - 03/08/2017
533
- * Feature: Position popups based on the click trigger. Tooltips & Popovers are now possible.
534
- * Feature: Added new conditions for targeting children & grandchildren / ancestors of selected content.
535
- * Feature: Added new settings to the Nav Menu editor to choose a popup that a menu item will trigger.
536
- * Feature: Addded option to Disable on Tablets as well as mobile phones.
537
- * Feature: Added WooCommerce is_wc_endpoint_url conditions.
538
- * Feature: Added new click selector presets for quicker targeting & more user friendly.
539
- * Feature: Added a new debug mode. Including:
540
- * Admin Bar with manual open, close & cookie resets for loaded popups.
541
- * Improvement: New global JS functions for easily working with popups. PUM.open(123), PUM.close(123), PUM.clearCookies(123).
542
- * Improvement: Added inline links to docs for various settings.
543
- * Improvement: Reworked popup analytics to improving response times and decreasing server loads.
544
- * Moved Analytic tracking to the WP-API with a new endpoint.
545
- * Reduced number of queries by 75% for analytics tracking.
546
- * Added option to disable it entirely if absolutely neccessary.
547
- * Improvement: Many improvements to JavaScript including object caching.
548
- * Tweak: Creating a new trigger will automatically create a cookie and assign it if one doesn't exist.
549
- * Tweak: Mobile Disable was also applied to tablets, now only to phones.
550
- * Tweak: Removed readonly from rangesliders to make the fact you can manually enter any value more intuitive.
551
- * Tweak: Use CSS to display a popup immediately if has trigger: auto open: delay 0.
552
- * Tweak: Clicking elements in the visual theme preview will now scroll to the relevant section of settings.
553
- * Fix: Bug in admin when editing a trigger, cookie field didn't repopulate properly.
554
- * Fix: Bug where rangeslider values can be set to strings.
555
- * Fix: Bug where links in the close button were not triggered even when do_default was enabled.
556
- * Fix: Bug with scrollbar "flashing" when popup opens.
557
-
558
- ## v1.4.21 - 12/12/2016
559
- * Feature: Added option to disable popup on mobile to comply with [Google's new interstital policy](https://webmasters.googleblog.com/2016/08/helping-users-easily-access-content-on.html).
560
- * Tweak: Added additional paramter to the pum_popup_get_conditions filter.
561
- * Tweak: Fixed possible false init of NF integration if NF is not enabled.
562
- * Tweak: Added CSS override for Ninja Forms datepickers to properly layer them above popups.
563
-
564
- ## v1.4.20 - 10/13/2016
565
- * Feature: Added [Ninja Forms](https://wppopupmaker.com/grab/ninja-forms?utm_source=readme-changelog&utm_medium=text-link&utm_campaign=Readme&utm_content=ninja-forms-features) success actions for opening & closing popups.
566
- * Feature: Added new cookie event for successful submission of a [Ninja Forms](https://wppopupmaker.com/recommends/ninja-forms) form.
567
- * Improvement: Added wp.hooks JS library, allowing actions & filters via our plugin JS.
568
- * Tweaks: Added various admin css tweaks.
569
-
570
- ## v1.4.19 - 9/30/2016
571
- * Feature: Added a do_default parameter to the trigger & close shortcodes. This allows making close buttons that also download a file.
572
- * Improvement: Added support for JS (advanced) conditions & condition processing after checking for cookies.
573
- * Improvement: Upgraded from jQuery-Cookie (modified) to JS-Cookie (modified) for more flexibility.
574
- * Fix: Bug where color didn't update properly when first clicked in theme editor.
575
- * Fix: Added prefix to admin pages to prevent conflicts.
576
- * Fix: Removed usage of deprecated filter.
577
-
578
- ## v1.4.18 - 8/15/2016
579
- * Fix: Bug with PHP 5.2 compatibility.
580
- * Fix: Added missing post_type index condition callback.
581
-
582
- ## v1.4.17 - 8/14/2016
583
- * Fix: Bug caused by using return value in write context.
584
-
585
- ## v1.4.16 - 8/14/2016
586
- * Feature: New Condition: Pages: With Template. Thanks @cedmund.
587
- * Feature: Option to Disable reposition on window resize/scroll.
588
- * Improvement: Enable Visual Composer for Popups by default (VC 4.8+). Thanks @NoahjChampion.
589
- * Improvement: Replaced usage of gif hex code with loading of an actual tracking gif to prevent security scanners from throwing false positives.
590
- * Improvement: Changed default analytics response with a 204 no content heading, saving the need to load & return a tracking gif.
591
- * Fix: Missing condition value bug fixed by adding sanity checks to conditions on get.
592
- * Fix: Auto Height checkbox wouldn't stay unchecked.
593
- * Fix: CSS class pum-open-overlay wasn't being removed from HTML element on popup close causing issues for next popup.
594
- * Fix: Error in JS due to shortcodes: Uncaught Error: Syntax error, unrecognized expression.
595
- * Fix: Issue where some custom post types not working with conditions.
596
-
597
- ## v1.4.15 - 7/20/2016
598
- * Improvement: Only showed the aria-label attribute if the label will be shown.
599
- * Tweak: Updated the Freemius SDK.
600
- * Tweak: Updated the #popmake-{ID} selector to work at the end of a link.
601
- * Fix: Bug where stackable popups would lose their scroll bar after one was closed.
602
-
603
- ## v1.4.14 - 7/14/2016
604
- * Feature: Links with the url #popmake-{ID} will now trigger a popup when clicked. Links with this href will work similar to elements with the popmake-{ID} class.
605
-
606
- ## v1.4.13 - 6/26/2016
607
- * Feature: Added 12 of the most commonly needed BuddyPress content types & targeting conditions. Target any BP content type. Now full support for BuddyPress.
608
- * Tweak: Moved a few functions from the plugins_loaded action to the init action for minor compatibility benefits.
609
- * Tweak: Removed Popup & Popup Theme Meta Revisioning as it adds unneeded clutter to the DB.
610
-
611
- ## v1.4.12 - 6/24/2016
612
- * Improvement: Reduced translatable strings from 569 total to 439 which is about a 23% reduction which will reduce work for our translators.
613
- * Tweak: Removed the welcome page and associated CSS, images etc. This cleans up some useless strings for translation.
614
- * Fix: Bug where add_new cookie wasn't properly replaced for the first trigger.
615
-
616
- ## v1.4.11 - 6/10/2016
617
- * Feature: New conditions for targeting posts & taxonomy by ID.
618
- * Improvement: Added link to Conditions Documentation to the Conditions editor.
619
- * Tweak: Namespaced jQuery.serializeObject to prevent conflicts with other plugins/themes in the admin editor.
620
- * Fix: Bug on add new page/post and during post update.
621
- * Fix: Bug in edit this theme link on page load.
622
-
623
- ## v1.4.10 - 5/23/2016
624
- * Feature: Added Do Default option to the click triggers. Allows a triggers default browsers behavior to occur and still open a popup, such as a file link.
625
- * Improvement: Added additional links to the theme editor for better visibility and to guide users there.
626
- * Tweak: Older methods are only loaded when needed, this also removes usage of a deprecated filter.
627
- * Tweak: All Pages now includes Home Page / Front Page.
628
- * Tweak: A default click trigger is always added. (Like pre v1.4)
629
- * Fix: Low z-index caused issues when the overlay is disabled.
630
- * Fix: Bug where none animation couldn't be re-opened.
631
- * Fix: Cleaned up issues allowing popup post type to be added directly to menus and sitemaps.
632
- * Fix: Bug where auto height checkbox would not stay checked.
633
-
634
- ## v1.4.9 - 5/01/2016
635
- * Improvement: Reduced front end queries by over 85%. Avgerage sites should now only have 2 to 3.
636
- * Improvement: Added caching enhancements for even better performance on servers with page, object & query caching.
637
- * Improvement: Added a fully namespaced version of Select2 for compatiblitiy while other plugins await updating. Will gracefully fall back to the non namespaced version when it no longer causes issues.
638
- * Fix: Undefined 'amd' JS errors.
639
- * Fix: The "Use Your Theme" font option was not working correctly.
640
- * Fix: Removed leftover console.logs in our JavaScript.
641
-
642
- ## v1.4.8 - 4/27/2016
643
- * Improvement: Sandboxed Select2 v4 since it breaks other plugins when loaded properly. v4 adds accessiblity enhancements that we are not going to sacrifice for compatiblity with plugins who have not updated to include it. This provides a safe alternative in the meantime.
644
- * Tweak: Removed extra shortcode files.
645
- * Tweak: Allow popup Click Triggers to target another popups close button. Close one triggers another etc.
646
- * Fix: Bug caused by pum_shortcode_ui not loading properly everywhere.
647
- * Fix: Bug in popup position calculation when the popup used Fixed Position and Disable Overlay
648
-
649
- ## v1.4.7 - 4/24/2016
650
- * Improvement: Removed the old styles dropdown as it is no longer needed.
651
- * Improvement: Added check for old versions of Select2 and replace them with latest which is backward compatible.
652
- * Fix: Bug that caused Close button delay to not show the close button.
653
- * Fix: Replaced usage of <% style JS template with <# & {{ for PHP asp_tags compatibility.
654
-
655
- ## v1.4.6 - 4/22/2016
656
- * Fix: Bug in new post editor JS.
657
- * Fix: Added filter to override permissions for upgrade routines.
658
-
659
- ## v1.4.5 - 4/21/2016
660
- * Fix: Replaced all usage of static:: for PHP 5.2 compatiblity.
661
- * Fix: Forced the latest version of Select2 to load on Popup Maker admin pages in the case that an older version was enqueued.
662
-
663
- ## v1.4.4 - 4/20/2016
664
- * Fix: Version Bump to fix upgrade issues.
665
-
666
- ## v1.4.3 - 4/20/2016
667
- * Fix: Removed extra whitespace before opening php tags.
668
-
669
- ## v1.4.2 - 4/20/2016
670
- * Fix: Bug in popup maker deprecated filter caused by no defaults passed.
671
-
672
- ## v1.4.1 - 4/20/2016
673
- * Fix: Bug in popup maker upgrade class for older versions of PHP.
674
-
675
- ## v1.4 - 4/20/2016
676
- * Feature: Added basic analytics. Tracks how many unique opens each popup has.
677
- * Feature: Added new Popup Maker shortcodes button to the editor with visual previews.
678
- * Feature: Added option to reset popup open counts demand.
679
- * Feature: New add / remove targeting conditions UI.
680
- * Feature: Conditions can now be negative as well as grouped as AND / OR.
681
- * Feature: New conditions for targeting posts & cpt by taxonomy. IE Posts with Tag / Category.
682
- * Feature: New add / remove triggers UI that allows multiple of the same trigger per popup.
683
- * Feature: Added a new add / remove cookies UI that manages cookies separate from triggers.
684
- * Feature: Added 5 new built in themes.
685
- * Feature: Added support for pods content types.
686
- * Feature: Added full screen front end previews for admins and editors.
687
- * Feature: Added additional WooCommerce conditions such as on checkout.
688
- * Improvement: Added CSS resets to all core popup elements to ensure a reliable look.
689
- * Improvement: Popups are now rendered with their own overlay. This allows the popup to scroll inside the overlay.
690
- * Improvement: Cookie names can now be set to anything, including cookies from other plugins.
691
- * Improvement: Triggers now support checking more than one cookie.
692
- * Improvement: Accessibility & screen reader enhancements to the popups and admin.
693
- * Improvement: Auto Focus the first element in the popup when it opens for screen readers.
694
- * Improvement: Better JavaScript encapsulation and organization.
695
- * Improvement: Added support for Select2 smart dropdowns for admin interfaces.
696
- * Improvement: Added a more reliable upgrade routine system.
697
- * Improvement: Added an option to disable popup taxonomies if not in use.
698
- * Improvement: Added more reliable usage tracking via [Freemius](https://freemius.com/wordpress/).
699
- * Tweak: Updated extensions page and added a list of plugins that work well with Popup Maker.
700
- * Fixed: Super annoying fixed position checkbox glitch.
701
- * Fixed: Missing check for disabled google fonts before loading them.
702
- * Fixed: Bug where hidden about pages showed up when certain admin menu editing plugins were active.
703
- * Fixed: Bug where default theme was not properly created on install.
704
- * Fixed: Bug where non utf-8 characters were used in the name field and caused JS errors.
705
- * Fixed: Bug where popup triggers inside their own popup would cause it to close and reopen when clicked.
706
- * Dev: Introduced PUM_Fields a settings API that support _.js Templ fields.
707
- * Dev: Added new action 'pum_styles' that can be used to render custom CSS.
708
- * Dev: Added new PUM_Popup class with nearly all methods built in.
709
- * Dev: Introduced new prefix pum_ rather than popmake_.
710
-
711
- **v1.4 Change Set Statistics:**
712
- 365 Commits / 53 Major & Minor Issues Closed.
713
- 285 changed files with 20,437 additions and 3,607 deletions.
714
-
715
- ## v1.3.9 - 10/14/2015
716
- * Feature: New shortcode - [popup_close] allows adding custom close buttons/text. Ex. [popup_close] Click Me [/popup_close].
717
- * Improvement: Added SASS/SCSS files for the site & admin styles.
718
- * Improvement: Added better support for current & legacy versions of Visual Composer.
719
- * Improvement: Added check for preventClose class on a popup just before closing. If found the popup won't close.
720
- * Fix: Fixed bug in theme editor that caused Google Font variants to not show up.
721
- * Fix: Fixed bug in CSS generation where Google Font URL would become corrupted and cause a 404.
722
- * Fix: Fixed bug where fixed position would show unchecked even if it was checked.
723
- * Fix: Fixed bug in CSS that caused popup to appear below site on mobile.
724
- * Fix: WP Multi Site: Fatal Error.
725
-
726
- ## v1.3.8 - 9/29/2015
727
- * Fix: Updated links to documentation.
728
- * Fix: Removed exploitable bug allowing script execution in the admin. Discovered 9/29/15 - Patched 9/29/15
729
-
730
- ## v1.3.7 - 9/21/2015
731
- * Feature: Added support for Visual Composer to popups. (Backend Editor Only). Works Perfectly with Responsive Popups.
732
- * Tweak: Disable position fixed on mobile screens for responsive popups.
733
- * Tweak: Improved UI with better popup formats selection.
734
- * Fix: Bug with default theme not properly being created.
735
- * Fix: Bug where default & theme formats were overridden in the WP Editor.
736
- * Fix: Bug with default theme not being used for [popup] shortcode.
737
- * Fix: Bug with loading Google Fonts properly.
738
- * Fix: Errors generated by incorrectly formatted colors in the editor.
739
- * Fix: Bug with targeting conditions for categories.
740
- * Fix: Bug in positioning left & right values. Credit to @invik for the solution.
741
-
742
- ## v1.3.6 - 8/25/2015
743
- * Confirmed WP v4.3 compatibility.
744
- * Tweak: Default theme is automatically used if a popup does not have one assigned.
745
- * Fix: UI bug where fixed position checkbox wouldn't stay checked.
746
- * Fix: Bug with Theme Default values & v1.2 values not being merged.
747
-
748
- ## v1.3.5 - 8/18/2015
749
- * Tweak: Corrected missing keys for required script checks.
750
- * Fix: Error message caused by non array value from get_post_custom.
751
- * Fix: Removed missing variable.
752
- * Fix: Text corrections.
753
-
754
- ## v1.3.4 - 8/12/2015
755
- * Fix: Added px to font-size & line-height.
756
-
757
- ## v1.3.3 - 8/12/2015
758
- * Fix: Added current_action fallback function for older versions of WP.
759
- * Fix: Theme CSS rendering incorrect font settings.
760
-
761
- ## v1.3.2 - 8/10/2015
762
- * Tweak: Pause HTML5 Videos when popup closes.
763
- * Fix: Prefixed several functions that collided with some themes.
764
- * Fix: Changed default Close Height & Width to 0/auto.
765
-
766
- ## v1.3.1 - 8/8/2015
767
- * Fix: Error in get_called_class alternate function for PHP 5.2
768
- * Fix: Force theme css builder to check for empty themes.
769
- * Fix: Bug where z-indexes were incorrectly set.
770
-
771
- ## v1.3 - 8/7/2015
772
- * Feature: Added unlimited themes functionality to the core.
773
- * Feature: Allow disabling of event.prevendDefault() for on click events by adding do-default class.
774
- * Feature: Added support for session based cookies.
775
- * Feature: Add Height & Width options to Close Button for better control.
776
- * Feature: Theme styling is now rendered in the head via inline CSS with an option to disable in the case that popup styles have been moved to the theme stylesheet.
777
- * Feature: Delay showing the close button after the popup opens. Set the delay in ms.
778
- * Feature: Added stackable popups option to show more than one popup at a time. ( A stackable popup won't close other popups when its opened. )
779
- * Feature: Added WooCommerce Targeting Conditions.
780
- * Feature: Added new system info tab on the tools page to make debugging faster.
781
- * Tweak: Change default responsive mobile size to 95%.
782
- * Tweak: Change default z-index to 1999999999.
783
- * Tweak: Add ability to pass a callback to the popmake('close') method.
784
- * Tweak: Add namespace to click open event ('click.popmakeOpen').
785
- * Tweak: Add $default arg to popmake_get_popup_meta_group function.
786
- * Tweak: Auto close content tags using balanceTags().
787
- * Tweak: Added new popmake_get_popup(), get_the_popup_ID(), popmake_get_the_popup_ID(), popmake_the_popup_ID() functions.
788
- * Tweak: Check if popup is already open before auto opening.
789
- * Tweak: Add ajax="true" to gravity forms shortcodes if not there.
790
- * Tweak: Make auto open cookie key optional.
791
- * Tweak: Disable fixed position for responsive sizes.
792
- * Tweak: Compensate for Admin Bar when visible.
793
- * Tweak: Added options to disable Support & Share admin widgets.
794
- * Tweak: Added new filter popmake_popup_default_close_text to allow filtering of popup close text.
795
- * Tweak: Added close text override on a per popup basis. New option under Close Settings.
796
- * Tweak: Choosing a responsive size will automatically disable fixed position & scrollable content.
797
- * Tweak: Unneeded data attributes are now removed to clean up html.
798
- * Tweak: Meta has now been compressed into serialized arrays for popups and themes.
799
- * Tweak: Added new Meta Field management class as a step toward a more maintainable code base.
800
- * Fix: Add option to disable moving of popup to end of <body>.
801
- * Fix: Corrected input type under Click-Open Settings meta box.
802
- * Fix: Description cleanup for popup location.
803
- * Fix: Correct French translation file name.
804
- * Fix: Rewrote popup loop to not overwrite global $post breaking some content shortcodes.
805
- * Fix: Bug when clicking publish with empty name field publish becomes unclickable again.
806
- * Fix: Sitewide cookie option will not stay unchecked.
807
- * Fix: Bug where popup & popup_theme meta was stored with other post types on revision.
808
- * Fix: Bug in the popup_trigger shortcode with $content not being rendered properly.
809
-
810
- ## v1.2.2
811
- * Added (string) typecast to prevent errors in wp_localize_script when passing integers.
812
- * Added 100% French & Hungarian translations.
813
- * Added partial German translation.
814
- * Moved template.php require line to load for both admin and front end for use in ajax responses.
815
- * Changed order of admin pages to allow extensions to load before settings/help/tools pages on menu.
816
- * Added troubleshooting FAQ to readme.
817
- * Added version to JS object for backward compatibility checks.
818
- * Added check for preventOpen class before opening. This class will prevent the popup from opening.
819
- * Corrected minWidth variable name.
820
- * Added namespace to the auto open cookie event.
821
- * Changed the last open trigger to use the jQuery object instead of xpath.
822
- * Added an isScrolling variable to detect when the browser is actively scrolling.
823
- * Checked isScrolling before adding overflow styles to the HTML element to prevent glitching.
824
- * Temporarily removed the grow animations due to removal of Greensock Animation Platform.
825
- * Removed Greensock Animation Platform dependancy.
826
-
827
- ## v1.2.1
828
- * Fixed bug caused by null value passed to JS data attr.
829
-
830
- ## v1.2
831
- * Added full screen preview for themes when editing using the Preview button.
832
- * Added full screen preview for popup when editing using the Preview button.
833
- * Added new shortcode 'popup_trigger' that allows users to easily add the correct popmake- class. Accepts id, tag & class parameters.
834
- * Updated GSAP JS plugin to latest version.
835
- * Removed jQuery.gsap.js usage.
836
- * Added fallback list of Google Fonts for when API is unavailable.
837
- * Setup extensions page to use a static list of extensions for the time being.
838
- * Updated API url.
839
- * Removed Popmake_Admin_Notices class as it was unused.
840
- * Fixed bug where share metabox wouldn't stay hidden.
841
- * Added function to prevent deletion of default theme.
842
- * Fixed bug which caused Popup Maker menu to show to all users.
843
-
844
- ## v1.1.10
845
- * Fixed invalid argument bug passed to google font foreach.
846
- * Fixed CSS box-sizing cross browser support.
847
-
848
- ## v1.1.9
849
- * Added %'s to reponsive sizes in size dropdown.
850
- * Remove usage of the_content and the_content filters.
851
- * Fixed responsive sizes.
852
-
853
- ## v1.1.8
854
- * Fixed issue with admin menu position collisions.
855
- * Fixed issue with banner not staying dismissed.
856
- * Removed dependency jQuery.cookie
857
- * Fixed bug in auto open when cookie was set before delay was up.
858
- * Added new setCookie JS event. Used to manually set a popups cookies. Usage jQuery('#popmake-123').trigger('popmakeSetCookie');
859
- * Added new z-index override values. This helps with theme compatibility and future multi popup capability.
860
- * Added Blog Index support. Available under targeting conditions 'On Blog Index' & 'Exclude On Blog Index'.
861
- * Added better responsive image handling.
862
- * Added Admin Debug option for popups.
863
- * Changed jquery-ui-position collission property to none to solve positioning issues.
864
- * Disabled Popup Maker JS & CSS when no popups detected to load.
865
- * Added new function popmake_enqueue_scripts() which allows manual enqueuing of scripts and styles.
866
-
867
- ## v1.1.7
868
- * Fixed undefined function popmake_default_settings.
869
- * Fixed specific pages not saving properly.
870
- * Now removes ?autoplay parameter from Videos preventing them from playing again without interaction.
871
-
872
- ## v1.1.6
873
- * Fixed bug in js not setting correct CSS value for min-width.
874
- * Changed close link element tag from a > span.
875
-
876
- ## v1.1.5
877
- * Fixed bug when clicking add selected buttons.
878
- * Changed how popmake_popup_is_loadable works. It is now more organized and readable.
879
- * Added 2 new Targeting Conditions: Search & 404.
880
-
881
- ## v1.1.4
882
- * Fixed bug in scrollable content styles.
883
- * Fixed bug in admin JS for duplicate input names.
884
- * Changed Powered By Setting to Off by Default.
885
- * Changed default permissions required to use theme builder.
886
- * Fixed bug in targeting conditions.
887
-
888
- ## v1.1.3
889
- * Fixed some incorrect links to resources and kb.
890
- * Removed Auto Open Promotional Material ( as it is now included ).
891
-
892
- ## v1.1.2
893
- * Further enhancements to ensure proper checking of Auto Open Enabled.
894
-
895
- ## v1.1.1
896
- * Fixed bug in JS that didn't properly check if Auto Open was enabled.
897
-
898
- ## v1.1
899
- * Added Importer for Easy Modal v2 - Availabe under Tools -> Import
900
- * Added Easy Modal v2 Compatibility Option - Available under Settings -> Misc (This will allow all of your existing eModal classes to open the proper Popup once imported)
901
- * Added custom selector functionality - Availabe on Modal editor (This will allow you to use your own css selectors that when clicked will trigger the popup to open. Ex. #main-menu li.menu-item-3 would cause the corresponding menu item to trigger that popup)
902
-
903
- ## v1.0.5
904
- * Fixed bug caused by changes in v1.0.4.
905
-
906
- ## v1.0.4
907
- * Admin UI Adjustments & Tweaks.
908
- * Fixed bug in removing specific post types.
909
- * Reformatted Code.
910
- * Fixed incorrect variable.
911
-
912
- ## v1.0.3
913
- * Fixed bug with recursive filter.
914
- * Fixed bug caused by typo.
915
- * Fixed bug in JS for removing specific post type posts.
916
-
917
- ## v1.0.2
918
- * Resized Extension page images to load quicker on extensions page.
919
- * Added last_open_popup proerty to popmake jQuery function.
920
- * Resized Extension page images to load quicker on extensions page.
921
- * Fixed misc Admin Styles.
922
- * Corrected support links.
923
- * Fixed Bug in Meta boxes on settings page.
924
- * Renamed files appropriately.
925
- * Added new section callback for settings API.
926
- * Fixed small glitch in Opt In for Credit Link.
927
-
928
- ## v1.0.1
929
- * Removed links to getting started from "Dashboard" Admin Menu.
930
- * Added Line Height Setting to Both Title and Close, Allowing Perfect Circles for close button.
931
- * Updated admin styles.
932
- * Misc Admin changes, including new filters/hooks for upcoming extensions.
933
-
934
- ## v1.0.0
935
- * Initial Release
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/images/admin/dashboard-icon.png CHANGED
Binary file
assets/images/admin/display-switcher/center-popup.png CHANGED
Binary file
assets/images/admin/display-switcher/left-bottom-notice.png CHANGED
Binary file
assets/images/admin/display-switcher/right-bottom-slidein.png CHANGED
Binary file
assets/images/admin/display-switcher/top-bar.png CHANGED
Binary file
assets/images/admin/icon-info-21x21.png CHANGED
Binary file
assets/images/admin/popup-maker-icon.png CHANGED
Binary file
assets/images/beacon.gif CHANGED
Binary file
assets/images/extensions/advanced-targeting-conditions.png CHANGED
Binary file
assets/images/extensions/advanced-theme-builder.png CHANGED
Binary file
assets/images/extensions/age-verification-modals.png CHANGED
Binary file
assets/images/extensions/ajax-login-modals.png CHANGED
Binary file
assets/images/extensions/aweber-integration.png CHANGED
Binary file
assets/images/extensions/core-extensions-bundle.png CHANGED
Binary file
assets/images/extensions/edd-pro.png ADDED
Binary file
assets/images/extensions/exit-intent-popups.png CHANGED
Binary file
assets/images/extensions/forced-interaction.png CHANGED
Binary file
assets/images/extensions/geotargeting.png ADDED
Binary file
assets/images/extensions/mailchimp-integration.png CHANGED
Binary file
assets/images/extensions/popup-analytics.png CHANGED
Binary file
assets/images/extensions/remote-content.png CHANGED
Binary file
assets/images/extensions/scheduling.png ADDED
Binary file
assets/images/extensions/scroll-triggered-popups.png CHANGED
Binary file
assets/images/extensions/secure-idle-user-logout.png CHANGED
Binary file
assets/images/extensions/terms-conditions-popups.png CHANGED
Binary file
assets/images/extensions/videos.png ADDED
Binary file
assets/images/extensions/woocommerce-pro.png ADDED
Binary file
assets/images/icon-256x256.jpg CHANGED
Binary file
assets/images/logo.png CHANGED
Binary file
assets/images/plugins/beaver-builder.png DELETED
Binary file
assets/images/plugins/caldera-forms.png DELETED
Binary file
assets/images/plugins/contact-form-7.png DELETED
Binary file
assets/images/plugins/content-control.png DELETED
Binary file
assets/images/plugins/gravity-forms.png DELETED
Binary file
assets/images/plugins/mc4wp.png DELETED
Binary file
assets/images/plugins/ninja-forms.png DELETED
Binary file
assets/images/plugins/user-menus.png DELETED
Binary file
assets/images/plugins/wp-forms.png DELETED
Binary file
assets/images/support-pane-docs-icon.png CHANGED
Binary file
assets/images/support-pane-extensions-icon.png CHANGED
Binary file
assets/images/support-pane-wpforums-icon.png CHANGED
Binary file
assets/images/upsell-icon-advanted-theme-builder.png CHANGED
Binary file
assets/images/upsell-icon-forced-interaction.png CHANGED
Binary file
classes/Admin/Extend.php CHANGED
@@ -184,6 +184,11 @@ class PUM_Admin_Extend {
184
  'advanced-targeting-conditions',
185
  'secure-idle-user-logout',
186
  'terms-conditions-popups',
 
 
 
 
 
187
  ) );
188
  }
189
 
184
  'advanced-targeting-conditions',
185
  'secure-idle-user-logout',
186
  'terms-conditions-popups',
187
+ 'videos',
188
+ 'edd-pro',
189
+ 'woocommerce-pro',
190
+ 'geotargeting',
191
+ 'scheduling',
192
  ) );
193
  }
194
 
classes/Admin/Templates.php CHANGED
@@ -487,7 +487,7 @@ class PUM_Admin_Templates {
487
  'popup_trigger_add_type' => array(
488
  'id' => 'popup_trigger_add_type',
489
  'name' => "",
490
- 'label' => __( 'Choose what type of trigger to add?', 'popup-maker' ),
491
  'type' => 'select',
492
  'options' => PUM_Triggers::instance()->dropdown_list(),
493
  ),
@@ -520,7 +520,7 @@ class PUM_Admin_Templates {
520
 
521
  print(PUM_Admin.templates.modal({
522
  id: 'pum_trigger_add_type_modal',
523
- title: '<?php _e( 'Choose what type of trigger to add?', 'popup-maker' ); ?>',
524
  content: content,
525
  save_button: pum_admin_vars.I10n.add || '<?php __( 'Add', 'popup-maker' ); ?>'
526
  }));
487
  'popup_trigger_add_type' => array(
488
  'id' => 'popup_trigger_add_type',
489
  'name' => "",
490
+ 'label' => __( 'What kind of trigger do you want?', 'popup-maker' ),
491
  'type' => 'select',
492
  'options' => PUM_Triggers::instance()->dropdown_list(),
493
  ),
520
 
521
  print(PUM_Admin.templates.modal({
522
  id: 'pum_trigger_add_type_modal',
523
+ title: '<?php _e( 'New Trigger', 'popup-maker' ); ?>',
524
  content: content,
525
  save_button: pum_admin_vars.I10n.add || '<?php __( 'Add', 'popup-maker' ); ?>'
526
  }));
includes/deprecated-filters.php CHANGED
@@ -99,7 +99,7 @@ add_filter( 'pum_popup_content', 'pum_deprecated_get_the_popup_content_filter',
99
  *
100
  * @return mixed
101
  */
102
- function pum_deprecated_pum_popup_get_data_attr_filter( $data_attr = array(), $popup_id ) {
103
  if ( has_filter( 'pum_popup_get_data_attr' ) ) {
104
  PUM_Utils_Logging::instance()->log_deprecated_notice( 'filter:pum_popup_get_data_attr', '1.7.0', 'filter:pum_popup_data_attr' );
105
  /**
99
  *
100
  * @return mixed
101
  */
102
+ function pum_deprecated_pum_popup_get_data_attr_filter( $data_attr, $popup_id ) {
103
  if ( has_filter( 'pum_popup_get_data_attr' ) ) {
104
  PUM_Utils_Logging::instance()->log_deprecated_notice( 'filter:pum_popup_get_data_attr', '1.7.0', 'filter:pum_popup_data_attr' );
105
  /**
includes/functions/popups/template.php CHANGED
@@ -73,6 +73,20 @@ function pum_popup_data_attr( $popup_id = null ) {
73
  echo 'data-popmake="' . esc_attr( wp_json_encode( $popup->get_data_attr() ) ) . '"';
74
  }
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
 
77
  /**
78
  * Render the popup close button text.
73
  echo 'data-popmake="' . esc_attr( wp_json_encode( $popup->get_data_attr() ) ) . '"';
74
  }
75
 
76
+ /**
77
+ * Render the popup's content tabindex attribute to make focusable
78
+ * if needed.
79
+ */
80
+ function pum_popup_content_tabindex_attr( $popup_id = null ) {
81
+ $popup = pum_get_popup( $popup_id );
82
+
83
+ if ( ! pum_is_popup( $popup ) ) {
84
+ return;
85
+ }
86
+
87
+ // Greater or equal to 0 makes it focusable.
88
+ echo 'tabindex="0"';
89
+ }
90
 
91
  /**
92
  * Render the popup close button text.
languages/popup-maker-ar.mo DELETED
Binary file
languages/popup-maker-da.mo DELETED
Binary file
languages/popup-maker-da_DK.mo DELETED
Binary file
languages/popup-maker-de_DE.mo DELETED
Binary file
languages/popup-maker-es.mo DELETED
Binary file
languages/popup-maker-fr.mo DELETED
Binary file
languages/popup-maker-hu_HU.mo DELETED
Binary file
languages/popup-maker-it_CH.mo DELETED
Binary file
languages/popup-maker-it_IT.mo DELETED
Binary file
languages/popup-maker-no.mo DELETED
Binary file
languages/popup-maker-ru_RU.mo DELETED
Binary file
languages/popup-maker-sk_SK.mo DELETED
Binary file
languages/popup-maker-sv_SE.mo DELETED
Binary file
languages/popup-maker.pot CHANGED
@@ -1996,8 +1996,8 @@ msgstr ""
1996
  msgid "Insert Preset"
1997
  msgstr ""
1998
 
1999
- #: classes/Admin/Templates.php:490, classes/Admin/Templates.php:523
2000
- msgid "Choose what type of trigger to add?"
2001
  msgstr ""
2002
 
2003
  #: classes/Admin/Templates.php:499
@@ -2008,6 +2008,10 @@ msgstr ""
2008
  msgid "Stop showing popup once visitor takes this action:"
2009
  msgstr ""
2010
 
 
 
 
 
2011
  #: classes/Admin/Templates.php:547
2012
  msgid "Conditions allow you to show your popup to a targeted segment of your sites users."
2013
  msgstr ""
1996
  msgid "Insert Preset"
1997
  msgstr ""
1998
 
1999
+ #: classes/Admin/Templates.php:490
2000
+ msgid "What kind of trigger do you want?"
2001
  msgstr ""
2002
 
2003
  #: classes/Admin/Templates.php:499
2008
  msgid "Stop showing popup once visitor takes this action:"
2009
  msgstr ""
2010
 
2011
+ #: classes/Admin/Templates.php:523
2012
+ msgid "New Trigger"
2013
+ msgstr ""
2014
+
2015
  #: classes/Admin/Templates.php:547
2016
  msgid "Conditions allow you to show your popup to a targeted segment of your sites users."
2017
  msgstr ""
popup-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Popup Maker
4
  * Plugin URI: https://wppopupmaker.com/?utm_campaign=plugin-info&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
- * Version: 1.16.1
7
  * Author: Popup Maker
8
  * Author URI: https://wppopupmaker.com/?utm_campaign=plugin-info&utm_source=plugin-header&utm_medium=author-uri
9
  * License: GPL2 or later
@@ -93,7 +93,7 @@ class Popup_Maker {
93
  /**
94
  * @var string Plugin Version
95
  */
96
- public static $VER = '1.16.1';
97
 
98
  /**
99
  * @var int DB Version
3
  * Plugin Name: Popup Maker
4
  * Plugin URI: https://wppopupmaker.com/?utm_campaign=plugin-info&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
+ * Version: 1.16.2
7
  * Author: Popup Maker
8
  * Author URI: https://wppopupmaker.com/?utm_campaign=plugin-info&utm_source=plugin-header&utm_medium=author-uri
9
  * License: GPL2 or later
93
  /**
94
  * @var string Plugin Version
95
  */
96
+ public static $VER = '1.16.2';
97
 
98
  /**
99
  * @var int DB Version
postcss.config.js DELETED
@@ -1,12 +0,0 @@
1
- /*******************************************************************************
2
- * Copyright (c) 2020, Code Atlantic LLC.
3
- ******************************************************************************/
4
-
5
- module.exports = {
6
- plugins: {
7
- precss: {},
8
- autoprefixer: {
9
- browsers: [ 'last 2 versions' ],
10
- },
11
- },
12
- };
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,11 +3,11 @@ Contributors: danieliser, codeatlantic
3
  Author URI: https://wppopupmaker.com/?utm_campaign=readme&utm_medium=referral&utm_source=readme-header&utm_content=author-url
4
  Plugin URI: https://wppopupmaker.com/?utm_campaign=readme&utm_medium=referral&utm_source=readme-header&utm_content=plugin-url
5
  Donate link:
6
- Tags: marketing, ecommerce, popup, popups, optin, conversion, promotion, pop-up, lightbox, modal
7
  Requires at least: 4.9
8
- Tested up to: 5.7
9
  Requires PHP: 5.6
10
- Stable tag: 1.16.1
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -181,7 +181,14 @@ There are several common causes for this, check [this guide for help](https://do
181
 
182
  View our [complete changelog](https://github.com/PopupMaker/Popup-Maker/blob/master/CHANGELOG.md) for up-to-date information on what has been going on with the development of Popup Maker.
183
 
184
- = v1.16.1 - 03/21/2021
 
 
 
 
 
 
 
185
  * Fix: WP <5.0 and ClassicPress saw errors in the admin for usage of WP_Block_Type_Registry. [Issue #995](https://github.com/PopupMaker/Popup-Maker/issues/995)
186
 
187
  = v1.16.0 - 03/09/2021 =
3
  Author URI: https://wppopupmaker.com/?utm_campaign=readme&utm_medium=referral&utm_source=readme-header&utm_content=author-url
4
  Plugin URI: https://wppopupmaker.com/?utm_campaign=readme&utm_medium=referral&utm_source=readme-header&utm_content=plugin-url
5
  Donate link:
6
+ Tags: marketing, ecommerce, popup, popups, optin, conversion, promotion, pop-up, lightbox, modal, popupmaker
7
  Requires at least: 4.9
8
+ Tested up to: 5.8
9
  Requires PHP: 5.6
10
+ Stable tag: 1.16.2
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
181
 
182
  View our [complete changelog](https://github.com/PopupMaker/Popup-Maker/blob/master/CHANGELOG.md) for up-to-date information on what has been going on with the development of Popup Maker.
183
 
184
+ = v1.16.2 - 07/07/2021 =
185
+ * Improvement: All plugin images optimized for size. This only affects our admin pages.
186
+ * Improvement: Various label & text changes.
187
+ * Improvement: Improved focus when popups content is taller than screen and first focusable element is off screen.
188
+ * Fix: Focus trapping issue when no focusable elements within popup contents.
189
+ * Fix: Deprecated function parameter notices on PHP 8.
190
+
191
+ = v1.16.1 - 03/21/2021 =
192
  * Fix: WP <5.0 and ClassicPress saw errors in the admin for usage of WP_Block_Type_Registry. [Issue #995](https://github.com/PopupMaker/Popup-Maker/issues/995)
193
 
194
  = v1.16.0 - 03/09/2021 =
templates/popup.php CHANGED
@@ -26,7 +26,7 @@
26
  * Render the content.
27
  */
28
  ?>
29
- <div class="<?php pum_popup_classes( null, 'content' ); ?>">
30
  <?php pum_popup_content(); ?>
31
  </div>
32
 
26
  * Render the content.
27
  */
28
  ?>
29
+ <div class="<?php pum_popup_classes( null, 'content' ); ?>" <?php pum_popup_content_tabindex_attr(); ?>>
30
  <?php pum_popup_content(); ?>
31
  </div>
32