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

Version Description

Download this release

Release Info

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

Code changes from version 1.7.22 to 1.7.23

classes/Abstract/Database.php CHANGED
@@ -33,11 +33,17 @@ abstract class PUM_Abstract_Database {
33
  * Get things started
34
  */
35
  public function __construct() {
 
 
36
  $current_db_version = get_option( $this->table_name . '_db_version' );
37
 
38
  if ( ! $current_db_version || $current_db_version < $this->version ) {
39
  // Install the table.
40
  @$this->create_table();
 
 
 
 
41
  }
42
  }
43
 
33
  * Get things started
34
  */
35
  public function __construct() {
36
+ global $wpdb;
37
+
38
  $current_db_version = get_option( $this->table_name . '_db_version' );
39
 
40
  if ( ! $current_db_version || $current_db_version < $this->version ) {
41
  // Install the table.
42
  @$this->create_table();
43
+
44
+ if ( $wpdb->get_var( "SHOW TABLES LIKE '$this->table_name'" ) == $this->table_name ) {
45
+ update_option( $this->table_name . '_db_version', $this->version );
46
+ }
47
  }
48
  }
49
 
classes/Admin/Popups.php CHANGED
@@ -164,7 +164,7 @@ class PUM_Admin_Popups {
164
 
165
  <div id="pum-popup-settings-container" class="pum-popup-settings-container">
166
  <div class="pum-no-js" style="padding: 0 12px;">
167
- <p><?php printf( __( 'If you are seeing this, the most likely cause is that there are Javascript errors on this page. %sView troubleshooting guide%s', 'popup-maker' ), '<a href="https://docs.wppopupmaker.com/article/373-checking-for-javascript-errors" target="_blank">', '</a>' ); ?></p>
168
  </div>
169
  </div>
170
  <?php
164
 
165
  <div id="pum-popup-settings-container" class="pum-popup-settings-container">
166
  <div class="pum-no-js" style="padding: 0 12px;">
167
+ <p><?php printf( __( 'If you are seeing this, the page is still loading or there are Javascript errors on this page. %sView troubleshooting guide%s', 'popup-maker' ), '<a href="https://docs.wppopupmaker.com/article/373-checking-for-javascript-errors" target="_blank">', '</a>' ); ?></p>
168
  </div>
169
  </div>
170
  <?php
classes/Admin/Settings.php CHANGED
@@ -503,7 +503,7 @@ class PUM_Admin_Settings {
503
 
504
  <div id="pum-settings-container" class="pum-settings-container">
505
  <div class="pum-no-js" style="padding: 0 12px;">
506
- <p><?php printf( __( 'If you are seeing this, the most likely cause is that there are Javascript errors on this page. %sView troubleshooting guide%s', 'popup-maker' ), '<a href="https://docs.wppopupmaker.com/article/373-checking-for-javascript-errors" target="_blank">', '</a>' ); ?></p>
507
  </div>
508
  </div>
509
 
503
 
504
  <div id="pum-settings-container" class="pum-settings-container">
505
  <div class="pum-no-js" style="padding: 0 12px;">
506
+ <p><?php printf( __( 'If you are seeing this, the page is still loading or there are Javascript errors on this page. %sView troubleshooting guide%s', 'popup-maker' ), '<a href="https://docs.wppopupmaker.com/article/373-checking-for-javascript-errors" target="_blank">', '</a>' ); ?></p>
507
  </div>
508
  </div>
509
 
classes/DB/Subscribers.php CHANGED
@@ -86,10 +86,10 @@ class PUM_DB_Subscribers extends PUM_Abstract_Database {
86
 
87
  $sql = "CREATE TABLE " . $this->table_name() . " (
88
  `ID` BIGINT(20) NOT NULL AUTO_INCREMENT,
89
- `email_hash` VARCHAR(255) NOT NULL,
90
  `popup_id` BIGINT(20) NOT NULL,
91
  `user_id` BIGINT(20) NOT NULL,
92
- `email` VARCHAR(255) NOT NULL,
93
  `name` VARCHAR(255) NOT NULL,
94
  `fname` VARCHAR(255) NOT NULL,
95
  `lname` VARCHAR(255) NOT NULL,
86
 
87
  $sql = "CREATE TABLE " . $this->table_name() . " (
88
  `ID` BIGINT(20) NOT NULL AUTO_INCREMENT,
89
+ `email_hash` VARCHAR(32) NOT NULL,
90
  `popup_id` BIGINT(20) NOT NULL,
91
  `user_id` BIGINT(20) NOT NULL,
92
+ `email` VARCHAR(191) NOT NULL,
93
  `name` VARCHAR(255) NOT NULL,
94
  `fname` VARCHAR(255) NOT NULL,
95
  `lname` VARCHAR(255) NOT NULL,
classes/Options.php CHANGED
@@ -66,7 +66,7 @@ class PUM_Options {
66
  * Looks to see if the specified setting exists, returns default if not
67
  *
68
  * @param string $key
69
- * @param bool $default
70
  *
71
  * @return mixed
72
  */
@@ -86,7 +86,7 @@ class PUM_Options {
86
  * Warning: Passing in an empty, false or null string value will remove
87
  * the key from the _options array.
88
  *
89
- * @param string $key The Key to update
90
  * @param string|bool|int $value The value to set the key to
91
  *
92
  * @return boolean True if updated, false if not.
@@ -137,7 +137,7 @@ class PUM_Options {
137
  $options = get_option( self:: $_prefix . 'settings' );
138
 
139
  // Lets merge options that may exist previously that are not existing now.
140
- $new_options = wp_parse_args( $new_options,$options);
141
 
142
  $did_update = update_option( self:: $_prefix . 'settings', $new_options );
143
 
@@ -199,7 +199,7 @@ class PUM_Options {
199
  $options = get_option( self:: $_prefix . 'settings' );
200
 
201
  // Remove each key/value pair.
202
- foreach( $keys as $key ) {
203
  if ( isset( $options[ $key ] ) ) {
204
  unset( $options[ $key ] );
205
  }
@@ -227,7 +227,10 @@ class PUM_Options {
227
  $options = self::get_all();
228
 
229
  foreach ( $remap_array as $key => $new_key ) {
230
- $options[ $new_key ] = self::get( $key, false );
 
 
 
231
  unset( $options[ $key ] );
232
  }
233
 
66
  * Looks to see if the specified setting exists, returns default if not
67
  *
68
  * @param string $key
69
+ * @param bool $default
70
  *
71
  * @return mixed
72
  */
86
  * Warning: Passing in an empty, false or null string value will remove
87
  * the key from the _options array.
88
  *
89
+ * @param string $key The Key to update
90
  * @param string|bool|int $value The value to set the key to
91
  *
92
  * @return boolean True if updated, false if not.
137
  $options = get_option( self:: $_prefix . 'settings' );
138
 
139
  // Lets merge options that may exist previously that are not existing now.
140
+ $new_options = wp_parse_args( $new_options, $options );
141
 
142
  $did_update = update_option( self:: $_prefix . 'settings', $new_options );
143
 
199
  $options = get_option( self:: $_prefix . 'settings' );
200
 
201
  // Remove each key/value pair.
202
+ foreach ( $keys as $key ) {
203
  if ( isset( $options[ $key ] ) ) {
204
  unset( $options[ $key ] );
205
  }
227
  $options = self::get_all();
228
 
229
  foreach ( $remap_array as $key => $new_key ) {
230
+ $value = self::get( $key, false );
231
+ if ( ! empty( $value ) ) {
232
+ $options[ $new_key ] = $value;
233
+ }
234
  unset( $options[ $key ] );
235
  }
236
 
classes/Privacy.php CHANGED
@@ -52,8 +52,7 @@ class PUM_Privacy {
52
  <p class="privacy-policy-tutorial"><?php _e( 'If you have used them in your popups to collect email subscribers, use this subsection to note what personal data is captured when someone submits a subscription form, and how long you keep it.', 'popup-maker' ); ?></p>
53
  <p class="privacy-policy-tutorial"><?php _e( 'For example, you may note that you keep form submissions for ongoing marketing purposes.', 'popup-maker' ); ?></p>
54
  <p><?php echo $suggested_text . __( 'If you submit a subscription form on our site you will be opting in for us to save your name, email address and other relevant information.', 'popup-maker' ); ?></p>
55
- <p><?php _e( 'These subscriptions are used to notify you about related content, discounts & other special offers.', 'popup-maker' ); ?></p>
56
- <p><?php _e( 'You can opt our or unsubscribe at any time in the future by clicking link in the bottom of any email.', 'popup-maker' ); ?></p>
57
 
58
  <h3><?php _e( 'Cookies', 'popup-maker' ); ?></h3>
59
  <p class="privacy-policy-tutorial"><?php _e( 'Popup Maker uses cookies for most popups. The primary function is to prevent your users from being annoyed by seeing the same popup repeatedly.', 'popup-maker' ); ?></p>
@@ -63,10 +62,33 @@ class PUM_Privacy {
63
  $cookies = self::get_all_cookies();
64
  if ( ! empty( $cookies ) ) : ?>
65
  <p class="privacy-policy-tutorial"><?php _e( 'Below is a list of all cookies currently registered within your popup settings. These are here for you to disclose if you are so required.', 'popup-maker' ); ?></p>
66
- <ul class="ul-square">
67
- <li><?php echo implode( '</li><li>', $cookies ); ?></li>
68
- </ul>
69
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
  <p><?php echo $suggested_text . __( 'We use anonymous cookies to prevent users from seeing the same popup repetitively in an attempt to make our users experience more pleasant while still delivering time sensitive messaging.', 'popup-maker' ); ?></p>
72
 
@@ -75,8 +97,7 @@ class PUM_Privacy {
75
 
76
  <h2><?php _e( 'How long we retain your data', 'popup-maker' ); ?></h2>
77
  <p><?php _e( 'Subscriber information is retained in the local database indefinitely for analytic tracking purposes and for future export.', 'popup-maker' ); ?></p>
78
- <p><?php _e( 'Data will be exported or removed upon users request via the existing Exporter or Eraser.', 'popup-maker' ); ?></p>
79
- <p><?php _e( 'If syncing data to a 3rd party service (for example Mailchimp), data is retained there until unsubscribed or deleted.', 'popup-maker' ); ?></p>
80
 
81
  <h2><?php _e( 'Where we send your data', 'popup-maker' ); ?></h2>
82
  <p><?php _e( 'Popup Maker does not send any user data outside of your site by default.', 'popup-maker' ); ?></p>
@@ -388,7 +409,23 @@ class PUM_Privacy {
388
  if ( ! empty( $pcookies ) ) {
389
  foreach ( $pcookies as $cookie ) {
390
  if ( ! empty ( $cookie['settings']['name'] ) ) {
391
- $cookies[ $cookie['settings']['name'] ] = $cookie['settings']['name'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
392
  }
393
  }
394
  }
52
  <p class="privacy-policy-tutorial"><?php _e( 'If you have used them in your popups to collect email subscribers, use this subsection to note what personal data is captured when someone submits a subscription form, and how long you keep it.', 'popup-maker' ); ?></p>
53
  <p class="privacy-policy-tutorial"><?php _e( 'For example, you may note that you keep form submissions for ongoing marketing purposes.', 'popup-maker' ); ?></p>
54
  <p><?php echo $suggested_text . __( 'If you submit a subscription form on our site you will be opting in for us to save your name, email address and other relevant information.', 'popup-maker' ); ?></p>
55
+ <p><?php _e( 'These subscriptions are used to notify you about related content, discounts & other special offers.', 'popup-maker' ); ?></p> <p><?php _e( 'You can opt our or unsubscribe at any time in the future by clicking link in the bottom of any email.', 'popup-maker' ); ?></p>
 
56
 
57
  <h3><?php _e( 'Cookies', 'popup-maker' ); ?></h3>
58
  <p class="privacy-policy-tutorial"><?php _e( 'Popup Maker uses cookies for most popups. The primary function is to prevent your users from being annoyed by seeing the same popup repeatedly.', 'popup-maker' ); ?></p>
62
  $cookies = self::get_all_cookies();
63
  if ( ! empty( $cookies ) ) : ?>
64
  <p class="privacy-policy-tutorial"><?php _e( 'Below is a list of all cookies currently registered within your popup settings. These are here for you to disclose if you are so required.', 'popup-maker' ); ?></p>
65
+ <table class="wp-list-table" style="width: 100%;">
66
+ <thead>
67
+ <tr>
68
+ <th align="left"><?php _e( 'Cookie Name', 'popup-maker' ); ?></th>
69
+ <th align="left"><?php _e( 'Usage', 'popup-maker' ); ?></th>
70
+ <th align="left"><?php _e( 'Time', 'popup-maker' ); ?></th>
71
+ </tr>
72
+ </thead>
73
+ <tbody style="border: 1px solid;"><?php
74
+ foreach ( $cookies as $cookie ) {
75
+ if ( ! is_array( $cookie ) ) {
76
+ continue;
77
+ }
78
+
79
+ $cookie = wp_parse_args( $cookie, array(
80
+ 'name' => '',
81
+ 'label' => '',
82
+ 'time' => '',
83
+ ) );
84
+
85
+ printf( '<tr><td style="border-top: 1px dashed;">%s</td><td style="border-top: 1px dashed;">%s</td><td style="border-top: 1px dashed;">%s</td></tr>', $cookie['name'], $cookie['label'], $cookie['time'] );
86
+ }
87
+ ?>
88
+ </tbody>
89
+ </table>
90
+ <?php
91
+ endif; ?>
92
 
93
  <p><?php echo $suggested_text . __( 'We use anonymous cookies to prevent users from seeing the same popup repetitively in an attempt to make our users experience more pleasant while still delivering time sensitive messaging.', 'popup-maker' ); ?></p>
94
 
97
 
98
  <h2><?php _e( 'How long we retain your data', 'popup-maker' ); ?></h2>
99
  <p><?php _e( 'Subscriber information is retained in the local database indefinitely for analytic tracking purposes and for future export.', 'popup-maker' ); ?></p>
100
+ <p><?php _e( 'Data will be exported or removed upon users request via the existing Exporter or Eraser.', 'popup-maker' ); ?></p> <p><?php _e( 'If syncing data to a 3rd party service (for example Mailchimp), data is retained there until unsubscribed or deleted.', 'popup-maker' ); ?></p>
 
101
 
102
  <h2><?php _e( 'Where we send your data', 'popup-maker' ); ?></h2>
103
  <p><?php _e( 'Popup Maker does not send any user data outside of your site by default.', 'popup-maker' ); ?></p>
409
  if ( ! empty( $pcookies ) ) {
410
  foreach ( $pcookies as $cookie ) {
411
  if ( ! empty ( $cookie['settings']['name'] ) ) {
412
+ $current_time = 0;
413
+ if ( ! empty( $cookies[ $cookie['settings']['name'] ] ) ) {
414
+ $current_time = strtotime( '+' . $cookies[ $cookie['settings']['name'] ]['time'] );
415
+ }
416
+
417
+ if ( empty( $cookies[ $cookie['settings']['name'] ] ) ) {
418
+ $cookies[ $cookie['settings']['name'] ] = array(
419
+ 'label' => __( 'Cookie used to prevent popup from displaying repeatedly.', 'popup-maker' ),
420
+ 'name' => $cookie['settings']['name'],
421
+ 'time' => $cookie['settings']['time'],
422
+ );
423
+ }
424
+
425
+ $new_time = strtotime( '+' . $cookie['settings']['time'] );
426
+ if ( $new_time > $current_time ) {
427
+ $cookies[ $cookie['settings']['name'] ]['time'] = $cookie['settings']['time'];
428
+ }
429
  }
430
  }
431
  }
classes/Shortcode.php CHANGED
@@ -325,6 +325,10 @@ abstract class PUM_Shortcode {
325
  */
326
  public function register_shortcode_ui() {
327
 
 
 
 
 
328
  $shortcode_ui_args = array(
329
  'label' => $this->label(),
330
  'listItemImage' => $this->icon(),
@@ -341,73 +345,68 @@ abstract class PUM_Shortcode {
341
  $shortcode_ui_args['inner_content'] = $this->inner_content_labels();
342
  }
343
 
344
- $fields = $this->_fields();
345
 
346
  if ( count( $fields ) ) {
 
347
 
348
- foreach ( $fields as $section_id => $section_fields ) {
349
- foreach ( $section_fields as $field_id => $field ) {
350
-
351
- if ( '_inner_content' == $field_id ) {
352
- continue;
353
- }
354
-
355
- //text, checkbox, textarea, radio, select, email, url, number, date, attachment, color, post_select
356
- switch ( $field['type'] ) {
357
- case 'select':
358
- $shortcode_ui_args['attrs'][] = array(
359
- 'label' => esc_html( $field['label'] ),
360
- 'attr' => $field_id,
361
- 'type' => 'select',
362
- 'options' => $field['options'],
363
- );
364
- break;
365
-
366
- case 'postselect':
367
- case 'objectselect':
368
- if ( empty( $field['post_type'] ) ) {
369
- break;
370
- }
371
- $shortcode_ui_args['attrs'][] = array(
372
- 'label' => esc_html( $field['label'] ),
373
- 'attr' => $field_id,
374
- 'type' => 'post_select',
375
- 'options' => isset( $field['options'] ) ? $field['options'] : array(),
376
- 'query' => array( 'post_type' => $field['post_type'] ),
377
- );
378
- break;
379
-
380
- case 'taxonomyselect':
381
- break;
382
 
383
- case 'text';
384
- default:
385
- $shortcode_ui_args['attrs'][] = array(
386
- 'label' => $field['label'],
387
- 'attr' => $field_id,
388
- 'type' => 'text',
389
- 'value' => ! empty( $field['std'] ) ? $field['std'] : '',
390
- //'encode' => true,
391
- 'meta' => array(
392
- 'placeholder' => $field['placeholder'],
393
- ),
394
- );
 
 
395
  break;
396
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
397
  }
398
  }
399
  }
400
 
401
-
402
  /**
403
  * Register UI for your shortcode
404
  *
405
  * @param string $shortcode_tag
406
  * @param array $ui_args
407
  */
408
- if ( function_exists( 'shortcode_ui_register_for_shortcode' ) ) {
409
- shortcode_ui_register_for_shortcode( $this->tag(), $shortcode_ui_args );
410
- }
411
  }
412
 
413
  /**
325
  */
326
  public function register_shortcode_ui() {
327
 
328
+ if ( ! is_admin() || ! function_exists( 'shortcode_ui_register_for_shortcode' ) ) {
329
+ return;
330
+ }
331
+
332
  $shortcode_ui_args = array(
333
  'label' => $this->label(),
334
  'listItemImage' => $this->icon(),
345
  $shortcode_ui_args['inner_content'] = $this->inner_content_labels();
346
  }
347
 
348
+ $fields = PUM_Admin_Helpers::flatten_fields_array( $this->_fields() );
349
 
350
  if ( count( $fields ) ) {
351
+ foreach ( $fields as $field_id => $field ) {
352
 
353
+ // Don't register inner content fields.
354
+ if ( '_inner_content' == $field_id ) {
355
+ continue;
356
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
357
 
358
+ //text, checkbox, textarea, radio, select, email, url, number, date, attachment, color, post_select
359
+ switch ( $field['type'] ) {
360
+ case 'select':
361
+ $shortcode_ui_args['attrs'][] = array(
362
+ 'label' => esc_html( $field['label'] ),
363
+ 'attr' => $field_id,
364
+ 'type' => 'select',
365
+ 'options' => $field['options'],
366
+ );
367
+ break;
368
+
369
+ case 'postselect':
370
+ case 'objectselect':
371
+ if ( empty( $field['post_type'] ) ) {
372
  break;
373
+ }
374
+ $shortcode_ui_args['attrs'][] = array(
375
+ 'label' => esc_html( $field['label'] ),
376
+ 'attr' => $field_id,
377
+ 'type' => 'post_select',
378
+ 'options' => isset( $field['options'] ) ? $field['options'] : array(),
379
+ 'query' => array( 'post_type' => $field['post_type'] ),
380
+ );
381
+ break;
382
+
383
+ case 'taxonomyselect':
384
+ break;
385
+
386
+ case 'text';
387
+ default:
388
+ $shortcode_ui_args['attrs'][] = array(
389
+ 'label' => $field['label'],
390
+ 'attr' => $field_id,
391
+ 'type' => 'text',
392
+ 'value' => ! empty( $field['std'] ) ? $field['std'] : '',
393
+ //'encode' => true,
394
+ 'meta' => array(
395
+ 'placeholder' => $field['placeholder'],
396
+ ),
397
+ );
398
+ break;
399
  }
400
  }
401
  }
402
 
 
403
  /**
404
  * Register UI for your shortcode
405
  *
406
  * @param string $shortcode_tag
407
  * @param array $ui_args
408
  */
409
+ shortcode_ui_register_for_shortcode( $this->tag(), $shortcode_ui_args );
 
 
410
  }
411
 
412
  /**
classes/Shortcode/Subscribe.php CHANGED
@@ -326,6 +326,7 @@ class PUM_Shortcode_Subscribe extends PUM_Shortcode {
326
  ),
327
  'privacy_consent_required' => array(
328
  'label' => __( 'Consent Required', 'popup-maker' ),
 
329
  'type' => 'checkbox',
330
  'std' => pum_get_option( 'default_privacy_consent_required' ),
331
  'private' => true,
326
  ),
327
  'privacy_consent_required' => array(
328
  'label' => __( 'Consent Required', 'popup-maker' ),
329
+ 'desc' => __( 'Note: Requiring consent may not be compliant with GDPR for all situations. Be sure to do your research or check with legal council.', 'popup-maker' ),
330
  'type' => 'checkbox',
331
  'std' => pum_get_option( 'default_privacy_consent_required' ),
332
  'private' => true,
classes/Triggers.php CHANGED
@@ -180,7 +180,7 @@ class PUM_Triggers {
180
 
181
  ) );
182
 
183
- foreach( $triggers as $key => $trigger ) {
184
  $triggers[ $key ]['fields'] = PUM_Admin_Helpers::parse_tab_fields( $triggers[ $key ]['fields'], array(
185
  'has_subtabs' => false,
186
  'name' => '%s',
@@ -263,6 +263,7 @@ class PUM_Triggers {
263
  'desc' => __( 'Choose which cookies will disable this trigger?', 'popup-maker' ),
264
  'type' => 'select',
265
  'multiple' => true,
 
266
  'select2' => true,
267
  'priority' => 99,
268
  'options' => array(
180
 
181
  ) );
182
 
183
+ foreach ( $triggers as $key => $trigger ) {
184
  $triggers[ $key ]['fields'] = PUM_Admin_Helpers::parse_tab_fields( $triggers[ $key ]['fields'], array(
185
  'has_subtabs' => false,
186
  'name' => '%s',
263
  'desc' => __( 'Choose which cookies will disable this trigger?', 'popup-maker' ),
264
  'type' => 'select',
265
  'multiple' => true,
266
+ 'as_array' => true,
267
  'select2' => true,
268
  'priority' => 99,
269
  'options' => array(
classes/Upgrades.php CHANGED
@@ -221,9 +221,9 @@ class PUM_Upgrades {
221
  <p class="pum-upgrade-notice">
222
  <?php
223
  if ( empty( $resume_upgrade ) ) {
224
- _e( 'Your database needs to be upgraded following the latest Popup Maker or Popup Maker extension update.', 'popup-maker' );
225
  } else {
226
- _e( 'Popup Maker needs to complete a database upgrade that was previously started.', 'popup-maker' );
227
  } ?>
228
  </p>
229
  <?php
@@ -246,8 +246,9 @@ class PUM_Upgrades {
246
 
247
  <form method="post" class="pum-form pum-batch-form pum-upgrade-form" data-ays="<?php _e( 'This can sometimes take a few minutes, are you ready to begin?', 'popup-maker' ); ?>" data-upgrade_id="<?php echo $args['upgrade_id']; ?>" data-step="<?php echo (int) $args['step']; ?>" data-nonce="<?php echo esc_attr( wp_create_nonce( 'pum_upgrade_ajax_nonce' ) ); ?>">
248
 
 
249
  <div class="pum-field pum-field-button pum-field-submit">
250
- <?php submit_button( ! empty( $resume_upgrade ) ? __( 'Finish Upgrades', 'popup-maker' ) : __( 'Process Upgrades', 'popup-maker' ), 'secondary', 'submit', false ); ?>
251
  </div>
252
 
253
  <div class="pum-batch-progress">
221
  <p class="pum-upgrade-notice">
222
  <?php
223
  if ( empty( $resume_upgrade ) ) {
224
+ _e( 'Changes in the latest version of Popup Maker or a PM extension require changes your settings to ensure everything continues to work correctly.', 'popup-maker' );
225
  } else {
226
+ _e( 'Popup Maker needs to complete a the update of your settings that was previously started.', 'popup-maker' );
227
  } ?>
228
  </p>
229
  <?php
246
 
247
  <form method="post" class="pum-form pum-batch-form pum-upgrade-form" data-ays="<?php _e( 'This can sometimes take a few minutes, are you ready to begin?', 'popup-maker' ); ?>" data-upgrade_id="<?php echo $args['upgrade_id']; ?>" data-step="<?php echo (int) $args['step']; ?>" data-nonce="<?php echo esc_attr( wp_create_nonce( 'pum_upgrade_ajax_nonce' ) ); ?>">
248
 
249
+ <p><small><?php _e( 'The button below will do process these changes automatically for you.', 'popup-maker' ); ?></small></p>
250
  <div class="pum-field pum-field-button pum-field-submit">
251
+ <?php submit_button( ! empty( $resume_upgrade ) ? __( 'Finish Upgrades', 'popup-maker' ) : __( 'Process Changes', 'popup-maker' ), 'secondary', 'submit', false ); ?>
252
  </div>
253
 
254
  <div class="pum-batch-progress">
includes/class-pum.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
7
 
8
  class PUM {
9
 
10
- const VER = '1.7.22';
11
 
12
  const DB_VER = 8;
13
 
7
 
8
  class PUM {
9
 
10
+ const VER = '1.7.23';
11
 
12
  const DB_VER = 8;
13
 
includes/pum-sdk/freemius/assets/img/popup-maker.png ADDED
Binary file
languages/popup-maker.pot CHANGED
@@ -42,23 +42,23 @@ msgstr ""
42
  msgid "Settings updated successfully."
43
  msgstr ""
44
 
45
- #: classes/Admin/Ajax.php:126, classes/Admin/Ajax.php:293, classes/Upgrades.php:399
46
  msgid "A batch process ID must be present to continue."
47
  msgstr ""
48
 
49
- #: classes/Admin/Ajax.php:133, classes/Upgrades.php:406
50
  msgid "You do not have permission to initiate this request. Contact an administrator for more information."
51
  msgstr ""
52
 
53
- #: classes/Admin/Ajax.php:142, classes/Admin/Ajax.php:302, classes/Upgrades.php:425
54
  msgid "%s is an invalid batch process ID."
55
  msgstr ""
56
 
57
- #: classes/Admin/Ajax.php:151, classes/Admin/Ajax.php:311, classes/Upgrades.php:532
58
  msgid "An invalid file path is registered for the %1$s batch process handler."
59
  msgstr ""
60
 
61
- #: classes/Admin/Ajax.php:159, classes/Admin/Ajax.php:319, classes/Upgrades.php:538
62
  msgid "%1$s is an invalid handler for the %2$s batch process. Please try again."
63
  msgstr ""
64
 
@@ -230,15 +230,15 @@ msgstr ""
230
  msgid "Popup Settings"
231
  msgstr ""
232
 
233
- #: classes/Admin/Popups.php:123, classes/Privacy.php:73
234
  msgid "Analytics"
235
  msgstr ""
236
 
237
  #: classes/Admin/Popups.php:167, classes/Admin/Settings.php:506
238
- msgid "If you are seeing this, the most likely cause is that there are Javascript errors on this page. %sView troubleshooting guide%s"
239
  msgstr ""
240
 
241
- #: classes/Admin/Popups.php:293, classes/Admin/Settings.php:564, classes/Admin/Settings.php:588, classes/Admin/Settings.php:591, classes/Admin/Settings.php:600, classes/Conditions.php:107, classes/Conditions.php:409, classes/Conditions.php:423, classes/Conditions.php:429, classes/Cookies.php:157, classes/Shortcode.php:151, classes/Shortcode.php:163, classes/Shortcode.php:176, classes/Shortcode/Popup.php:51, classes/Shortcode/Popup.php:65, classes/Shortcode/Subscribe.php:60, classes/Shortcode/Subscribe.php:80, classes/Shortcode/Subscribe.php:83, classes/Triggers.php:288, includes/class-popmake-fields.php:57
242
  msgid "General"
243
  msgstr ""
244
 
@@ -262,7 +262,7 @@ msgstr ""
262
  msgid "Triggers & Cookies"
263
  msgstr ""
264
 
265
- #: classes/Admin/Popups.php:313, classes/Admin/Popups.php:323, classes/Cookies.php:158, classes/Triggers.php:290
266
  msgid "Advanced"
267
  msgstr ""
268
 
@@ -647,7 +647,7 @@ msgstr ""
647
  msgid "Lifetime Conversions"
648
  msgstr ""
649
 
650
- #: classes/Admin/Popups.php:989, classes/Admin/Templates.php:642, classes/Privacy.php:195, classes/Shortcode/Subscribe.php:182, classes/Shortcode/Subscribe.php:236
651
  msgid "Name"
652
  msgstr ""
653
 
@@ -783,15 +783,15 @@ msgstr ""
783
  msgid "Always enable consent field on subscription forms."
784
  msgstr ""
785
 
786
- #: classes/Admin/Settings.php:318, classes/Admin/Settings.php:360, classes/Admin/Settings.php:369, classes/Shortcode/Subscribe.php:313, classes/Shortcode/Subscribe.php:362, includes/admin/themes/metabox-close-fields.php:323, includes/admin/themes/metabox-container-fields.php:157, includes/class-popmake-popup-theme-fields.php:101, includes/class-popmake-popup-theme-fields.php:484
787
  msgid "Yes"
788
  msgstr ""
789
 
790
- #: classes/Admin/Settings.php:319, classes/Admin/Settings.php:378, classes/Shortcode/Subscribe.php:314, classes/Shortcode/Subscribe.php:371, includes/admin/themes/metabox-close-fields.php:322, includes/admin/themes/metabox-container-fields.php:156, includes/class-popmake-popup-theme-fields.php:100, includes/class-popmake-popup-theme-fields.php:483
791
  msgid "No"
792
  msgstr ""
793
 
794
- #: classes/Admin/Settings.php:324, classes/Privacy.php:242
795
  msgid "Consent Text"
796
  msgstr ""
797
 
@@ -807,39 +807,39 @@ msgstr ""
807
  msgid "Radio forces the user to make a choice, often resulting in more opt-ins."
808
  msgstr ""
809
 
810
- #: classes/Admin/Settings.php:336, classes/Shortcode/Subscribe.php:339
811
  msgid "Radio"
812
  msgstr ""
813
 
814
- #: classes/Admin/Settings.php:337, classes/Shortcode/Subscribe.php:340
815
  msgid "Checkbox"
816
  msgstr ""
817
 
818
- #: classes/Admin/Settings.php:345, classes/Privacy.php:239, classes/Shortcode/Subscribe.php:328
819
  msgid "Consent Required"
820
  msgstr ""
821
 
822
- #: classes/Admin/Settings.php:354, classes/Shortcode/Subscribe.php:347
823
  msgid "Consent Radio Layout"
824
  msgstr ""
825
 
826
- #: classes/Admin/Settings.php:357, classes/Shortcode/Subscribe.php:269, classes/Shortcode/Subscribe.php:350
827
  msgid "Inline"
828
  msgstr ""
829
 
830
- #: classes/Admin/Settings.php:358, classes/Shortcode/Subscribe.php:351
831
  msgid "Stacked"
832
  msgstr ""
833
 
834
- #: classes/Admin/Settings.php:367, classes/Shortcode/Subscribe.php:360
835
  msgid "Consent Yes Label"
836
  msgstr ""
837
 
838
- #: classes/Admin/Settings.php:376, classes/Shortcode/Subscribe.php:369
839
  msgid "Consent No Label"
840
  msgstr ""
841
 
842
- #: classes/Admin/Settings.php:385, classes/Shortcode/Subscribe.php:378
843
  msgid "Consent Usage Text"
844
  msgstr ""
845
 
@@ -847,7 +847,7 @@ msgstr ""
847
  msgid "You can use %1$%2$s to insert a link to your privacy policy. To customize the link text use %1$s:Link Text%2$s"
848
  msgstr ""
849
 
850
- #: classes/Admin/Settings.php:388, classes/Shortcode/Subscribe.php:381
851
  msgid "If you opt in above we use this information send related content, discounts and other special offers."
852
  msgstr ""
853
 
@@ -971,7 +971,7 @@ msgstr ""
971
  msgid "Subscribers Per Page"
972
  msgstr ""
973
 
974
- #: classes/Admin/Subscribers/Table.php:90, classes/Privacy.php:189, classes/Shortcode/Subscribe.php:204, classes/Shortcode/Subscribe.php:208, classes/Shortcode/Subscribe.php:256, classes/Shortcode/Subscribe.php:257
975
  msgid "Email"
976
  msgstr ""
977
 
@@ -979,11 +979,11 @@ msgstr ""
979
  msgid "Full Name"
980
  msgstr ""
981
 
982
- #: classes/Admin/Subscribers/Table.php:92, classes/Privacy.php:201, classes/Shortcode/Subscribe.php:186, classes/Shortcode/Subscribe.php:191, classes/Shortcode/Subscribe.php:240, classes/Shortcode/Subscribe.php:244
983
  msgid "First Name"
984
  msgstr ""
985
 
986
- #: classes/Admin/Subscribers/Table.php:93, classes/Privacy.php:207, classes/Shortcode/Subscribe.php:195, classes/Shortcode/Subscribe.php:200, classes/Shortcode/Subscribe.php:248, classes/Shortcode/Subscribe.php:252
987
  msgid "Last Name"
988
  msgstr ""
989
 
@@ -1000,7 +1000,7 @@ msgstr ""
1000
  msgid "No subscribers available."
1001
  msgstr ""
1002
 
1003
- #: classes/Admin/Subscribers/Table.php:279, classes/Privacy.php:183
1004
  msgid "ID"
1005
  msgstr ""
1006
 
@@ -1098,7 +1098,7 @@ msgstr ""
1098
  msgid "Type"
1099
  msgstr ""
1100
 
1101
- #: classes/Admin/Templates.php:414, classes/Triggers.php:289
1102
  msgid "Cookie"
1103
  msgstr ""
1104
 
@@ -1208,7 +1208,7 @@ msgstr ""
1208
  msgid "Remove Condition"
1209
  msgstr ""
1210
 
1211
- #: classes/Admin/Templates.php:628, classes/Triggers.php:269
1212
  msgid "Add New Cookie"
1213
  msgstr ""
1214
 
@@ -1216,7 +1216,7 @@ msgstr ""
1216
  msgid "Cookies control the repeat display of a popup."
1217
  msgstr ""
1218
 
1219
- #: classes/Admin/Templates.php:634, classes/Privacy.php:58, classes/Site/Assets.php:248
1220
  msgid "Cookies"
1221
  msgstr ""
1222
 
@@ -1292,7 +1292,7 @@ msgstr ""
1292
  msgid "Event Type"
1293
  msgstr ""
1294
 
1295
- #: classes/Analytics.php:145, classes/Shortcode/Subscribe.php:409, includes/integrations/ninja-forms/Actions/OpenPopup.php:42
1296
  msgid "Popup ID"
1297
  msgstr ""
1298
 
@@ -1448,7 +1448,7 @@ msgstr ""
1448
  msgid "Sessions"
1449
  msgstr ""
1450
 
1451
- #: classes/Cookies.php:174, classes/Triggers.php:262
1452
  msgid "Cookie Name"
1453
  msgstr ""
1454
 
@@ -1648,74 +1648,86 @@ msgstr ""
1648
  msgid "These subscriptions are used to notify you about related content, discounts & other special offers."
1649
  msgstr ""
1650
 
1651
- #: classes/Privacy.php:56
1652
  msgid "You can opt our or unsubscribe at any time in the future by clicking link in the bottom of any email."
1653
  msgstr ""
1654
 
1655
- #: classes/Privacy.php:59
1656
  msgid "Popup Maker uses cookies for most popups. The primary function is to prevent your users from being annoyed by seeing the same popup repeatedly."
1657
  msgstr ""
1658
 
1659
- #: classes/Privacy.php:60
1660
  msgid "This may result in cookies being saved for an extended period of time. These are non-tracking cookies used only by our popups."
1661
  msgstr ""
1662
 
1663
- #: classes/Privacy.php:65
1664
  msgid "Below is a list of all cookies currently registered within your popup settings. These are here for you to disclose if you are so required."
1665
  msgstr ""
1666
 
1667
- #: classes/Privacy.php:71
 
 
 
 
 
 
 
 
1668
  msgid "We use anonymous cookies to prevent users from seeing the same popup repetitively in an attempt to make our users experience more pleasant while still delivering time sensitive messaging."
1669
  msgstr ""
1670
 
1671
- #: classes/Privacy.php:74
1672
  msgid "Popup Maker anonymously tracks popup views and conversions."
1673
  msgstr ""
1674
 
1675
- #: classes/Privacy.php:76
1676
  msgid "How long we retain your data"
1677
  msgstr ""
1678
 
1679
- #: classes/Privacy.php:77
1680
  msgid "Subscriber information is retained in the local database indefinitely for analytic tracking purposes and for future export."
1681
  msgstr ""
1682
 
1683
- #: classes/Privacy.php:78
1684
  msgid "Data will be exported or removed upon users request via the existing Exporter or Eraser."
1685
  msgstr ""
1686
 
1687
- #: classes/Privacy.php:79
1688
  msgid "If syncing data to a 3rd party service (for example Mailchimp), data is retained there until unsubscribed or deleted."
1689
  msgstr ""
1690
 
1691
- #: classes/Privacy.php:81
1692
  msgid "Where we send your data"
1693
  msgstr ""
1694
 
1695
- #: classes/Privacy.php:82
1696
  msgid "Popup Maker does not send any user data outside of your site by default."
1697
  msgstr ""
1698
 
1699
- #: classes/Privacy.php:83
1700
  msgid "If you have extended our subscription forms to send data to a 3rd party service such as Mailchimp, user info may be passed to these external services. These services may be located abroad."
1701
  msgstr ""
1702
 
1703
- #: classes/Privacy.php:213
1704
  msgid "Provided Consent"
1705
  msgstr ""
1706
 
1707
- #: classes/Privacy.php:270
1708
  msgid "Date Subscribed"
1709
  msgstr ""
1710
 
1711
- #: classes/Privacy.php:346
1712
  msgid "Subscription information was not removed. A database error may have occurred during deletion."
1713
  msgstr ""
1714
 
1715
- #: classes/Privacy.php:350
1716
  msgid "Subscription information was not removed. This may occur when no immediate confirmation is received during our attempt to unsubscribe you from our mailing list."
1717
  msgstr ""
1718
 
 
 
 
 
1719
  #: classes/Shortcode.php:152, classes/Shortcode.php:164, classes/Shortcode.php:179
1720
  msgid "Options"
1721
  msgstr ""
@@ -1868,7 +1880,7 @@ msgstr ""
1868
  msgid "Placeholders"
1869
  msgstr ""
1870
 
1871
- #: classes/Shortcode/Subscribe.php:94, classes/Shortcode/Subscribe.php:422
1872
  msgid "Redirect"
1873
  msgstr ""
1874
 
@@ -1976,47 +1988,51 @@ msgstr ""
1976
  msgid "Consent Field Label"
1977
  msgstr ""
1978
 
1979
- #: classes/Shortcode/Subscribe.php:335
1980
- msgid "Field Type"
1981
  msgstr ""
1982
 
1983
  #: classes/Shortcode/Subscribe.php:336
 
 
 
 
1984
  msgid "Radio forces the user to make a choice, often resulting in more optins."
1985
  msgstr ""
1986
 
1987
- #: classes/Shortcode/Subscribe.php:379
1988
  msgid "You can use %1$s%2$s to insert a link to your privacy policy. To customize the link text use %1$s:Link Text%2$s"
1989
  msgstr ""
1990
 
1991
- #: classes/Shortcode/Subscribe.php:389, includes/integrations/class-pum-cf7.php:137, includes/integrations/class-pum-gravity-forms.php:132, includes/integrations/ninja-forms/Actions/ClosePopup.php:36, includes/modules/admin-bar.php:463
1992
  msgid "Close Popup"
1993
  msgstr ""
1994
 
1995
- #: classes/Shortcode/Subscribe.php:393, classes/Triggers.php:164, classes/Triggers.php:169, includes/integrations/class-pum-cf7.php:145, includes/integrations/class-pum-gravity-forms.php:140, includes/integrations/ninja-forms/Actions/ClosePopup.php:43
1996
  msgid "Delay"
1997
  msgstr ""
1998
 
1999
- #: classes/Shortcode/Subscribe.php:405, includes/integrations/class-pum-cf7.php:157, includes/integrations/class-pum-gravity-forms.php:152, includes/integrations/ninja-forms/Actions/OpenPopup.php:35, includes/modules/admin-bar.php:453
2000
  msgid "Open Popup"
2001
  msgstr ""
2002
 
2003
- #: classes/Shortcode/Subscribe.php:412, includes/integrations/class-pum-cf7.php:220, includes/integrations/class-pum-gravity-forms.php:230, includes/integrations/ninja-forms/Actions/OpenPopup.php:78
2004
  msgid "Select a popup"
2005
  msgstr ""
2006
 
2007
- #: classes/Shortcode/Subscribe.php:423
2008
  msgid "Enable refreshing the page or redirecting after success."
2009
  msgstr ""
2010
 
2011
- #: classes/Shortcode/Subscribe.php:427
2012
  msgid "Redirect URL"
2013
  msgstr ""
2014
 
2015
- #: classes/Shortcode/Subscribe.php:428
2016
  msgid "Leave blank to refresh, or enter a url that users will be taken to after success."
2017
  msgstr ""
2018
 
2019
- #: classes/Shortcode/Subscribe.php:728
2020
  msgid "Subscription Form Placeholder"
2021
  msgstr ""
2022
 
@@ -2206,30 +2222,34 @@ msgid "%1$s submitted."
2206
  msgstr ""
2207
 
2208
  #: classes/Upgrades.php:224
2209
- msgid "Your database needs to be upgraded following the latest Popup Maker or Popup Maker extension update."
2210
  msgstr ""
2211
 
2212
  #: classes/Upgrades.php:226
2213
- msgid "Popup Maker needs to complete a database upgrade that was previously started."
2214
  msgstr ""
2215
 
2216
  #: classes/Upgrades.php:247
2217
  msgid "This can sometimes take a few minutes, are you ready to begin?"
2218
  msgstr ""
2219
 
2220
- #: classes/Upgrades.php:250
 
 
 
 
2221
  msgid "Finish Upgrades"
2222
  msgstr ""
2223
 
2224
- #: classes/Upgrades.php:250
2225
- msgid "Process Upgrades"
2226
  msgstr ""
2227
 
2228
- #: classes/Upgrades.php:558
2229
  msgid "Upgrades"
2230
  msgstr ""
2231
 
2232
- #: classes/Upgrades.php:569
2233
  msgid "No upgrades currently required."
2234
  msgstr ""
2235
 
42
  msgid "Settings updated successfully."
43
  msgstr ""
44
 
45
+ #: classes/Admin/Ajax.php:126, classes/Admin/Ajax.php:293, classes/Upgrades.php:400
46
  msgid "A batch process ID must be present to continue."
47
  msgstr ""
48
 
49
+ #: classes/Admin/Ajax.php:133, classes/Upgrades.php:407
50
  msgid "You do not have permission to initiate this request. Contact an administrator for more information."
51
  msgstr ""
52
 
53
+ #: classes/Admin/Ajax.php:142, classes/Admin/Ajax.php:302, classes/Upgrades.php:426
54
  msgid "%s is an invalid batch process ID."
55
  msgstr ""
56
 
57
+ #: classes/Admin/Ajax.php:151, classes/Admin/Ajax.php:311, classes/Upgrades.php:533
58
  msgid "An invalid file path is registered for the %1$s batch process handler."
59
  msgstr ""
60
 
61
+ #: classes/Admin/Ajax.php:159, classes/Admin/Ajax.php:319, classes/Upgrades.php:539
62
  msgid "%1$s is an invalid handler for the %2$s batch process. Please try again."
63
  msgstr ""
64
 
230
  msgid "Popup Settings"
231
  msgstr ""
232
 
233
+ #: classes/Admin/Popups.php:123, classes/Privacy.php:95
234
  msgid "Analytics"
235
  msgstr ""
236
 
237
  #: classes/Admin/Popups.php:167, classes/Admin/Settings.php:506
238
+ msgid "If you are seeing this, the page is still loading or there are Javascript errors on this page. %sView troubleshooting guide%s"
239
  msgstr ""
240
 
241
+ #: classes/Admin/Popups.php:293, classes/Admin/Settings.php:564, classes/Admin/Settings.php:588, classes/Admin/Settings.php:591, classes/Admin/Settings.php:600, classes/Conditions.php:107, classes/Conditions.php:409, classes/Conditions.php:423, classes/Conditions.php:429, classes/Cookies.php:157, classes/Shortcode.php:151, classes/Shortcode.php:163, classes/Shortcode.php:176, classes/Shortcode/Popup.php:51, classes/Shortcode/Popup.php:65, classes/Shortcode/Subscribe.php:60, classes/Shortcode/Subscribe.php:80, classes/Shortcode/Subscribe.php:83, classes/Triggers.php:289, includes/class-popmake-fields.php:57
242
  msgid "General"
243
  msgstr ""
244
 
262
  msgid "Triggers & Cookies"
263
  msgstr ""
264
 
265
+ #: classes/Admin/Popups.php:313, classes/Admin/Popups.php:323, classes/Cookies.php:158, classes/Triggers.php:291
266
  msgid "Advanced"
267
  msgstr ""
268
 
647
  msgid "Lifetime Conversions"
648
  msgstr ""
649
 
650
+ #: classes/Admin/Popups.php:989, classes/Admin/Templates.php:642, classes/Privacy.php:216, classes/Shortcode/Subscribe.php:182, classes/Shortcode/Subscribe.php:236
651
  msgid "Name"
652
  msgstr ""
653
 
783
  msgid "Always enable consent field on subscription forms."
784
  msgstr ""
785
 
786
+ #: classes/Admin/Settings.php:318, classes/Admin/Settings.php:360, classes/Admin/Settings.php:369, classes/Shortcode/Subscribe.php:313, classes/Shortcode/Subscribe.php:363, includes/admin/themes/metabox-close-fields.php:323, includes/admin/themes/metabox-container-fields.php:157, includes/class-popmake-popup-theme-fields.php:101, includes/class-popmake-popup-theme-fields.php:484
787
  msgid "Yes"
788
  msgstr ""
789
 
790
+ #: classes/Admin/Settings.php:319, classes/Admin/Settings.php:378, classes/Shortcode/Subscribe.php:314, classes/Shortcode/Subscribe.php:372, includes/admin/themes/metabox-close-fields.php:322, includes/admin/themes/metabox-container-fields.php:156, includes/class-popmake-popup-theme-fields.php:100, includes/class-popmake-popup-theme-fields.php:483
791
  msgid "No"
792
  msgstr ""
793
 
794
+ #: classes/Admin/Settings.php:324, classes/Privacy.php:263
795
  msgid "Consent Text"
796
  msgstr ""
797
 
807
  msgid "Radio forces the user to make a choice, often resulting in more opt-ins."
808
  msgstr ""
809
 
810
+ #: classes/Admin/Settings.php:336, classes/Shortcode/Subscribe.php:340
811
  msgid "Radio"
812
  msgstr ""
813
 
814
+ #: classes/Admin/Settings.php:337, classes/Shortcode/Subscribe.php:341
815
  msgid "Checkbox"
816
  msgstr ""
817
 
818
+ #: classes/Admin/Settings.php:345, classes/Privacy.php:260, classes/Shortcode/Subscribe.php:328
819
  msgid "Consent Required"
820
  msgstr ""
821
 
822
+ #: classes/Admin/Settings.php:354, classes/Shortcode/Subscribe.php:348
823
  msgid "Consent Radio Layout"
824
  msgstr ""
825
 
826
+ #: classes/Admin/Settings.php:357, classes/Shortcode/Subscribe.php:269, classes/Shortcode/Subscribe.php:351
827
  msgid "Inline"
828
  msgstr ""
829
 
830
+ #: classes/Admin/Settings.php:358, classes/Shortcode/Subscribe.php:352
831
  msgid "Stacked"
832
  msgstr ""
833
 
834
+ #: classes/Admin/Settings.php:367, classes/Shortcode/Subscribe.php:361
835
  msgid "Consent Yes Label"
836
  msgstr ""
837
 
838
+ #: classes/Admin/Settings.php:376, classes/Shortcode/Subscribe.php:370
839
  msgid "Consent No Label"
840
  msgstr ""
841
 
842
+ #: classes/Admin/Settings.php:385, classes/Shortcode/Subscribe.php:379
843
  msgid "Consent Usage Text"
844
  msgstr ""
845
 
847
  msgid "You can use %1$%2$s to insert a link to your privacy policy. To customize the link text use %1$s:Link Text%2$s"
848
  msgstr ""
849
 
850
+ #: classes/Admin/Settings.php:388, classes/Shortcode/Subscribe.php:382
851
  msgid "If you opt in above we use this information send related content, discounts and other special offers."
852
  msgstr ""
853
 
971
  msgid "Subscribers Per Page"
972
  msgstr ""
973
 
974
+ #: classes/Admin/Subscribers/Table.php:90, classes/Privacy.php:210, classes/Shortcode/Subscribe.php:204, classes/Shortcode/Subscribe.php:208, classes/Shortcode/Subscribe.php:256, classes/Shortcode/Subscribe.php:257
975
  msgid "Email"
976
  msgstr ""
977
 
979
  msgid "Full Name"
980
  msgstr ""
981
 
982
+ #: classes/Admin/Subscribers/Table.php:92, classes/Privacy.php:222, classes/Shortcode/Subscribe.php:186, classes/Shortcode/Subscribe.php:191, classes/Shortcode/Subscribe.php:240, classes/Shortcode/Subscribe.php:244
983
  msgid "First Name"
984
  msgstr ""
985
 
986
+ #: classes/Admin/Subscribers/Table.php:93, classes/Privacy.php:228, classes/Shortcode/Subscribe.php:195, classes/Shortcode/Subscribe.php:200, classes/Shortcode/Subscribe.php:248, classes/Shortcode/Subscribe.php:252
987
  msgid "Last Name"
988
  msgstr ""
989
 
1000
  msgid "No subscribers available."
1001
  msgstr ""
1002
 
1003
+ #: classes/Admin/Subscribers/Table.php:279, classes/Privacy.php:204
1004
  msgid "ID"
1005
  msgstr ""
1006
 
1098
  msgid "Type"
1099
  msgstr ""
1100
 
1101
+ #: classes/Admin/Templates.php:414, classes/Triggers.php:290
1102
  msgid "Cookie"
1103
  msgstr ""
1104
 
1208
  msgid "Remove Condition"
1209
  msgstr ""
1210
 
1211
+ #: classes/Admin/Templates.php:628, classes/Triggers.php:270
1212
  msgid "Add New Cookie"
1213
  msgstr ""
1214
 
1216
  msgid "Cookies control the repeat display of a popup."
1217
  msgstr ""
1218
 
1219
+ #: classes/Admin/Templates.php:634, classes/Privacy.php:57, classes/Site/Assets.php:248
1220
  msgid "Cookies"
1221
  msgstr ""
1222
 
1292
  msgid "Event Type"
1293
  msgstr ""
1294
 
1295
+ #: classes/Analytics.php:145, classes/Shortcode/Subscribe.php:410, includes/integrations/ninja-forms/Actions/OpenPopup.php:42
1296
  msgid "Popup ID"
1297
  msgstr ""
1298
 
1448
  msgid "Sessions"
1449
  msgstr ""
1450
 
1451
+ #: classes/Cookies.php:174, classes/Privacy.php:68, classes/Triggers.php:262
1452
  msgid "Cookie Name"
1453
  msgstr ""
1454
 
1648
  msgid "These subscriptions are used to notify you about related content, discounts & other special offers."
1649
  msgstr ""
1650
 
1651
+ #: classes/Privacy.php:55
1652
  msgid "You can opt our or unsubscribe at any time in the future by clicking link in the bottom of any email."
1653
  msgstr ""
1654
 
1655
+ #: classes/Privacy.php:58
1656
  msgid "Popup Maker uses cookies for most popups. The primary function is to prevent your users from being annoyed by seeing the same popup repeatedly."
1657
  msgstr ""
1658
 
1659
+ #: classes/Privacy.php:59
1660
  msgid "This may result in cookies being saved for an extended period of time. These are non-tracking cookies used only by our popups."
1661
  msgstr ""
1662
 
1663
+ #: classes/Privacy.php:64
1664
  msgid "Below is a list of all cookies currently registered within your popup settings. These are here for you to disclose if you are so required."
1665
  msgstr ""
1666
 
1667
+ #: classes/Privacy.php:69
1668
+ msgid "Usage"
1669
+ msgstr ""
1670
+
1671
+ #: classes/Privacy.php:70
1672
+ msgid "Time"
1673
+ msgstr ""
1674
+
1675
+ #: classes/Privacy.php:93
1676
  msgid "We use anonymous cookies to prevent users from seeing the same popup repetitively in an attempt to make our users experience more pleasant while still delivering time sensitive messaging."
1677
  msgstr ""
1678
 
1679
+ #: classes/Privacy.php:96
1680
  msgid "Popup Maker anonymously tracks popup views and conversions."
1681
  msgstr ""
1682
 
1683
+ #: classes/Privacy.php:98
1684
  msgid "How long we retain your data"
1685
  msgstr ""
1686
 
1687
+ #: classes/Privacy.php:99
1688
  msgid "Subscriber information is retained in the local database indefinitely for analytic tracking purposes and for future export."
1689
  msgstr ""
1690
 
1691
+ #: classes/Privacy.php:100
1692
  msgid "Data will be exported or removed upon users request via the existing Exporter or Eraser."
1693
  msgstr ""
1694
 
1695
+ #: classes/Privacy.php:100
1696
  msgid "If syncing data to a 3rd party service (for example Mailchimp), data is retained there until unsubscribed or deleted."
1697
  msgstr ""
1698
 
1699
+ #: classes/Privacy.php:102
1700
  msgid "Where we send your data"
1701
  msgstr ""
1702
 
1703
+ #: classes/Privacy.php:103
1704
  msgid "Popup Maker does not send any user data outside of your site by default."
1705
  msgstr ""
1706
 
1707
+ #: classes/Privacy.php:104
1708
  msgid "If you have extended our subscription forms to send data to a 3rd party service such as Mailchimp, user info may be passed to these external services. These services may be located abroad."
1709
  msgstr ""
1710
 
1711
+ #: classes/Privacy.php:234
1712
  msgid "Provided Consent"
1713
  msgstr ""
1714
 
1715
+ #: classes/Privacy.php:291
1716
  msgid "Date Subscribed"
1717
  msgstr ""
1718
 
1719
+ #: classes/Privacy.php:367
1720
  msgid "Subscription information was not removed. A database error may have occurred during deletion."
1721
  msgstr ""
1722
 
1723
+ #: classes/Privacy.php:371
1724
  msgid "Subscription information was not removed. This may occur when no immediate confirmation is received during our attempt to unsubscribe you from our mailing list."
1725
  msgstr ""
1726
 
1727
+ #: classes/Privacy.php:419
1728
+ msgid "Cookie used to prevent popup from displaying repeatedly."
1729
+ msgstr ""
1730
+
1731
  #: classes/Shortcode.php:152, classes/Shortcode.php:164, classes/Shortcode.php:179
1732
  msgid "Options"
1733
  msgstr ""
1880
  msgid "Placeholders"
1881
  msgstr ""
1882
 
1883
+ #: classes/Shortcode/Subscribe.php:94, classes/Shortcode/Subscribe.php:423
1884
  msgid "Redirect"
1885
  msgstr ""
1886
 
1988
  msgid "Consent Field Label"
1989
  msgstr ""
1990
 
1991
+ #: classes/Shortcode/Subscribe.php:329
1992
+ msgid "Note: Requiring consent may not be compliant with GDPR for all situations. Be sure to do your research or check with legal council."
1993
  msgstr ""
1994
 
1995
  #: classes/Shortcode/Subscribe.php:336
1996
+ msgid "Field Type"
1997
+ msgstr ""
1998
+
1999
+ #: classes/Shortcode/Subscribe.php:337
2000
  msgid "Radio forces the user to make a choice, often resulting in more optins."
2001
  msgstr ""
2002
 
2003
+ #: classes/Shortcode/Subscribe.php:380
2004
  msgid "You can use %1$s%2$s to insert a link to your privacy policy. To customize the link text use %1$s:Link Text%2$s"
2005
  msgstr ""
2006
 
2007
+ #: classes/Shortcode/Subscribe.php:390, includes/integrations/class-pum-cf7.php:137, includes/integrations/class-pum-gravity-forms.php:132, includes/integrations/ninja-forms/Actions/ClosePopup.php:36, includes/modules/admin-bar.php:463
2008
  msgid "Close Popup"
2009
  msgstr ""
2010
 
2011
+ #: classes/Shortcode/Subscribe.php:394, classes/Triggers.php:164, classes/Triggers.php:169, includes/integrations/class-pum-cf7.php:145, includes/integrations/class-pum-gravity-forms.php:140, includes/integrations/ninja-forms/Actions/ClosePopup.php:43
2012
  msgid "Delay"
2013
  msgstr ""
2014
 
2015
+ #: classes/Shortcode/Subscribe.php:406, includes/integrations/class-pum-cf7.php:157, includes/integrations/class-pum-gravity-forms.php:152, includes/integrations/ninja-forms/Actions/OpenPopup.php:35, includes/modules/admin-bar.php:453
2016
  msgid "Open Popup"
2017
  msgstr ""
2018
 
2019
+ #: classes/Shortcode/Subscribe.php:413, includes/integrations/class-pum-cf7.php:220, includes/integrations/class-pum-gravity-forms.php:230, includes/integrations/ninja-forms/Actions/OpenPopup.php:78
2020
  msgid "Select a popup"
2021
  msgstr ""
2022
 
2023
+ #: classes/Shortcode/Subscribe.php:424
2024
  msgid "Enable refreshing the page or redirecting after success."
2025
  msgstr ""
2026
 
2027
+ #: classes/Shortcode/Subscribe.php:428
2028
  msgid "Redirect URL"
2029
  msgstr ""
2030
 
2031
+ #: classes/Shortcode/Subscribe.php:429
2032
  msgid "Leave blank to refresh, or enter a url that users will be taken to after success."
2033
  msgstr ""
2034
 
2035
+ #: classes/Shortcode/Subscribe.php:729
2036
  msgid "Subscription Form Placeholder"
2037
  msgstr ""
2038
 
2222
  msgstr ""
2223
 
2224
  #: classes/Upgrades.php:224
2225
+ msgid "Changes in the latest version of Popup Maker or a PM extension require changes your settings to ensure everything continues to work correctly."
2226
  msgstr ""
2227
 
2228
  #: classes/Upgrades.php:226
2229
+ msgid "Popup Maker needs to complete a the update of your settings that was previously started."
2230
  msgstr ""
2231
 
2232
  #: classes/Upgrades.php:247
2233
  msgid "This can sometimes take a few minutes, are you ready to begin?"
2234
  msgstr ""
2235
 
2236
+ #: classes/Upgrades.php:249
2237
+ msgid "The button below will do process these changes automatically for you."
2238
+ msgstr ""
2239
+
2240
+ #: classes/Upgrades.php:251
2241
  msgid "Finish Upgrades"
2242
  msgstr ""
2243
 
2244
+ #: classes/Upgrades.php:251
2245
+ msgid "Process Changes"
2246
  msgstr ""
2247
 
2248
+ #: classes/Upgrades.php:559
2249
  msgid "Upgrades"
2250
  msgstr ""
2251
 
2252
+ #: classes/Upgrades.php:570
2253
  msgid "No upgrades currently required."
2254
  msgstr ""
2255
 
popup-maker.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wppopupmaker.com/?utm_campaign=PluginInfo&utm_source=plugin-header&utm_medium=plugin-uri
5
  * Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
6
  * Author: WP Popup Maker
7
- * Version: 1.7.22
8
  * Author URI: https://wppopupmaker.com/?utm_campaign=PluginInfo&utm_source=plugin-header&utm_medium=author-uri
9
  * Text Domain: popup-maker
10
  *
@@ -28,7 +28,7 @@ if ( ! defined( 'ABSPATH' ) ) {
28
  */
29
  function pum_autoloader( $class ) {
30
 
31
- if ( strncmp( 'PUM_Newsletter_', $class, strlen( 'PUM_Newsletter_' ) ) === 0 && class_exists( 'PUM_MCI' ) && version_compare( PUM_MCI::$VER, '1.3.0', '<' ) ) {
32
  return;
33
  }
34
 
@@ -93,7 +93,7 @@ class Popup_Maker {
93
  /**
94
  * @var string Plugin Version
95
  */
96
- public static $VER = '1.7.22';
97
 
98
  /**
99
  * @var int DB Version
4
  * Plugin URI: https://wppopupmaker.com/?utm_campaign=PluginInfo&utm_source=plugin-header&utm_medium=plugin-uri
5
  * Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
6
  * Author: WP Popup Maker
7
+ * Version: 1.7.23
8
  * Author URI: https://wppopupmaker.com/?utm_campaign=PluginInfo&utm_source=plugin-header&utm_medium=author-uri
9
  * Text Domain: popup-maker
10
  *
28
  */
29
  function pum_autoloader( $class ) {
30
 
31
+ if ( strncmp( 'PUM_Newsletter_', $class, strlen( 'PUM_Newsletter_' ) ) === 0 && class_exists( 'PUM_MCI' ) && ! empty( PUM_MCI::$VER ) && version_compare( PUM_MCI::$VER, '1.3.0', '<' ) ) {
32
  return;
33
  }
34
 
93
  /**
94
  * @var string Plugin Version
95
  */
96
+ public static $VER = '1.7.23';
97
 
98
  /**
99
  * @var int DB Version
readme.txt CHANGED
@@ -101,6 +101,13 @@ There are several common causes for this which include:
101
 
102
  == Changelog ==
103
 
 
 
 
 
 
 
 
104
  = v1.7.22 - 05/25/2018 =
105
  * Tweak: Updated Freemius library for GDPR optin support.
106
  * Improvement: Made all popup loops more reliable.
@@ -770,4 +777,4 @@ Lastly we now have include our extendable subscription forms right in the free v
770
  * Misc Admin changes, including new filters/hooks for upcoming extensions.
771
 
772
  = v1.0.0 =
773
- * Initial Release
101
 
102
  == Changelog ==
103
 
104
+ = v1.7.23 - 06/04/2018 =
105
+ * Improvement: Converted cookie privacy info to tabular rendering.
106
+ * Tweak: Improved update notice text.
107
+ * Fix: Issues with subscriber table not being created. Thanks @jnorell
108
+ * Fix: Bug not allowing more than one cookie for a trigger.
109
+ * Fix: Undefined index errors in shortcake/shortcode-ui integration.
110
+
111
  = v1.7.22 - 05/25/2018 =
112
  * Tweak: Updated Freemius library for GDPR optin support.
113
  * Improvement: Made all popup loops more reliable.
777
  * Misc Admin changes, including new filters/hooks for upcoming extensions.
778
 
779
  = v1.0.0 =
780
+ * Initial Release