WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress - Version 3.5.27

Version Description

Download this release

Release Info

Developer tareq1988
Plugin Icon 128x128 WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress
Version 3.5.27
Comparing to
See all releases

Code changes from version 3.5.26 to 3.5.27

Files changed (55) hide show
  1. admin/block/account/block.json +0 -0
  2. admin/class-admin-settings.php +13 -3
  3. admin/form-builder/assets/js/components/field-multiselect/template.php +1 -1
  4. admin/form-builder/assets/js/components/field-radio/template.php +1 -1
  5. admin/form-builder/assets/js/components/form-column_field/index.js +1 -1
  6. admin/form-builder/assets/js/form-builder.js +26 -0
  7. admin/form-builder/assets/js/mixins/option-field.js +5 -1
  8. admin/form-builder/class-wpuf-admin-form-builder.php +2 -0
  9. admin/form-handler.php +6 -5
  10. admin/form.php +127 -105
  11. admin/html/whats-new.php +152 -38
  12. admin/settings-options.php +7 -0
  13. assets/css/frontend-forms.css +3 -2
  14. assets/js-templates/form-components.php +2 -2
  15. assets/js/frontend-form.js +261 -117
  16. assets/js/frontend-form.min.js +1 -1
  17. assets/js/promotion.json +7 -7
  18. assets/js/upload.js +1 -1
  19. assets/js/upload.min.js +1 -1
  20. assets/js/wpuf-admin.js +2 -1
  21. assets/js/wpuf-form-builder-components.js +1 -1
  22. assets/js/wpuf-form-builder-mixins.js +5 -1
  23. assets/js/wpuf-form-builder.js +26 -0
  24. assets/js/wpuf-login-widget.js +2 -1
  25. assets/less/frontend-forms.less +3 -2
  26. changelog.txt +31 -0
  27. class/admin-asset-loader.php +2 -0
  28. class/frontend-account.php +45 -0
  29. class/payment.php +1 -1
  30. class/render-form.php +12 -3
  31. class/subscription.php +6 -2
  32. class/transactions-list-table.php +44 -17
  33. includes/class-billing-address.php +1 -0
  34. includes/class-frontend-form-post.php +61 -3
  35. includes/class-frontend-render-form.php +2 -9
  36. includes/class-gutenblock.php +6 -3
  37. includes/class-user-subscription.php +4 -1
  38. includes/fields/class-abstract-fields.php +27 -2
  39. includes/fields/class-field-multidropdown.php +1 -1
  40. includes/fields/class-field-post-content.php +12 -2
  41. includes/fields/class-field-post-taxonomy.php +1 -1
  42. includes/fields/class-field-textarea.php +28 -30
  43. includes/free/class-login.php +74 -15
  44. languages/wp-user-frontend.pot +920 -763
  45. lib/class.settings-api.php +4 -3
  46. lib/gateway/bank.php +4 -4
  47. lib/gateway/paypal.php +1 -1
  48. readme.txt +32 -2
  49. templates/dashboard.php +11 -1
  50. templates/dashboard/billing-address.php +2 -7
  51. templates/dashboard/list.php +5 -22
  52. templates/dashboard/posts.php +21 -32
  53. templates/dashboard/subscription.php +14 -13
  54. wpuf-functions.php +421 -45
  55. wpuf.php +5 -5
admin/block/account/block.json ADDED
File without changes
admin/class-admin-settings.php CHANGED
@@ -84,11 +84,14 @@ class WPUF_Admin_Settings {
84
 
85
  $capability = wpuf_admin_role();
86
 
87
- // Translation issue: Hook name change due to translate menu title
88
  $this->menu_pages[] = add_menu_page( __( 'WP User Frontend', 'wp-user-frontend' ), __( 'User Frontend', 'wp-user-frontend' ), $capability, 'wp-user-frontend', [ $this, 'wpuf_post_forms_page' ], 'data:image/svg+xml;base64,' . base64_encode( '<svg width="83px" height="76px" viewBox="0 0 83 76" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="wpuf-icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="ufp" fill-rule="nonzero" fill="#9EA3A8"><path d="M49.38,51.88 C49.503348,56.4604553 45.8999295,60.2784694 41.32,60.42 C36.7400705,60.2784694 33.136652,56.4604553 33.26,51.88 L33.26,40.23 L19,40.23 L19,51.88 C19,64.77 29,75.25 41.36,75.26 L41.36,75.26 C47.3622079,75.2559227 53.0954073,72.7693647 57.2,68.39 C61.4213559,63.9375842 63.7575868,58.0253435 63.72,51.89 L63.72,40.23 L49.38,40.23 L49.38,51.88 Z" id="Shape"></path><polygon id="Shape" points="32.96 0.59 0 0.59 3.77 16.68 32.96 16.68"></polygon><path d="M68,0 L49.75,0 L49.75,16.1 L68,16.1 C68.74,16.1 69.39,17.1 69.39,18.24 C69.39,19.38 68.74,20.38 68,20.38 L49.75,20.38 L49.75,36.5 L68,36.5 C76,36.5 82.5,28.31 82.5,18.25 C82.5,8.19 76,0 68,0 Z" id="Shape"></path><polygon id="Shape" points="32.96 20.41 5.31 20.41 9.07 36.5 32.96 36.5"></polygon></g></g></svg>' ), '54.2' );
89
 
90
- $this->menu_pages[] = add_submenu_page( 'wp-user-frontend', __( 'Post Forms', 'wp-user-frontend' ), __( 'Post Forms', 'wp-user-frontend' ), $capability, 'wpuf-post-forms', [ $this, 'wpuf_post_forms_page' ] );
91
- remove_submenu_page( 'wp-user-frontend', 'wp-user-frontend' );
 
 
 
 
92
 
93
  /*
94
  * @since 2.3
@@ -130,6 +133,13 @@ class WPUF_Admin_Settings {
130
  }
131
  }
132
 
 
 
 
 
 
 
 
133
  /**
134
  * WPUF Settings sections
135
  *
84
 
85
  $capability = wpuf_admin_role();
86
 
 
87
  $this->menu_pages[] = add_menu_page( __( 'WP User Frontend', 'wp-user-frontend' ), __( 'User Frontend', 'wp-user-frontend' ), $capability, 'wp-user-frontend', [ $this, 'wpuf_post_forms_page' ], 'data:image/svg+xml;base64,' . base64_encode( '<svg width="83px" height="76px" viewBox="0 0 83 76" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="wpuf-icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="ufp" fill-rule="nonzero" fill="#9EA3A8"><path d="M49.38,51.88 C49.503348,56.4604553 45.8999295,60.2784694 41.32,60.42 C36.7400705,60.2784694 33.136652,56.4604553 33.26,51.88 L33.26,40.23 L19,40.23 L19,51.88 C19,64.77 29,75.25 41.36,75.26 L41.36,75.26 C47.3622079,75.2559227 53.0954073,72.7693647 57.2,68.39 C61.4213559,63.9375842 63.7575868,58.0253435 63.72,51.89 L63.72,40.23 L49.38,40.23 L49.38,51.88 Z" id="Shape"></path><polygon id="Shape" points="32.96 0.59 0 0.59 3.77 16.68 32.96 16.68"></polygon><path d="M68,0 L49.75,0 L49.75,16.1 L68,16.1 C68.74,16.1 69.39,17.1 69.39,18.24 C69.39,19.38 68.74,20.38 68,20.38 L49.75,20.38 L49.75,36.5 L68,36.5 C76,36.5 82.5,28.31 82.5,18.25 C82.5,8.19 76,0 68,0 Z" id="Shape"></path><polygon id="Shape" points="32.96 20.41 5.31 20.41 9.07 36.5 32.96 36.5"></polygon></g></g></svg>' ), '54.2' );
88
 
89
+ $post_form_submenu = add_submenu_page('wp-user-frontend', __('Post Forms', 'wp-user-frontend'), __('Post Forms', 'wp-user-frontend'), $capability, 'wpuf-post-forms', [$this, 'wpuf_post_forms_page']);
90
+ $this->menu_pages[] = $post_form_submenu;
91
+
92
+ add_action( "load-$post_form_submenu", [ $this, 'post_form_menu_action' ] );
93
+
94
+ remove_submenu_page( 'wp-user-frontend', 'wp-user-frontend' );
95
 
96
  /*
97
  * @since 2.3
133
  }
134
  }
135
 
136
+ /**
137
+ * Fire when post form submenu registered
138
+ */
139
+ public function post_form_menu_action() {
140
+ do_action('wpuf_load_post_forms');
141
+ }
142
+
143
  /**
144
  * WPUF Settings sections
145
  *
admin/form-builder/assets/js/components/field-multiselect/template.php CHANGED
@@ -1,4 +1,4 @@
1
- <div class="panel-field-opt panel-field-opt-select">
2
  <label v-if="option_field.title">
3
  {{ option_field.title }} <help-text v-if="option_field.help_text" :text="option_field.help_text"></help-text>
4
  </label>
1
+ <div class="panel-field-opt panel-field-opt-select" v-show="met_dependencies">
2
  <label v-if="option_field.title">
3
  {{ option_field.title }} <help-text v-if="option_field.help_text" :text="option_field.help_text"></help-text>
4
  </label>
admin/form-builder/assets/js/components/field-radio/template.php CHANGED
@@ -1,4 +1,4 @@
1
- <div class="panel-field-opt panel-field-opt-radio">
2
  <label v-if="option_field.title">
3
  {{ option_field.title }} <help-text v-if="option_field.help_text" :text="option_field.help_text"></help-text>
4
  </label>
1
+ <div v-if="met_dependencies" class="panel-field-opt panel-field-opt-radio">
2
  <label v-if="option_field.title">
3
  {{ option_field.title }} <help-text v-if="option_field.help_text" :text="option_field.help_text"></help-text>
4
  </label>
admin/form-builder/assets/js/components/form-column_field/index.js CHANGED
@@ -82,7 +82,7 @@ Vue.component('form-column_field', {
82
  payload.field_id = self.field.id;
83
  payload.fromIndex = parseInt(item.attributes['column-field-index'].value);
84
  payload.fromColumn = item.attributes['in-column'].value;
85
- payload.toColumn = item.parent().parent().attr('class').split(' ')[0];
86
 
87
  // when drag field one column to another column, sortable event trigger twice and try to swap field twice.
88
  // So the following conditions are needed to check and run swap_column_field_elements commit only once
82
  payload.field_id = self.field.id;
83
  payload.fromIndex = parseInt(item.attributes['column-field-index'].value);
84
  payload.fromColumn = item.attributes['in-column'].value;
85
+ payload.toColumn = $(item).parent().parent().attr('class').split(' ')[0];
86
 
87
  // when drag field one column to another column, sortable event trigger twice and try to swap field twice.
88
  // So the following conditions are needed to check and run swap_column_field_elements commit only once
admin/form-builder/assets/js/form-builder.js CHANGED
@@ -113,6 +113,14 @@
113
  for (i = 0; i < state.form_fields.length; i++) {
114
  // check if the editing field exist in normal fields
115
  if (state.form_fields[i].id === parseInt(payload.editing_field_id)) {
 
 
 
 
 
 
 
 
116
  if (payload.field_name === 'name' && ! state.form_fields[i].hasOwnProperty('is_new') ) {
117
  continue;
118
  } else {
@@ -432,6 +440,18 @@
432
 
433
  settings: function() {
434
  return this.$store.state.settings;
 
 
 
 
 
 
 
 
 
 
 
 
435
  }
436
  },
437
 
@@ -540,6 +560,12 @@
540
  var form_id = $('#wpuf-form-builder [name="wpuf_form_id"]').val();
541
 
542
  if ( typeof tinyMCE !== 'undefined' && window.location.search.substring(1).split('&').includes('page=wpuf-profile-forms') ) {
 
 
 
 
 
 
543
  $('textarea[name="wpuf_settings[notification][verification_body]"]').val(tinyMCE.get('wpuf_verification_body_' + form_id).getContent());
544
  $('textarea[name="wpuf_settings[notification][welcome_email_body]"]').val(tinyMCE.get('wpuf_welcome_email_body_' + form_id).getContent());
545
  }
113
  for (i = 0; i < state.form_fields.length; i++) {
114
  // check if the editing field exist in normal fields
115
  if (state.form_fields[i].id === parseInt(payload.editing_field_id)) {
116
+ if ( 'read_only' === payload.field_name && payload.value ) {
117
+ state.form_fields[i]['required'] = 'no';
118
+ }
119
+
120
+ if ( 'required' === payload.field_name && 'yes' === payload.value ) {
121
+ state.form_fields[i]['read_only'] = false;
122
+ }
123
+
124
  if (payload.field_name === 'name' && ! state.form_fields[i].hasOwnProperty('is_new') ) {
125
  continue;
126
  } else {
440
 
441
  settings: function() {
442
  return this.$store.state.settings;
443
+ },
444
+
445
+ meta_field_key: function () {
446
+ let meta_key = [];
447
+
448
+ this.$store.state.form_fields.forEach(function (field) {
449
+ if ( 'yes' === field.is_meta ) {
450
+ meta_key.push(field.name);
451
+ }
452
+ });
453
+
454
+ return meta_key.map(function(name) { return '{' + name +'}' }).join( );
455
  }
456
  },
457
 
560
  var form_id = $('#wpuf-form-builder [name="wpuf_form_id"]').val();
561
 
562
  if ( typeof tinyMCE !== 'undefined' && window.location.search.substring(1).split('&').includes('page=wpuf-profile-forms') ) {
563
+ var parentWrap = $('#wp-wpuf_verification_body_' + form_id + '-wrap');
564
+ if ( ! parentWrap.hasClass('tmce-active') ) {
565
+ $('#wpuf_verification_body_' + form_id + '-tmce').click(); // bring user to the visual editor
566
+ $('#wpuf_welcome_email_body_' + form_id + '-tmce').click();
567
+ }
568
+
569
  $('textarea[name="wpuf_settings[notification][verification_body]"]').val(tinyMCE.get('wpuf_verification_body_' + form_id).getContent());
570
  $('textarea[name="wpuf_settings[notification][welcome_email_body]"]').val(tinyMCE.get('wpuf_welcome_email_body_' + form_id).getContent());
571
  }
admin/form-builder/assets/js/mixins/option-field.js CHANGED
@@ -36,7 +36,11 @@ wpuf_mixins.option_field_mixin = {
36
  var required_dep_value = this.option_field.dependencies[ deps[i] ],
37
  editing_field_value = this.editing_form_field[ deps[i] ];
38
 
39
- if (required_dep_value !== editing_field_value) {
 
 
 
 
40
  return false;
41
  }
42
  }
36
  var required_dep_value = this.option_field.dependencies[ deps[i] ],
37
  editing_field_value = this.editing_form_field[ deps[i] ];
38
 
39
+ if ( required_dep_value instanceof Array && required_dep_value.includes( editing_field_value ) ) {
40
+ return true;
41
+ }
42
+
43
+ if ( required_dep_value !== editing_field_value ) {
44
  return false;
45
  }
46
  }
admin/form-builder/class-wpuf-admin-form-builder.php CHANGED
@@ -168,6 +168,8 @@ class WPUF_Admin_Form_Builder {
168
  'nonce' => wp_create_nonce( 'form-builder-setting-nonce' )
169
  ] );
170
 
 
 
171
  wp_localize_script( 'wpuf-form-builder-mixins', 'wpuf_form_builder', $wpuf_form_builder );
172
 
173
  // mixins
168
  'nonce' => wp_create_nonce( 'form-builder-setting-nonce' )
169
  ] );
170
 
171
+ $wpuf_form_builder = wpuf_unset_conditional( $wpuf_form_builder );
172
+
173
  wp_localize_script( 'wpuf-form-builder-mixins', 'wpuf_form_builder', $wpuf_form_builder );
174
 
175
  // mixins
admin/form-handler.php CHANGED
@@ -4,8 +4,8 @@ class WPUF_Admin_Form_Handler {
4
 
5
  public function __construct() {
6
  // post forms list table
7
- add_action( 'load-user-frontend_page_wpuf-post-forms', [ $this, 'post_forms_actions' ] );
8
- add_action( 'load-user-frontend_page_wpuf-profile-forms', [ $this, 'profile_forms_actions' ] );
9
  add_action( 'admin_notices', [ $this, 'admin_notices' ] );
10
  add_action( 'removable_query_args', [ $this, 'removable_query_args' ] );
11
  }
@@ -68,8 +68,8 @@ class WPUF_Admin_Form_Handler {
68
 
69
  switch ( $action ) {
70
  case 'post_form_search':
71
- $redirect = remove_query_arg( [ 'post_form_search' ], $remove_query_args );
72
-
73
  break;
74
 
75
  case 'trash':
@@ -201,7 +201,8 @@ class WPUF_Admin_Form_Handler {
201
 
202
  switch ( $action ) {
203
  case 'profile_form_search':
204
- $redirect = remove_query_arg( [ 'profile_form_search' ], $redirect );
 
205
 
206
  break;
207
 
4
 
5
  public function __construct() {
6
  // post forms list table
7
+ add_action( "wpuf_load_post_forms", [ $this, 'post_forms_actions' ] );
8
+ add_action( "wpuf_load_profile_forms", [ $this, 'profile_forms_actions' ] );
9
  add_action( 'admin_notices', [ $this, 'admin_notices' ] );
10
  add_action( 'removable_query_args', [ $this, 'removable_query_args' ] );
11
  }
68
 
69
  switch ( $action ) {
70
  case 'post_form_search':
71
+ $remove_query_args[] = 'post_form_search';
72
+ $redirect = remove_query_arg( $remove_query_args, $_SERVER['REQUEST_URI'] );
73
  break;
74
 
75
  case 'trash':
201
 
202
  switch ( $action ) {
203
  case 'profile_form_search':
204
+ $remove_query_args[] = 'profile_form_search';
205
+ $redirect = remove_query_arg( $remove_query_args, $_SERVER['REQUEST_URI'] );
206
 
207
  break;
208
 
admin/form.php CHANGED
@@ -31,7 +31,9 @@ class WPUF_Admin_Form {
31
  */
32
  public function __construct() {
33
  add_action( 'init', [$this, 'register_post_type'] );
34
- add_action( 'load-user-frontend_page_wpuf-post-forms', [ $this, 'post_forms_builder_init' ] );
 
 
35
  }
36
 
37
  /**
@@ -42,87 +44,93 @@ class WPUF_Admin_Form {
42
  public function register_post_type() {
43
  $capability = wpuf_admin_role();
44
 
45
- register_post_type( 'wpuf_forms', [
46
- 'label' => __( 'Forms', 'wp-user-frontend' ),
47
- 'public' => false,
48
- 'show_ui' => false,
49
- 'show_in_menu' => false, //false,
50
- 'capability_type' => 'post',
51
- 'hierarchical' => false,
52
- 'query_var' => false,
53
- 'supports' => ['title'],
54
- 'capabilities' => [
55
- 'publish_posts' => $capability,
56
- 'edit_posts' => $capability,
57
- 'edit_others_posts' => $capability,
58
- 'delete_posts' => $capability,
59
- 'delete_others_posts' => $capability,
60
- 'read_private_posts' => $capability,
61
- 'edit_post' => $capability,
62
- 'delete_post' => $capability,
63
- 'read_post' => $capability,
64
- ],
65
- 'labels' => [
66
- 'name' => __( 'Forms', 'wp-user-frontend' ),
67
- 'singular_name' => __( 'Form', 'wp-user-frontend' ),
68
- 'menu_name' => __( 'Forms', 'wp-user-frontend' ),
69
- 'add_new' => __( 'Add Form', 'wp-user-frontend' ),
70
- 'add_new_item' => __( 'Add New Form', 'wp-user-frontend' ),
71
- 'edit' => __( 'Edit', 'wp-user-frontend' ),
72
- 'edit_item' => __( 'Edit Form', 'wp-user-frontend' ),
73
- 'new_item' => __( 'New Form', 'wp-user-frontend' ),
74
- 'view' => __( 'View Form', 'wp-user-frontend' ),
75
- 'view_item' => __( 'View Form', 'wp-user-frontend' ),
76
- 'search_items' => __( 'Search Form', 'wp-user-frontend' ),
77
- 'not_found' => __( 'No Form Found', 'wp-user-frontend' ),
78
- 'not_found_in_trash' => __( 'No Form Found in Trash', 'wp-user-frontend' ),
79
- 'parent' => __( 'Parent Form', 'wp-user-frontend' ),
80
- ],
81
- ] );
82
-
83
- register_post_type( 'wpuf_profile', [
84
- 'label' => __( 'Registraton Forms', 'wp-user-frontend' ),
85
- 'public' => false,
86
- 'show_ui' => false,
87
- 'show_in_menu' => false,
88
- 'capability_type' => 'post',
89
- 'hierarchical' => false,
90
- 'query_var' => false,
91
- 'supports' => ['title'],
92
- 'capabilities' => [
93
- 'publish_posts' => $capability,
94
- 'edit_posts' => $capability,
95
- 'edit_others_posts' => $capability,
96
- 'delete_posts' => $capability,
97
- 'delete_others_posts' => $capability,
98
- 'read_private_posts' => $capability,
99
- 'edit_post' => $capability,
100
- 'delete_post' => $capability,
101
- 'read_post' => $capability,
102
- ],
103
- 'labels' => [
104
- 'name' => __( 'Forms', 'wp-user-frontend' ),
105
- 'singular_name' => __( 'Form', 'wp-user-frontend' ),
106
- 'menu_name' => __( 'Registration Forms', 'wp-user-frontend' ),
107
- 'add_new' => __( 'Add Form', 'wp-user-frontend' ),
108
- 'add_new_item' => __( 'Add New Form', 'wp-user-frontend' ),
109
- 'edit' => __( 'Edit', 'wp-user-frontend' ),
110
- 'edit_item' => __( 'Edit Form', 'wp-user-frontend' ),
111
- 'new_item' => __( 'New Form', 'wp-user-frontend' ),
112
- 'view' => __( 'View Form', 'wp-user-frontend' ),
113
- 'view_item' => __( 'View Form', 'wp-user-frontend' ),
114
- 'search_items' => __( 'Search Form', 'wp-user-frontend' ),
115
- 'not_found' => __( 'No Form Found', 'wp-user-frontend' ),
116
- 'not_found_in_trash' => __( 'No Form Found in Trash', 'wp-user-frontend' ),
117
- 'parent' => __( 'Parent Form', 'wp-user-frontend' ),
118
- ],
119
- ] );
120
-
121
- register_post_type( 'wpuf_input', [
122
- 'public' => false,
123
- 'show_ui' => false,
124
- 'show_in_menu' => false,
125
- ] );
 
 
 
 
 
 
126
  }
127
 
128
  /**
@@ -133,7 +141,7 @@ class WPUF_Admin_Form {
133
  * @return void
134
  */
135
  public function post_forms_builder_init() {
136
- if ( !isset( $_GET['action'] ) ) {
137
  return;
138
  }
139
 
@@ -143,7 +151,7 @@ class WPUF_Admin_Form {
143
  wp_redirect( $add_new_page_url );
144
  }
145
 
146
- if ( ( 'edit' === $_GET['action'] ) && !empty( $_GET['id'] ) ) {
147
  add_action( 'wpuf-form-builder-tabs-post', [ $this, 'add_primary_tabs' ] );
148
  add_action( 'wpuf-form-builder-tab-contents-post', [ $this, 'add_primary_tab_contents' ] );
149
  add_action( 'wpuf-form-builder-settings-tabs-post', [ $this, 'add_settings_tabs' ] );
@@ -241,7 +249,8 @@ class WPUF_Admin_Form {
241
  public function add_settings_tab_contents() {
242
  global $post;
243
 
244
- $form_settings = wpuf_get_form_settings( $post->ID ); ?>
 
245
 
246
  <div id="wpuf-metabox-settings" class="group">
247
  <?php include_once __DIR__ . '/html/form-settings-post.php'; ?>
@@ -284,7 +293,7 @@ class WPUF_Admin_Form {
284
  public function subscription_dropdown( $selected = null ) {
285
  $subscriptions = WPUF_Subscription::init()->get_subscriptions();
286
 
287
- if ( !$subscriptions ) {
288
  printf( '<option>%s</option>', esc_html( __( '- Select -', 'wp-user-frontend' ) ) );
289
 
290
  return;
@@ -318,9 +327,14 @@ class WPUF_Admin_Form {
318
  * @return array
319
  */
320
  public function add_post_field_section() {
321
- $post_fields = apply_filters( 'wpuf-form-builder-wp_forms-fields-section-post-fields', [
322
- 'post_title', 'post_content', 'post_excerpt', 'featured_image',
323
- ] );
 
 
 
 
 
324
 
325
  return [
326
  [
@@ -351,7 +365,7 @@ class WPUF_Admin_Form {
351
  [ 'jquery', 'underscore', 'wpuf-vue', 'wpuf-vuex' ],
352
  WPUF_VERSION,
353
  true
354
- );
355
  }
356
 
357
  /**
@@ -449,9 +463,11 @@ class WPUF_Admin_Form {
449
 
450
  $wpuf_post_types = wpuf_get_post_types( $args );
451
 
452
- $ignore_taxonomies = apply_filters( 'wpuf-ignore-taxonomies', [
453
- 'post_format',
454
- ] );
 
 
455
 
456
  foreach ( $wpuf_post_types as $post_type ) {
457
  $this->wp_post_types[ $post_type ] = [];
@@ -459,16 +475,18 @@ class WPUF_Admin_Form {
459
  $taxonomies = get_object_taxonomies( $post_type, 'object' );
460
 
461
  foreach ( $taxonomies as $tax_name => $taxonomy ) {
462
- if ( !in_array( $tax_name, $ignore_taxonomies ) ) {
463
  $this->wp_post_types[ $post_type ][ $tax_name ] = [
464
  'title' => $taxonomy->label,
465
  'hierarchical' => $taxonomy->hierarchical,
466
  ];
467
 
468
- $this->wp_post_types[ $post_type ][ $tax_name ]['terms'] = get_terms( [
469
- 'taxonomy' => $tax_name,
470
- 'hide_empty' => false,
471
- ] );
 
 
472
  }
473
  }
474
  }
@@ -484,9 +502,11 @@ class WPUF_Admin_Form {
484
  * @return array
485
  */
486
  public function add_to_localize_script( $data ) {
487
- return array_merge( $data, [
488
- 'wp_post_types' => $this->wp_post_types,
489
- ] );
 
 
490
  }
491
 
492
  /**
@@ -515,7 +535,7 @@ class WPUF_Admin_Form {
515
  $taxonomy_templates = [];
516
 
517
  foreach ( $this->wp_post_types as $post_type => $taxonomies ) {
518
- if ( !empty( $taxonomies ) ) {
519
  foreach ( $taxonomies as $tax_name => $taxonomy ) {
520
  if ( 'post_tag' === $tax_name ) {
521
  $taxonomy_templates['post_tag'] = new WPUF_Form_Field_Post_Tags();
@@ -543,8 +563,10 @@ class WPUF_Admin_Form {
543
  * @return array
544
  */
545
  public function i18n( $i18n ) {
546
- return array_merge( $i18n, [
547
- 'any_of_three_needed' => __( 'Post Forms must have either Post Title, Post Body or Excerpt field', 'wp-user-frontend' ),
548
- ] );
 
 
549
  }
550
  }
31
  */
32
  public function __construct() {
33
  add_action( 'init', [$this, 'register_post_type'] );
34
+
35
+ $label = strtolower( preg_replace( '/\s/', '-$1', __( 'User Frontend', 'wp-user-frontend' ) ) );
36
+ add_action( "load-${label}_page_wpuf-post-forms", [ $this, 'post_forms_builder_init' ] );
37
  }
38
 
39
  /**
44
  public function register_post_type() {
45
  $capability = wpuf_admin_role();
46
 
47
+ register_post_type(
48
+ 'wpuf_forms', [
49
+ 'label' => __( 'Forms', 'wp-user-frontend' ),
50
+ 'public' => false,
51
+ 'show_ui' => false,
52
+ 'show_in_menu' => false, //false,
53
+ 'capability_type' => 'post',
54
+ 'hierarchical' => false,
55
+ 'query_var' => false,
56
+ 'supports' => [ 'title' ],
57
+ 'capabilities' => [
58
+ 'publish_posts' => $capability,
59
+ 'edit_posts' => $capability,
60
+ 'edit_others_posts' => $capability,
61
+ 'delete_posts' => $capability,
62
+ 'delete_others_posts' => $capability,
63
+ 'read_private_posts' => $capability,
64
+ 'edit_post' => $capability,
65
+ 'delete_post' => $capability,
66
+ 'read_post' => $capability,
67
+ ],
68
+ 'labels' => [
69
+ 'name' => __( 'Forms', 'wp-user-frontend' ),
70
+ 'singular_name' => __( 'Form', 'wp-user-frontend' ),
71
+ 'menu_name' => __( 'Forms', 'wp-user-frontend' ),
72
+ 'add_new' => __( 'Add Form', 'wp-user-frontend' ),
73
+ 'add_new_item' => __( 'Add New Form', 'wp-user-frontend' ),
74
+ 'edit' => __( 'Edit', 'wp-user-frontend' ),
75
+ 'edit_item' => __( 'Edit Form', 'wp-user-frontend' ),
76
+ 'new_item' => __( 'New Form', 'wp-user-frontend' ),
77
+ 'view' => __( 'View Form', 'wp-user-frontend' ),
78
+ 'view_item' => __( 'View Form', 'wp-user-frontend' ),
79
+ 'search_items' => __( 'Search Form', 'wp-user-frontend' ),
80
+ 'not_found' => __( 'No Form Found', 'wp-user-frontend' ),
81
+ 'not_found_in_trash' => __( 'No Form Found in Trash', 'wp-user-frontend' ),
82
+ 'parent' => __( 'Parent Form', 'wp-user-frontend' ),
83
+ ],
84
+ ]
85
+ );
86
+
87
+ register_post_type(
88
+ 'wpuf_profile', [
89
+ 'label' => __( 'Registraton Forms', 'wp-user-frontend' ),
90
+ 'public' => false,
91
+ 'show_ui' => false,
92
+ 'show_in_menu' => false,
93
+ 'capability_type' => 'post',
94
+ 'hierarchical' => false,
95
+ 'query_var' => false,
96
+ 'supports' => [ 'title' ],
97
+ 'capabilities' => [
98
+ 'publish_posts' => $capability,
99
+ 'edit_posts' => $capability,
100
+ 'edit_others_posts' => $capability,
101
+ 'delete_posts' => $capability,
102
+ 'delete_others_posts' => $capability,
103
+ 'read_private_posts' => $capability,
104
+ 'edit_post' => $capability,
105
+ 'delete_post' => $capability,
106
+ 'read_post' => $capability,
107
+ ],
108
+ 'labels' => [
109
+ 'name' => __( 'Forms', 'wp-user-frontend' ),
110
+ 'singular_name' => __( 'Form', 'wp-user-frontend' ),
111
+ 'menu_name' => __( 'Registration Forms', 'wp-user-frontend' ),
112
+ 'add_new' => __( 'Add Form', 'wp-user-frontend' ),
113
+ 'add_new_item' => __( 'Add New Form', 'wp-user-frontend' ),
114
+ 'edit' => __( 'Edit', 'wp-user-frontend' ),
115
+ 'edit_item' => __( 'Edit Form', 'wp-user-frontend' ),
116
+ 'new_item' => __( 'New Form', 'wp-user-frontend' ),
117
+ 'view' => __( 'View Form', 'wp-user-frontend' ),
118
+ 'view_item' => __( 'View Form', 'wp-user-frontend' ),
119
+ 'search_items' => __( 'Search Form', 'wp-user-frontend' ),
120
+ 'not_found' => __( 'No Form Found', 'wp-user-frontend' ),
121
+ 'not_found_in_trash' => __( 'No Form Found in Trash', 'wp-user-frontend' ),
122
+ 'parent' => __( 'Parent Form', 'wp-user-frontend' ),
123
+ ],
124
+ ]
125
+ );
126
+
127
+ register_post_type(
128
+ 'wpuf_input', [
129
+ 'public' => false,
130
+ 'show_ui' => false,
131
+ 'show_in_menu' => false,
132
+ ]
133
+ );
134
  }
135
 
136
  /**
141
  * @return void
142
  */
143
  public function post_forms_builder_init() {
144
+ if ( ! isset( $_GET['action'] ) ) {
145
  return;
146
  }
147
 
151
  wp_redirect( $add_new_page_url );
152
  }
153
 
154
+ if ( ( 'edit' === $_GET['action'] ) && ! empty( $_GET['id'] ) ) {
155
  add_action( 'wpuf-form-builder-tabs-post', [ $this, 'add_primary_tabs' ] );
156
  add_action( 'wpuf-form-builder-tab-contents-post', [ $this, 'add_primary_tab_contents' ] );
157
  add_action( 'wpuf-form-builder-settings-tabs-post', [ $this, 'add_settings_tabs' ] );
249
  public function add_settings_tab_contents() {
250
  global $post;
251
 
252
+ $form_settings = wpuf_get_form_settings( $post->ID );
253
+ ?>
254
 
255
  <div id="wpuf-metabox-settings" class="group">
256
  <?php include_once __DIR__ . '/html/form-settings-post.php'; ?>
293
  public function subscription_dropdown( $selected = null ) {
294
  $subscriptions = WPUF_Subscription::init()->get_subscriptions();
295
 
296
+ if ( ! $subscriptions ) {
297
  printf( '<option>%s</option>', esc_html( __( '- Select -', 'wp-user-frontend' ) ) );
298
 
299
  return;
327
  * @return array
328
  */
329
  public function add_post_field_section() {
330
+ $post_fields = apply_filters(
331
+ 'wpuf-form-builder-wp_forms-fields-section-post-fields', [
332
+ 'post_title',
333
+ 'post_content',
334
+ 'post_excerpt',
335
+ 'featured_image',
336
+ ]
337
+ );
338
 
339
  return [
340
  [
365
  [ 'jquery', 'underscore', 'wpuf-vue', 'wpuf-vuex' ],
366
  WPUF_VERSION,
367
  true
368
+ );
369
  }
370
 
371
  /**
463
 
464
  $wpuf_post_types = wpuf_get_post_types( $args );
465
 
466
+ $ignore_taxonomies = apply_filters(
467
+ 'wpuf-ignore-taxonomies', [
468
+ 'post_format',
469
+ ]
470
+ );
471
 
472
  foreach ( $wpuf_post_types as $post_type ) {
473
  $this->wp_post_types[ $post_type ] = [];
475
  $taxonomies = get_object_taxonomies( $post_type, 'object' );
476
 
477
  foreach ( $taxonomies as $tax_name => $taxonomy ) {
478
+ if ( ! in_array( $tax_name, $ignore_taxonomies ) ) {
479
  $this->wp_post_types[ $post_type ][ $tax_name ] = [
480
  'title' => $taxonomy->label,
481
  'hierarchical' => $taxonomy->hierarchical,
482
  ];
483
 
484
+ $this->wp_post_types[ $post_type ][ $tax_name ]['terms'] = get_terms(
485
+ [
486
+ 'taxonomy' => $tax_name,
487
+ 'hide_empty' => false,
488
+ ]
489
+ );
490
  }
491
  }
492
  }
502
  * @return array
503
  */
504
  public function add_to_localize_script( $data ) {
505
+ return array_merge(
506
+ $data, [
507
+ 'wp_post_types' => $this->wp_post_types,
508
+ ]
509
+ );
510
  }
511
 
512
  /**
535
  $taxonomy_templates = [];
536
 
537
  foreach ( $this->wp_post_types as $post_type => $taxonomies ) {
538
+ if ( ! empty( $taxonomies ) ) {
539
  foreach ( $taxonomies as $tax_name => $taxonomy ) {
540
  if ( 'post_tag' === $tax_name ) {
541
  $taxonomy_templates['post_tag'] = new WPUF_Form_Field_Post_Tags();
563
  * @return array
564
  */
565
  public function i18n( $i18n ) {
566
+ return array_merge(
567
+ $i18n, [
568
+ 'any_of_three_needed' => __( 'Post Forms must have either Post Title, Post Body or Excerpt field', 'wp-user-frontend' ),
569
+ ]
570
+ );
571
  }
572
  }
admin/html/whats-new.php CHANGED
@@ -1,31 +1,145 @@
1
  <?php
2
  $changelog = [
3
  [
4
- 'version' => 'Version 3.5.26',
5
- 'released' => '2021-12-24',
6
- 'changes' => [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
- [
9
- 'title' => __( 'Promotion notice enhanced through api', 'wp-user-frontend' ),
10
- 'type' => 'Enhancement',
 
11
  ],
12
- ],
13
  ],
14
  [
15
- 'version' => 'Version 3.5.25',
16
- 'released' => '2021-11-18',
17
- 'changes' => [
18
 
19
- [
20
- 'title' => __( 'Security Vulnerability fixed', 'wp-user-frontend' ),
21
- 'type' => 'Fix',
 
22
  ],
23
- ],
24
  ],
25
- [
26
  'version' => 'Version 3.5.22',
27
  'released' => '2021-10-28',
28
- 'changes' => [
29
 
30
  [
31
  'title' => __( 'Featured item for subscriber', 'wp-user-frontend' ),
@@ -69,10 +183,10 @@ $changelog = [
69
  ],
70
  ],
71
  ],
72
- [
73
  'version' => 'Version 3.5.21',
74
  'released' => '2021-10-21',
75
- 'changes' => [
76
 
77
  [
78
  'title' => __( 'reCaptcha issue with other plugin handled', 'wp-user-frontend' ),
@@ -92,10 +206,10 @@ $changelog = [
92
  ],
93
  ],
94
  ],
95
- [
96
  'version' => 'Version 3.5.20',
97
  'released' => '2021-09-16',
98
- 'changes' => [
99
 
100
  [
101
  'title' => __( 'Content restriction for minimum, maximum value enhanced', 'wp-user-frontend' ),
@@ -158,7 +272,7 @@ $changelog = [
158
  [
159
  'version' => 'Version 3.5.18',
160
  'released' => '2021-07-06',
161
- 'changes' => [
162
 
163
  [
164
  'title' => __( 'Google Map field enhanced along with acf google map', 'wp-user-frontend' ),
@@ -205,7 +319,7 @@ $changelog = [
205
  [
206
  'version' => 'Version 3.5.17',
207
  'released' => '2021-06-08',
208
- 'changes' => [
209
 
210
  [
211
  'title' => __( 'Preview page added for post form and registration form', 'wp-user-frontend' ),
@@ -255,13 +369,13 @@ $changelog = [
255
  'title' => __( 'Popup z-index changed due to other plugin z-index', 'wp-user-frontend' ),
256
  'type' => 'Fix',
257
  ],
258
- ],
259
-
260
  ],
261
- [
 
 
262
  'version' => 'Version 3.5.16',
263
  'released' => '2021-05-08',
264
- 'changes' => [
265
 
266
  [
267
  'title' => __( 'Added Mauritian Rupee for currency', 'wp-user-frontend' ),
@@ -288,7 +402,7 @@ $changelog = [
288
  [
289
  'version' => 'Version 3.5.15',
290
  'released' => '2021-03-15',
291
- 'changes' => [
292
 
293
  [
294
  'title' => __( 'Overflow footer on form builder page', 'wp-user-frontend' ),
@@ -307,7 +421,7 @@ $changelog = [
307
  [
308
  'version' => 'Version 3.5.14',
309
  'released' => '2021-03-08',
310
- 'changes' => [
311
 
312
  [
313
  'title' => __( 'Meta key will not change if label update', 'wp-user-frontend' ),
@@ -342,7 +456,7 @@ $changelog = [
342
  [
343
  'version' => 'Version 3.5.13',
344
  'released' => '2021-02-05',
345
- 'changes' => [
346
 
347
  [
348
  'title' => __( 'Menu position has chenged due to dokan has same menu position', 'wp-user-frontend' ),
@@ -357,7 +471,7 @@ $changelog = [
357
  [
358
  'version' => 'Version 3.5.11',
359
  'released' => '2021-01-12',
360
- 'changes' => [
361
 
362
  [
363
  'title' => __( 'QR and math captcha added to pro feature list', 'wp-user-frontend' ),
@@ -380,7 +494,7 @@ $changelog = [
380
  [
381
  'version' => 'Version 3.5.9',
382
  'released' => '2020-12-11',
383
- 'changes' => [
384
 
385
  [
386
  'title' => __( 'Once trial subscription is used, it couldn\'t reset', 'wp-user-frontend' ),
@@ -407,7 +521,7 @@ $changelog = [
407
  [
408
  'version' => 'Version 3.5.8',
409
  'released' => '2020-11-21',
410
- 'changes' => [
411
 
412
  [
413
  'title' => __( 'Updated codebase to fix timezone mismatch', 'wp-user-frontend' ),
@@ -418,7 +532,7 @@ $changelog = [
418
  [
419
  'version' => 'Version 3.5.7',
420
  'released' => '2020-11-21',
421
- 'changes' => [
422
 
423
  [
424
  'title' => __( 'Custom html content field\'s width', 'wp-user-frontend' ),
@@ -433,7 +547,7 @@ $changelog = [
433
  [
434
  'version' => 'Version 3.5.4',
435
  'released' => '2020-11-11',
436
- 'changes' => [
437
 
438
  [
439
  'title' => __( 'Get appropriate user id when role based conditions are present', 'wp-user-frontend' ),
@@ -453,7 +567,7 @@ $changelog = [
453
  ],
454
  [
455
  'title' => __( 'Ajax type category not showing on edit', 'wp-user-frontend' ),
456
- 'type' => 'Fix'
457
  ],
458
  [
459
  'title' => __( 'Multiple file image can\'t select', 'wp-user-frontend' ),
@@ -461,7 +575,7 @@ $changelog = [
461
  ],
462
  [
463
  'title' => __( 'Subscription pack PayPal Checkout gets "Error: Access Denied"', 'wp-user-frontend' ),
464
- 'type' => 'Fix'
465
  ],
466
  [
467
  'title' => __( 'Conflict image field with acf image field', 'wp-user-frontend' ),
@@ -830,7 +944,7 @@ $changelog = [
830
  'title' => __( 'Multiple images showing issue in frontend', 'wp-user-frontend' ),
831
  'type' => 'Fix',
832
  'description' => __( 'Multiple images in a post were not showing in frontend. Now they will.', 'wp-user-frontend' ),
833
- ]
834
  ],
835
  ],
836
  [
@@ -1376,7 +1490,7 @@ function _wpuf_changelog_content( $content ) {
1376
  <span class="label <?php echo esc_html( strtolower( $change['type'] ) ); ?>"><?php echo esc_html( $change['type'] ); ?></span>
1377
  </h4>
1378
 
1379
- <?php if ( ! empty( $change['description'] ) ): ?>
1380
  <div class="description">
1381
  <?php echo wp_kses_post( _wpuf_changelog_content( $change['description'] ) ); ?>
1382
  </div>
1
  <?php
2
  $changelog = [
3
  [
4
+ 'version' => 'Version 3.5.27',
5
+ 'released' => '2022-03-09',
6
+ 'changes' => [
7
+ [
8
+ 'title' => __( 'Email template enhanced for after activation', 'wp-user-frontend' ),
9
+ 'type' => 'Enhancement',
10
+ ],
11
+ [
12
+ 'title' => __( 'Read only option for custom field', 'wp-user-frontend' ),
13
+ 'type' => 'Enhancement',
14
+ ],
15
+ [
16
+ 'title' => __( 'Editor toolbar exclude option enhanced', 'wp-user-frontend' ),
17
+ 'type' => 'Enhancement',
18
+ ],
19
+ [
20
+ 'title' => __( 'Preview option enhanced for user profile', 'wp-user-frontend' ),
21
+ 'type' => 'Enhancement',
22
+ ],
23
+ [
24
+ 'title' => __( 'Meta key enhanced for user email notification', 'wp-user-frontend' ),
25
+ 'type' => 'Enhancement',
26
+ ],
27
+ [
28
+ 'title' => __( 'Global option for disable post edit on account', 'wp-user-frontend' ),
29
+ 'type' => 'Enhancement',
30
+ ],
31
+ [
32
+ 'title' => __( 'Filter for conditional logic for fields added', 'wp-user-frontend' ),
33
+ 'type' => 'Enhancement',
34
+ ],
35
+ [
36
+ 'title' => __( 'PHP 8 compatibility handled', 'wp-user-frontend' ),
37
+ 'type' => 'Fix',
38
+ ],
39
+ [
40
+ 'title' => __( 'Address / Billing address inconsistency handled', 'wp-user-frontend' ),
41
+ 'type' => 'Fix',
42
+ ],
43
+ [
44
+ 'title' => __( 'Content restriction several issue fixed', 'wp-user-frontend' ),
45
+ 'type' => 'Fix',
46
+ ],
47
+ [
48
+ 'title' => __( 'Tax calculation properly handled for all areas', 'wp-user-frontend' ),
49
+ 'type' => 'Fix',
50
+ ],
51
+ [
52
+ 'title' => __( 'Validation added for invalid email and URL formats', 'wp-user-frontend' ),
53
+ 'type' => 'Fix',
54
+ ],
55
+ [
56
+ 'title' => __( 'Special character password handled for login', 'wp-user-frontend' ),
57
+ 'type' => 'Fix',
58
+ ],
59
+ [
60
+ 'title' => __( 'Reset password handled for sidebar widget', 'wp-user-frontend' ),
61
+ 'type' => 'Fix',
62
+ ],
63
+ [
64
+ 'title' => __( 'Required google map issues handled', 'wp-user-frontend' ),
65
+ 'type' => 'Fix',
66
+ ],
67
+ [
68
+ 'title' => __( 'Translation related issue handled for admin menu', 'wp-user-frontend' ),
69
+ 'type' => 'Fix',
70
+ ],
71
+ [
72
+ 'title' => __( 'Label & query enhanced for transaction table', 'wp-user-frontend' ),
73
+ 'type' => 'Fix',
74
+ ],
75
+ [
76
+ 'title' => __( 'Template override for child theme fixed', 'wp-user-frontend' ),
77
+ 'type' => 'Fix',
78
+ ],
79
+ [
80
+ 'title' => __( 'Custom field modal handled for registration form', 'wp-user-frontend' ),
81
+ 'type' => 'Fix',
82
+ ],
83
+ [
84
+ 'title' => __( 'Redundant CSS issues handled', 'wp-user-frontend' ),
85
+ 'type' => 'Fix',
86
+ ],
87
+ [
88
+ 'title' => __( 'Address field inconsistency fixed', 'wp-user-frontend' ),
89
+ 'type' => 'Fix',
90
+ ],
91
+ [
92
+ 'title' => __( 'Plugin page spin loading issue handled', 'wp-user-frontend' ),
93
+ 'type' => 'Fix',
94
+ ],
95
+ [
96
+ 'title' => __( 'Warning on exit for draft post fixed', 'wp-user-frontend' ),
97
+ 'type' => 'Fix',
98
+ ],
99
+ [
100
+ 'title' => __( 'Unlimited expire on admin user profile handled', 'wp-user-frontend' ),
101
+ 'type' => 'Fix',
102
+ ],
103
+ [
104
+ 'title' => __( 'No value checkbox issue handled', 'wp-user-frontend' ),
105
+ 'type' => 'Fix',
106
+ ],
107
+ [
108
+ 'title' => __( 'Tag search security Vulnerability handled', 'wp-user-frontend' ),
109
+ 'type' => 'Fix',
110
+ ],
111
+ [
112
+ 'title' => __( 'Multi dropdown field error handled', 'wp-user-frontend' ),
113
+ 'type' => 'Fix',
114
+ ],
115
+ ],
116
+ ],
117
+ [
118
+ 'version' => 'Version 3.5.26',
119
+ 'released' => '2021-12-24',
120
+ 'changes' => [
121
 
122
+ [
123
+ 'title' => __( 'Promotion notice enhanced through api', 'wp-user-frontend' ),
124
+ 'type' => 'Enhancement',
125
+ ],
126
  ],
 
127
  ],
128
  [
129
+ 'version' => 'Version 3.5.25',
130
+ 'released' => '2021-11-18',
131
+ 'changes' => [
132
 
133
+ [
134
+ 'title' => __( 'Security Vulnerability fixed', 'wp-user-frontend' ),
135
+ 'type' => 'Fix',
136
+ ],
137
  ],
 
138
  ],
139
+ [
140
  'version' => 'Version 3.5.22',
141
  'released' => '2021-10-28',
142
+ 'changes' => [
143
 
144
  [
145
  'title' => __( 'Featured item for subscriber', 'wp-user-frontend' ),
183
  ],
184
  ],
185
  ],
186
+ [
187
  'version' => 'Version 3.5.21',
188
  'released' => '2021-10-21',
189
+ 'changes' => [
190
 
191
  [
192
  'title' => __( 'reCaptcha issue with other plugin handled', 'wp-user-frontend' ),
206
  ],
207
  ],
208
  ],
209
+ [
210
  'version' => 'Version 3.5.20',
211
  'released' => '2021-09-16',
212
+ 'changes' => [
213
 
214
  [
215
  'title' => __( 'Content restriction for minimum, maximum value enhanced', 'wp-user-frontend' ),
272
  [
273
  'version' => 'Version 3.5.18',
274
  'released' => '2021-07-06',
275
+ 'changes' => [
276
 
277
  [
278
  'title' => __( 'Google Map field enhanced along with acf google map', 'wp-user-frontend' ),
319
  [
320
  'version' => 'Version 3.5.17',
321
  'released' => '2021-06-08',
322
+ 'changes' => [
323
 
324
  [
325
  'title' => __( 'Preview page added for post form and registration form', 'wp-user-frontend' ),
369
  'title' => __( 'Popup z-index changed due to other plugin z-index', 'wp-user-frontend' ),
370
  'type' => 'Fix',
371
  ],
 
 
372
  ],
373
+
374
+ ],
375
+ [
376
  'version' => 'Version 3.5.16',
377
  'released' => '2021-05-08',
378
+ 'changes' => [
379
 
380
  [
381
  'title' => __( 'Added Mauritian Rupee for currency', 'wp-user-frontend' ),
402
  [
403
  'version' => 'Version 3.5.15',
404
  'released' => '2021-03-15',
405
+ 'changes' => [
406
 
407
  [
408
  'title' => __( 'Overflow footer on form builder page', 'wp-user-frontend' ),
421
  [
422
  'version' => 'Version 3.5.14',
423
  'released' => '2021-03-08',
424
+ 'changes' => [
425
 
426
  [
427
  'title' => __( 'Meta key will not change if label update', 'wp-user-frontend' ),
456
  [
457
  'version' => 'Version 3.5.13',
458
  'released' => '2021-02-05',
459
+ 'changes' => [
460
 
461
  [
462
  'title' => __( 'Menu position has chenged due to dokan has same menu position', 'wp-user-frontend' ),
471
  [
472
  'version' => 'Version 3.5.11',
473
  'released' => '2021-01-12',
474
+ 'changes' => [
475
 
476
  [
477
  'title' => __( 'QR and math captcha added to pro feature list', 'wp-user-frontend' ),
494
  [
495
  'version' => 'Version 3.5.9',
496
  'released' => '2020-12-11',
497
+ 'changes' => [
498
 
499
  [
500
  'title' => __( 'Once trial subscription is used, it couldn\'t reset', 'wp-user-frontend' ),
521
  [
522
  'version' => 'Version 3.5.8',
523
  'released' => '2020-11-21',
524
+ 'changes' => [
525
 
526
  [
527
  'title' => __( 'Updated codebase to fix timezone mismatch', 'wp-user-frontend' ),
532
  [
533
  'version' => 'Version 3.5.7',
534
  'released' => '2020-11-21',
535
+ 'changes' => [
536
 
537
  [
538
  'title' => __( 'Custom html content field\'s width', 'wp-user-frontend' ),
547
  [
548
  'version' => 'Version 3.5.4',
549
  'released' => '2020-11-11',
550
+ 'changes' => [
551
 
552
  [
553
  'title' => __( 'Get appropriate user id when role based conditions are present', 'wp-user-frontend' ),
567
  ],
568
  [
569
  'title' => __( 'Ajax type category not showing on edit', 'wp-user-frontend' ),
570
+ 'type' => 'Fix',
571
  ],
572
  [
573
  'title' => __( 'Multiple file image can\'t select', 'wp-user-frontend' ),
575
  ],
576
  [
577
  'title' => __( 'Subscription pack PayPal Checkout gets "Error: Access Denied"', 'wp-user-frontend' ),
578
+ 'type' => 'Fix',
579
  ],
580
  [
581
  'title' => __( 'Conflict image field with acf image field', 'wp-user-frontend' ),
944
  'title' => __( 'Multiple images showing issue in frontend', 'wp-user-frontend' ),
945
  'type' => 'Fix',
946
  'description' => __( 'Multiple images in a post were not showing in frontend. Now they will.', 'wp-user-frontend' ),
947
+ ],
948
  ],
949
  ],
950
  [
1490
  <span class="label <?php echo esc_html( strtolower( $change['type'] ) ); ?>"><?php echo esc_html( $change['type'] ); ?></span>
1491
  </h4>
1492
 
1493
+ <?php if ( ! empty( $change['description'] ) ) : ?>
1494
  <div class="description">
1495
  <?php echo wp_kses_post( _wpuf_changelog_content( $change['description'] ) ); ?>
1496
  </div>
admin/settings-options.php CHANGED
@@ -242,6 +242,13 @@ function wpuf_settings_fields() {
242
  'type' => 'checkbox',
243
  'default' => 'on',
244
  ],
 
 
 
 
 
 
 
245
  [
246
  'name' => 'per_page',
247
  'label' => __( 'Posts per page', 'wp-user-frontend' ),
242
  'type' => 'checkbox',
243
  'default' => 'on',
244
  ],
245
+ [
246
+ 'name' => 'disable_publish_edit',
247
+ 'label' => __( 'Editing Published Post', 'wp-user-frontend' ),
248
+ 'desc' => __( 'Disable post editing while post in "publish" status', 'wp-user-frontend' ),
249
+ 'type' => 'checkbox',
250
+ 'default' => 'off',
251
+ ],
252
  [
253
  'name' => 'per_page',
254
  'label' => __( 'Posts per page', 'wp-user-frontend' ),
assets/css/frontend-forms.css CHANGED
@@ -1809,6 +1809,7 @@ body .wpuf-attachment-upload-filelist + .moxie-shim {
1809
  margin-top: 10px;
1810
  cursor: pointer;
1811
  }
1812
- .wpuf-el.terms_and_conditions label > input[type=checkbox] {
1813
- width: 0 !important;
 
1814
  }
1809
  margin-top: 10px;
1810
  cursor: pointer;
1811
  }
1812
+ /* field specific style to override our default padding*/
1813
+ .iti--allow-dropdown input[type="text"] {
1814
+ padding-left: 52px !important;
1815
  }
assets/js-templates/form-components.php CHANGED
@@ -102,7 +102,7 @@
102
  </script>
103
 
104
  <script type="text/x-template" id="tmpl-wpuf-field-multiselect">
105
- <div class="panel-field-opt panel-field-opt-select">
106
  <label v-if="option_field.title">
107
  {{ option_field.title }} <help-text v-if="option_field.help_text" :text="option_field.help_text"></help-text>
108
  </label>
@@ -268,7 +268,7 @@
268
  </script>
269
 
270
  <script type="text/x-template" id="tmpl-wpuf-field-radio">
271
- <div class="panel-field-opt panel-field-opt-radio">
272
  <label v-if="option_field.title">
273
  {{ option_field.title }} <help-text v-if="option_field.help_text" :text="option_field.help_text"></help-text>
274
  </label>
102
  </script>
103
 
104
  <script type="text/x-template" id="tmpl-wpuf-field-multiselect">
105
+ <div class="panel-field-opt panel-field-opt-select" v-show="met_dependencies">
106
  <label v-if="option_field.title">
107
  {{ option_field.title }} <help-text v-if="option_field.help_text" :text="option_field.help_text"></help-text>
108
  </label>
268
  </script>
269
 
270
  <script type="text/x-template" id="tmpl-wpuf-field-radio">
271
+ <div v-if="met_dependencies" class="panel-field-opt panel-field-opt-radio">
272
  <label v-if="option_field.title">
273
  {{ option_field.title }} <help-text v-if="option_field.help_text" :text="option_field.help_text"></help-text>
274
  </label>
assets/js/frontend-form.js CHANGED
@@ -87,6 +87,7 @@
87
  });
88
 
89
  this.warningOnExit();
 
90
  },
91
 
92
  warningOnExit: function () {
@@ -98,7 +99,7 @@
98
  $('.wpuf-form-add').on( 'change', function(){
99
  $('.wpuf-form-add input, .wpuf-form-add select, .wpuf-form-add textarea').each(function (index) {
100
  if ( 'hidden' !== $(this).attr('type') || 'submit' !== $(this).attr('type') || -1 !== $(this).val() ){
101
- window.onbeforeunload = function () {
102
  return 'you have changes';//changing return values doesnt have any impact due to security
103
  }
104
  }
@@ -106,6 +107,14 @@
106
  });
107
  },
108
 
 
 
 
 
 
 
 
 
109
  check_pass_strength : function() {
110
  var pass1 = $('#pass1').val(), strength;
111
 
@@ -244,7 +253,7 @@
244
  $('.wpuf-ms-bar-active').addClass('active-step');
245
 
246
  var legend = $('fieldset.wpuf-multistep-fieldset').eq(step_number).find('legend').text();
247
- legend = $.trim( legend );
248
 
249
  if ( progressbar_type == 'progressive' && $('.wpuf-form .wpuf-multistep-fieldset').length != 0 ) {
250
  var progress_percent = ( step_number + 1 ) * 100 / $('fieldset.wpuf-multistep-fieldset').length ;
@@ -324,7 +333,7 @@
324
  removeField: function() {
325
  //check if it's the only item
326
  var $parent = $(this).closest('tr');
327
- var items = $parent.siblings().andSelf().length;
328
 
329
  if( items > 1 ) {
330
  $parent.remove();
@@ -351,7 +360,7 @@
351
  post_id = form.find('input[type="hidden"][name="post_id"]').val();
352
 
353
  var rich_texts = [],
354
- val;
355
 
356
  // grab rich texts from tinyMCE
357
  $('.wpuf-rich-validation').each(function (index, item) {
@@ -372,9 +381,9 @@
372
  // console.log(res, post_id);
373
  if ( typeof post_id === 'undefined') {
374
  var html = '<input type="hidden" name="post_id" value="' + res.post_id +'">';
375
- html += '<input type="hidden" name="post_date" value="' + res.date +'">';
376
- html += '<input type="hidden" name="post_author" value="' + res.post_author +'">';
377
- html += '<input type="hidden" name="comment_status" value="' + res.comment_status +'">';
378
 
379
  form.append( html );
380
  }
@@ -410,10 +419,10 @@
410
  submitButton = form.find('input[type=submit]'),
411
  form_data = WP_User_Frontend.validateForm(form);
412
 
413
- if ( form_data == false ) {
414
- WP_User_Frontend.addErrorNotice( self, 'bottom' );
415
- }
416
- return form_data;
417
  },
418
 
419
  formSubmit: function(e) {
@@ -421,7 +430,7 @@
421
 
422
  var form = $(this),
423
  submitButton = form.find('input[type=submit]')
424
- form_data = WP_User_Frontend.validateForm(form);
425
 
426
  if (form_data) {
427
 
@@ -490,67 +499,102 @@
490
  }
491
  },
492
 
 
 
 
 
493
  validateForm: function( self ) {
494
 
495
  var temp,
496
  temp_val = '',
497
  error = false,
498
- error_items = [],
499
- error_type = '';
500
 
501
  // remove all initial errors if any
502
  WP_User_Frontend.removeErrors(self);
503
  WP_User_Frontend.removeErrorNotice(self);
504
 
505
- // ===== Validate: Text and Textarea ========
506
- var required = self.find('[data-required="yes"]:visible');
507
-
508
- required.each(function(i, item) {
509
- // temp_val = $.trim($(item).val());
510
 
511
- // console.log( $(item).data('type') );
512
- var data_type = $(item).data('type'),
513
- val = '';
 
 
514
 
515
  switch(data_type) {
516
  case 'rich':
517
  var name = $(item).data('id')
518
- val = $.trim( tinyMCE.get(name).getContent() );
 
 
 
 
519
 
520
- if ( val === '') {
521
  error = true;
522
-
523
- // make it warn collor
524
  WP_User_Frontend.markError(item);
525
  }
526
- break;
527
 
 
 
 
528
  case 'textarea':
529
  case 'text':
530
-
531
  val = $.trim( $(item).val() );
532
 
533
- if ( val === '') {
534
  error = true;
535
  error_type = 'required';
536
 
537
- // make it warn collor
538
  WP_User_Frontend.markError( item, error_type );
 
 
539
  }
540
- break;
541
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
542
  case 'password':
543
  case 'confirm_password':
544
  var hasRepeat = $(item).data('repeat');
545
 
546
  val = $.trim( $(item).val() );
547
 
548
- if ( val === '') {
549
  error = true;
550
  error_type = 'required';
551
-
552
- // make it warn collor
553
  WP_User_Frontend.markError( item, error_type );
 
 
554
  }
555
 
556
  if ( hasRepeat ) {
@@ -563,62 +607,48 @@
563
  WP_User_Frontend.markError( repeatItem, error_type );
564
  }
565
  }
566
-
567
  break;
568
-
569
  case 'select':
570
  val = $(item).val();
571
 
572
- // console.log(val);
573
- if ( !val || val === '-1' ) {
574
  error = true;
575
  error_type = 'required';
576
 
577
- // make it warn collor
578
  WP_User_Frontend.markError( item, error_type );
579
  }
580
  break;
581
-
582
  case 'multiselect':
583
  val = $(item).val();
584
 
585
- if ( val === null || val.length === 0 ) {
586
  error = true;
587
  error_type = 'required';
588
-
589
- // make it warn collor
590
  WP_User_Frontend.markError( item, error_type );
591
  }
592
  break;
593
-
594
  case 'tax-checkbox':
595
  var length = $(item).children().find('input:checked').length;
596
 
597
- if ( !length ) {
598
  error = true;
599
  error_type = 'required';
600
-
601
- // make it warn collor
602
  WP_User_Frontend.markError( item, error_type );
603
  }
604
  break;
605
-
606
  case 'radio':
607
  var length = $(item).find('input:checked').length;
608
 
609
- if ( !length ) {
610
  error = true;
611
  error_type = 'required';
612
-
613
- // make it warn collor
614
  WP_User_Frontend.markError( item, error_type );
615
  }
616
  break;
617
-
618
  case 'file':
619
  var length = $(item).find('ul').children().length;
620
 
621
- if ( !length ) {
622
  error = true;
623
  error_type = 'required';
624
 
@@ -626,77 +656,97 @@
626
  WP_User_Frontend.markError( item, error_type );
627
  }
628
  break;
629
-
630
  case 'email':
631
- var val = $(item).val();
632
-
633
- if ( val !== '' ) {
634
- //run the validation
635
- if( !WP_User_Frontend.isValidEmail( val ) ) {
636
- error = true;
637
- error_type = 'validation';
638
 
639
- WP_User_Frontend.markError( item, error_type );
640
- }
641
- } else if( val === '' ) {
642
  error = true;
643
  error_type = 'required';
 
644
 
 
 
 
 
 
 
645
  WP_User_Frontend.markError( item, error_type );
646
  }
647
  break;
648
-
649
-
650
  case 'url':
651
  var val = $(item).val();
652
 
653
- if ( val !== '' ) {
654
- //run the validation
655
- if( !WP_User_Frontend.isValidURL( val ) ) {
656
- error = true;
657
- error_type = 'validation';
 
 
658
 
659
- WP_User_Frontend.markError( item, error_type );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
660
  }
661
  }
662
  break;
663
 
664
- };
665
 
 
 
 
 
 
 
 
666
  });
667
 
668
- //check Google Map is required
669
- var map_required = self.find('[data-required="yes"]').parents('.wpuf-form-google-map-container');
670
- $.each(map_required, function(index, map){
671
- var val = $(map).val();
672
- if ( val == '' ) {
673
- error = true;
674
- error_type = 'required';
675
 
676
- WP_User_Frontend.markError( map, error_type );
 
 
 
 
 
 
 
 
677
  }
678
  });
679
 
680
- // if already some error found, bail out
681
- if (error) {
682
- // add error notice
683
  WP_User_Frontend.addErrorNotice(self,'end');
684
 
685
  return false;
686
  }
687
 
688
- var form_data = self.serialize(),
689
- rich_texts = [];
 
 
690
 
691
- // grab rich texts from tinyMCE
692
- $('.wpuf-rich-validation', self).each(function (index, item) {
693
- var item = $(item);
694
- var editor_id = item.data('id');
695
- var item_name = item.data('name');
696
- var val = $.trim( tinyMCE.get(editor_id).getContent() );
697
 
698
- rich_texts.push(item_name + '=' + encodeURIComponent( val ) );
699
- });
700
 
701
  // append them to the form var
702
  form_data = form_data + '&' + rich_texts.join('&');
@@ -749,7 +799,7 @@
749
  $(item).siblings('.wpuf-error-msg').remove();
750
 
751
  // if input type is radio, append the error message for design issue
752
- if ( $(item).prev().prop('nodeName') === 'DIV' ) {
753
  $(item).append('<div class="wpuf-error-msg">'+ error_string +'</div>')
754
  } else {
755
  // if input type is not radio, add the div after current item
@@ -771,7 +821,7 @@
771
  },
772
 
773
  isValidURL: function(url) {
774
- var urlregex = new RegExp("^(http:\/\/www.|https:\/\/www.|ftp:\/\/www.|www.|http:\/\/|https:\/\/){1}([0-9A-Za-z]+\.)");
775
  return urlregex.test(url);
776
  },
777
 
@@ -894,6 +944,10 @@
894
  WP_User_Frontend.editorLimit.textLimit.call(this, event, limit, limit_type, limit_to );
895
  });
896
 
 
 
 
 
897
  $('textarea#' + field).on('paste', function(event) {
898
  var self = $(this);
899
 
@@ -927,6 +981,96 @@
927
  }
928
  },
929
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
930
  tinymce: {
931
 
932
  getStats: function(ed) {
@@ -939,7 +1083,7 @@
939
  },
940
 
941
  onKeyDown: function(ed, event, limit, limit_type, limit_to ) {
942
- field = $('.post_content');
943
 
944
  var numWords = WP_User_Frontend.editorLimit.tinymce.getStats(ed).chars + 1,
945
  limit_label = ( 'word' === limit_type ) ? 'Word Limit : ' : 'Character Limit : ';
@@ -951,11 +1095,11 @@
951
  if ( limit && numWords > limit && 'max' === limit_to ) {
952
  WP_User_Frontend.editorLimit.blockTyping(event);
953
  WP_User_Frontend.markError( field, 'limit' );
954
- jQuery('.mce-path-item.mce-last', ed.container).html( wpuf_frontend['word_'+limit_to ] + numWords +'/'+ limit );
955
- }else if ( limit && numWords < limit && 'min' === limit_to ) {
956
  WP_User_Frontend.markError( field, 'limit' );
957
- jQuery('.mce-path-item.mce-last', ed.container).html( wpuf_frontend['word_'+limit_to ] + numWords +'/'+ limit );
958
- }else {
959
  field.removeClass('has-error')
960
  jQuery('.mce-path-item.mce-last', ed.container).html('');
961
  }
@@ -976,12 +1120,11 @@
976
  var self = $(this),
977
  content_length = self.val().length + 1;
978
 
979
- if ( 'word' === limit_type ) {
980
- content_length = self.val().split(' ').length;
981
- }
982
-
983
  if ( limit && content_length > limit && 'max' === limit_to ) {
984
- WP_User_Frontend.content_limit_message( self, limit_type, limit_to, limit )
985
  WP_User_Frontend.editorLimit.blockTyping(event);
986
  }else if ( limit && content_length < limit && 'min' === limit_to ) {
987
  WP_User_Frontend.content_limit_message( self, limit_type, limit_to, limit )
@@ -1034,13 +1177,14 @@
1034
 
1035
  content_limit_message: function( field, content_limit_type, limit_to, limit ) {
1036
  WP_User_Frontend.markError( field, 'limit' );
 
1037
 
1038
  if ( 'word' === content_limit_type ){
1039
- limit_message = wpuf_frontend['word_'+limit_to ] + limit;
1040
  }
1041
 
1042
  if ( 'character' === content_limit_type ){
1043
- limit_message = wpuf_frontend['char_'+limit_to] + limit ;
1044
  }
1045
 
1046
  field.closest('.wpuf-fields').find('span.wpuf-wordlimit-message').html( limit_message );
@@ -1091,12 +1235,12 @@
1091
 
1092
  // Allow: backspace, delete, tab, escape, enter and .
1093
  if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 91, 109, 110, 173, 189, 190]) !== -1 ||
1094
- // Allow: Ctrl+A
1095
  (e.keyCode == 65 && e.ctrlKey === true) ||
1096
- // Allow: home, end, left, right
1097
  (e.keyCode >= 35 && e.keyCode <= 39)) {
1098
- // let it happen, don't do anything
1099
- return;
1100
  }
1101
 
1102
  if ((e.shiftKey || (e.keyCode < 65 || e.keyCode > 90) && (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105) ) {
@@ -1110,11 +1254,11 @@
1110
 
1111
  $('.wpuf-form-add input[name="shopurl"]').on('focusout', function() {
1112
  var self = $(this),
1113
- data = {
1114
- action : 'shop_url',
1115
- url_slug : self.val(),
1116
- _nonce : dokan.nonce,
1117
- };
1118
 
1119
  if ( self.val() === '' ) {
1120
  return;
87
  });
88
 
89
  this.warningOnExit();
90
+ this.handleReadOnly();
91
  },
92
 
93
  warningOnExit: function () {
99
  $('.wpuf-form-add').on( 'change', function(){
100
  $('.wpuf-form-add input, .wpuf-form-add select, .wpuf-form-add textarea').each(function (index) {
101
  if ( 'hidden' !== $(this).attr('type') || 'submit' !== $(this).attr('type') || -1 !== $(this).val() ){
102
+ window.onbeforeunload = function () {
103
  return 'you have changes';//changing return values doesnt have any impact due to security
104
  }
105
  }
107
  });
108
  },
109
 
110
+ handleReadOnly: function(){
111
+ $('.wpuf-form .read-only').each( function () {
112
+ $('input, select, textarea', this).each( function () {
113
+ $(this).attr( 'disabled', true );
114
+ }) ;
115
+ });
116
+ },
117
+
118
  check_pass_strength : function() {
119
  var pass1 = $('#pass1').val(), strength;
120
 
253
  $('.wpuf-ms-bar-active').addClass('active-step');
254
 
255
  var legend = $('fieldset.wpuf-multistep-fieldset').eq(step_number).find('legend').text();
256
+ legend = $.trim( legend );
257
 
258
  if ( progressbar_type == 'progressive' && $('.wpuf-form .wpuf-multistep-fieldset').length != 0 ) {
259
  var progress_percent = ( step_number + 1 ) * 100 / $('fieldset.wpuf-multistep-fieldset').length ;
333
  removeField: function() {
334
  //check if it's the only item
335
  var $parent = $(this).closest('tr');
336
+ var items = $parent.siblings().addBack().length;
337
 
338
  if( items > 1 ) {
339
  $parent.remove();
360
  post_id = form.find('input[type="hidden"][name="post_id"]').val();
361
 
362
  var rich_texts = [],
363
+ val;
364
 
365
  // grab rich texts from tinyMCE
366
  $('.wpuf-rich-validation').each(function (index, item) {
381
  // console.log(res, post_id);
382
  if ( typeof post_id === 'undefined') {
383
  var html = '<input type="hidden" name="post_id" value="' + res.post_id +'">';
384
+ html += '<input type="hidden" name="post_date" value="' + res.date +'">';
385
+ html += '<input type="hidden" name="post_author" value="' + res.post_author +'">';
386
+ html += '<input type="hidden" name="comment_status" value="' + res.comment_status +'">';
387
 
388
  form.append( html );
389
  }
419
  submitButton = form.find('input[type=submit]'),
420
  form_data = WP_User_Frontend.validateForm(form);
421
 
422
+ if ( form_data == false ) {
423
+ WP_User_Frontend.addErrorNotice( self, 'bottom' );
424
+ }
425
+ return form_data;
426
  },
427
 
428
  formSubmit: function(e) {
430
 
431
  var form = $(this),
432
  submitButton = form.find('input[type=submit]')
433
+ form_data = WP_User_Frontend.validateForm(form);
434
 
435
  if (form_data) {
436
 
499
  }
500
  },
501
 
502
+ isTelephoneField: function( item ) {
503
+ return ( $(item).hasClass('wpuf_telephone') && $(item).data('show-list') === 'yes' );
504
+ },
505
+
506
  validateForm: function( self ) {
507
 
508
  var temp,
509
  temp_val = '',
510
  error = false,
511
+ error_type = '',
512
+ rich_texts = [];
513
 
514
  // remove all initial errors if any
515
  WP_User_Frontend.removeErrors(self);
516
  WP_User_Frontend.removeErrorNotice(self);
517
 
518
+ var visibleFields = self.find('input:visible, textarea:visible, select:visible, .wpuf-rich-validation');
 
 
 
 
519
 
520
+ visibleFields.each( function( i, item ) {
521
+ var input_type = $(item).attr('type');
522
+ var data_type = $(item).data('type');
523
+ var required = $(item).data('required');
524
+ var val = '';
525
 
526
  switch(data_type) {
527
  case 'rich':
528
  var name = $(item).data('id')
529
+ // val = $.trim( tinyMCE.get(name).getContent() );
530
+ var item = $(item);
531
+ var editor_id = item.data('id');
532
+ var item_name = item.data('name');
533
+ val = $.trim( tinyMCE.get(editor_id).getContent() );
534
 
535
+ if ( required === 'yes' && val === '' ) {
536
  error = true;
537
+ error_type = 'required';
 
538
  WP_User_Frontend.markError(item);
539
  }
 
540
 
541
+ rich_texts.push(item_name + '=' + encodeURIComponent( val ) );
542
+
543
+ break;
544
  case 'textarea':
545
  case 'text':
 
546
  val = $.trim( $(item).val() );
547
 
548
+ if ( required === 'yes' && val === '' ) {
549
  error = true;
550
  error_type = 'required';
551
 
 
552
  WP_User_Frontend.markError( item, error_type );
553
+
554
+ break;
555
  }
 
556
 
557
+ if ( WP_User_Frontend.isTelephoneField( item ) ) {
558
+ // Get intlTelInput instance
559
+ var iti = window.intlTelInputGlobals.getInstance( item );
560
+ if ( '' !== iti.getNumber() && ! iti.isValidNumber() ) {
561
+ error = true;
562
+ error_type = 'validation';
563
+ WP_User_Frontend.markError( item, error_type );
564
+
565
+ break;
566
+ }
567
+
568
+ var name = $(item).attr('name');
569
+ var value = iti.getNumber();
570
+ $('<input>').attr('type', 'hidden').attr('name', name).attr('value', value).appendTo(self); // append the mobile number with country code
571
+
572
+ break;
573
+ }
574
+
575
+ if ( input_type === 'url' && val !== '' && ! WP_User_Frontend.isValidURL( val ) ) {
576
+ error = true;
577
+ error_type = 'validation';
578
+ WP_User_Frontend.markError( item, error_type );
579
+
580
+ break;
581
+ }
582
+
583
+ // check for content restriction
584
+ error = WP_User_Frontend.editorLimit.checkRestrictionError(item);
585
+ break;
586
  case 'password':
587
  case 'confirm_password':
588
  var hasRepeat = $(item).data('repeat');
589
 
590
  val = $.trim( $(item).val() );
591
 
592
+ if ( required === 'yes' && val === '' ) {
593
  error = true;
594
  error_type = 'required';
 
 
595
  WP_User_Frontend.markError( item, error_type );
596
+
597
+ break;
598
  }
599
 
600
  if ( hasRepeat ) {
607
  WP_User_Frontend.markError( repeatItem, error_type );
608
  }
609
  }
 
610
  break;
 
611
  case 'select':
612
  val = $(item).val();
613
 
614
+ if ( required === 'yes' && val == '-1' ) {
 
615
  error = true;
616
  error_type = 'required';
617
 
 
618
  WP_User_Frontend.markError( item, error_type );
619
  }
620
  break;
 
621
  case 'multiselect':
622
  val = $(item).val();
623
 
624
+ if ( required === 'yes' && val.length === 0 ) {
625
  error = true;
626
  error_type = 'required';
 
 
627
  WP_User_Frontend.markError( item, error_type );
628
  }
629
  break;
 
630
  case 'tax-checkbox':
631
  var length = $(item).children().find('input:checked').length;
632
 
633
+ if ( required === 'yes' && ! length ) {
634
  error = true;
635
  error_type = 'required';
 
 
636
  WP_User_Frontend.markError( item, error_type );
637
  }
638
  break;
 
639
  case 'radio':
640
  var length = $(item).find('input:checked').length;
641
 
642
+ if ( required === 'yes' && ! length ) {
643
  error = true;
644
  error_type = 'required';
 
 
645
  WP_User_Frontend.markError( item, error_type );
646
  }
647
  break;
 
648
  case 'file':
649
  var length = $(item).find('ul').children().length;
650
 
651
+ if ( required === 'yes' && ! length ) {
652
  error = true;
653
  error_type = 'required';
654
 
656
  WP_User_Frontend.markError( item, error_type );
657
  }
658
  break;
 
659
  case 'email':
660
+ val = $(item).val();
 
 
 
 
 
 
661
 
662
+ if ( required === 'yes' && val === '' ) {
 
 
663
  error = true;
664
  error_type = 'required';
665
+ WP_User_Frontend.markError( item, error_type );
666
 
667
+ break;
668
+ }
669
+
670
+ if ( val !== '' && ! WP_User_Frontend.isValidEmail( val ) ) {
671
+ error = true;
672
+ error_type = 'validation';
673
  WP_User_Frontend.markError( item, error_type );
674
  }
675
  break;
 
 
676
  case 'url':
677
  var val = $(item).val();
678
 
679
+ if ( required === 'yes' && val === '' ) {
680
+ error = true;
681
+ error_type = 'required';
682
+ WP_User_Frontend.markError( item, error_type );
683
+
684
+ break;
685
+ }
686
 
687
+ if ( val !== '' && ! WP_User_Frontend.isValidURL( val ) ) {
688
+ error = true;
689
+ error_type = 'validation';
690
+ WP_User_Frontend.markError( item, error_type );
691
+ }
692
+ break;
693
+ default: // radio fields, Google map etc.
694
+ // if this is a Google map
695
+ if ( $(item).attr('id') && $(item).attr('id').startsWith('wpuf-map') ) {
696
+ var mapContainer = $(item).parents('.wpuf-form-google-map-container');
697
+ map_field = $(mapContainer).find('input[id^="wpuf-map-lat"]');
698
+ required = $(map_field).data('required');
699
+ val = $(map_field).val(); // needs to grab from parent to get all the data
700
+
701
+ if ( required == 'yes' && val == '' ) {
702
+ error = true;
703
+ error_type = 'required';
704
+ WP_User_Frontend.markError( mapContainer, error_type );
705
  }
706
  }
707
  break;
708
 
709
+ }
710
 
711
+ // if error found, bail out
712
+ if ( error ) {
713
+ WP_User_Frontend.markError(item, error_type);
714
+ // WP_User_Frontend.addErrorNotice(self,'end');
715
+
716
+ return false;
717
+ }
718
  });
719
 
720
+ // Fields that are conditionally hidden
721
+ var conditionallyHiddenFields = self.find('li.wpuf-el[style*="display: none"] input');
 
 
 
 
 
722
 
723
+ conditionallyHiddenFields.each( function( i, item ) {
724
+ var input_type = $(item).attr('type');
725
+
726
+ switch ( input_type ) {
727
+ case 'url':
728
+ case 'email':
729
+ // removing conditionally hidden fields value
730
+ // so that default HTML validation don't restrict those fields
731
+ $(item).val('');
732
  }
733
  });
734
 
735
+ if ( error ) {
 
 
736
  WP_User_Frontend.addErrorNotice(self,'end');
737
 
738
  return false;
739
  }
740
 
741
+ /*// if already some error found, bail out
742
+ if (error) {
743
+ // add error notice
744
+ WP_User_Frontend.addErrorNotice(self,'end');
745
 
746
+ return false;
747
+ }*/
 
 
 
 
748
 
749
+ var form_data = self.serialize();
 
750
 
751
  // append them to the form var
752
  form_data = form_data + '&' + rich_texts.join('&');
799
  $(item).siblings('.wpuf-error-msg').remove();
800
 
801
  // if input type is radio, append the error message for design issue
802
+ if ( $(item).prev().prop('nodeName') === 'DIV' && ! $(item).hasClass('wpuf_telephone') ) {
803
  $(item).append('<div class="wpuf-error-msg">'+ error_string +'</div>')
804
  } else {
805
  // if input type is not radio, add the div after current item
821
  },
822
 
823
  isValidURL: function(url) {
824
+ var urlregex = new RegExp("^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/){1}[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,20}(:[0-9]{1,20})?(\\/.*)?$");
825
  return urlregex.test(url);
826
  },
827
 
944
  WP_User_Frontend.editorLimit.textLimit.call(this, event, limit, limit_type, limit_to );
945
  });
946
 
947
+ $('input#' + field).change( function(event) {
948
+ WP_User_Frontend.editorLimit.textLimit.call(this, event, limit, limit_type, limit_to );
949
+ });
950
+
951
  $('textarea#' + field).on('paste', function(event) {
952
  var self = $(this);
953
 
981
  }
982
  },
983
 
984
+ checkTinyMCERestriction: function(field, data, ed) {
985
+ var numWords = 0;
986
+
987
+ var limit = (typeof(data[0]) !== "undefined" && data[0] !== null) ? parseInt(data[0]) : 0;
988
+ var fieldId = (typeof(data[1]) !== "undefined" && data[1] !== null) ? (data[1]).trim() : '';
989
+ var fieldType = (typeof(data[2]) !== "undefined" && data[2] !== null) ? (data[2]).trim() : '';
990
+ var limit_type = (typeof(data[3]) !== "undefined" && data[3] !== null) ? (data[3]).trim() : '';
991
+ var limit_to = (typeof(data[4]) !== "undefined" && data[4] !== null) ? (data[4]).trim() : '';
992
+ var limit_label = ( 'word' === limit_type ) ? 'Word Limit : ' : 'Character Limit : ';
993
+
994
+ if ( 'word' === limit_type ) {
995
+ numWords = WP_User_Frontend.editorLimit.tinymce.getStats(ed).words;
996
+ } else {
997
+ numWords = WP_User_Frontend.editorLimit.tinymce.getStats(ed).chars + 1;
998
+ }
999
+
1000
+ var errorMessage = wpuf_frontend['word_'+limit_to ] + ' ' + limit;
1001
+
1002
+ if ( (numWords > 1) && (numWords > limit) && ('max' === limit_to) ) {
1003
+ WP_User_Frontend.markError( field, 'limit' );
1004
+ jQuery('.mce-path-item.mce-last', ed.container).html( wpuf_frontend['word_'+limit_to ] + ' ' + numWords +'/'+ limit );
1005
+
1006
+ return true;
1007
+ } else if ( (numWords < limit) && ('min' === limit_to) && numWords > 1 ) {
1008
+ WP_User_Frontend.markError( field, 'limit' );
1009
+ jQuery('.mce-path-item.mce-last', ed.container).html( wpuf_frontend['word_'+limit_to ] + ' ' + numWords +'/'+ limit );
1010
+
1011
+ return true;
1012
+ } else {
1013
+ if ($(field).hasClass('has-error')) {
1014
+ $(field).removeClass('has-error');
1015
+ }
1016
+
1017
+ return false;
1018
+ }
1019
+ },
1020
+
1021
+ checkRestrictionError: function(field) {
1022
+ var fieldId = $(field).attr('id');
1023
+ var isTinymce = false;
1024
+ var ed = null;
1025
+ var numWords = 0;
1026
+ var data = '';
1027
+
1028
+ if ( typeof tinyMCE !== 'undefined' && tinyMCE.get(fieldId) !== null ) {
1029
+ isTinymce = true;
1030
+ ed = tinyMCE.get(fieldId);
1031
+
1032
+ ed.focus();
1033
+ }
1034
+
1035
+ // For content restriction, we are passing the information below the fields inside a <script> tag
1036
+ // For example: the field type, restriction type(word or character), min/max allowed etc.
1037
+ // Extracting required data from the script tag
1038
+ if ( $(field).closest('li.wpuf-el').find('script').html() ) {
1039
+ var fieldScript = $(field).closest('li.wpuf-el').find('script').html();
1040
+ data = fieldScript.match(/(?:bind\()(.*?(?=\)))/) ? fieldScript.match(/(?:bind\()(.*?(?=\)))/)[1].replace(/['"]/g, '').split(',') : '';
1041
+ }
1042
+
1043
+ if ( isTinymce ) {
1044
+ return WP_User_Frontend.editorLimit.checkTinyMCERestriction(field, data, ed);
1045
+ }
1046
+
1047
+ var limit = (typeof(data[0]) !== "undefined" && data[0] !== null) ? parseInt(data[0]) : 0;
1048
+ var fieldId = (typeof(data[1]) !== "undefined" && data[1] !== null) ? (data[1]).trim() : '';
1049
+ var fieldType = (typeof(data[2]) !== "undefined" && data[2] !== null) ? (data[2]).trim() : '';
1050
+ var limit_type = (typeof(data[3]) !== "undefined" && data[3] !== null) ? (data[3]).trim() : '';
1051
+ var limit_to = (typeof(data[4]) !== "undefined" && data[4] !== null) ? (data[4]).trim() : '';
1052
+ var limit_label = ( 'word' === limit_type ) ? 'Word Limit : ' : 'Character Limit : ';
1053
+
1054
+ numWords = $(field).val().length;
1055
+
1056
+ var errorMessage = wpuf_frontend['word_'+limit_to ] + ' ' + limit;
1057
+
1058
+ if ( (numWords > 1) && (numWords > limit) && ('max' === limit_to) ) {
1059
+ WP_User_Frontend.markError( field, 'limit' );
1060
+
1061
+ return true;
1062
+ } else if ( (numWords < limit) && ('min' === limit_to) && numWords > 1 ) {
1063
+ WP_User_Frontend.markError( field, 'limit' );
1064
+
1065
+ return true;
1066
+ } else {
1067
+ if ($(field).hasClass('has-error')) {
1068
+ $(field).removeClass('has-error');
1069
+ }
1070
+ return false;
1071
+ }
1072
+ },
1073
+
1074
  tinymce: {
1075
 
1076
  getStats: function(ed) {
1083
  },
1084
 
1085
  onKeyDown: function(ed, event, limit, limit_type, limit_to ) {
1086
+ var field = $('.wpuf-fields.wpuf_'+ed.id);
1087
 
1088
  var numWords = WP_User_Frontend.editorLimit.tinymce.getStats(ed).chars + 1,
1089
  limit_label = ( 'word' === limit_type ) ? 'Word Limit : ' : 'Character Limit : ';
1095
  if ( limit && numWords > limit && 'max' === limit_to ) {
1096
  WP_User_Frontend.editorLimit.blockTyping(event);
1097
  WP_User_Frontend.markError( field, 'limit' );
1098
+ jQuery('.mce-path-item.mce-last', ed.container).html( wpuf_frontend['word_'+limit_to ] + ' ' + numWords + '/' + limit );
1099
+ } else if ( limit && numWords < limit && 'min' === limit_to ) {
1100
  WP_User_Frontend.markError( field, 'limit' );
1101
+ jQuery('.mce-path-item.mce-last', ed.container).html( wpuf_frontend['word_'+limit_to ] + ' ' + numWords + '/' + limit );
1102
+ } else {
1103
  field.removeClass('has-error')
1104
  jQuery('.mce-path-item.mce-last', ed.container).html('');
1105
  }
1120
  var self = $(this),
1121
  content_length = self.val().length + 1;
1122
 
1123
+ if ( 'word' === limit_type ) {
1124
+ content_length = self.val().split(' ').length;
1125
+ }
 
1126
  if ( limit && content_length > limit && 'max' === limit_to ) {
1127
+ WP_User_Frontend.content_limit_message( self, limit_type, limit_to, limit );
1128
  WP_User_Frontend.editorLimit.blockTyping(event);
1129
  }else if ( limit && content_length < limit && 'min' === limit_to ) {
1130
  WP_User_Frontend.content_limit_message( self, limit_type, limit_to, limit )
1177
 
1178
  content_limit_message: function( field, content_limit_type, limit_to, limit ) {
1179
  WP_User_Frontend.markError( field, 'limit' );
1180
+ var limit_message = '';
1181
 
1182
  if ( 'word' === content_limit_type ){
1183
+ limit_message = wpuf_frontend['word_'+limit_to ] + ' ' + limit;
1184
  }
1185
 
1186
  if ( 'character' === content_limit_type ){
1187
+ limit_message = wpuf_frontend['char_'+limit_to] + ' ' + limit ;
1188
  }
1189
 
1190
  field.closest('.wpuf-fields').find('span.wpuf-wordlimit-message').html( limit_message );
1235
 
1236
  // Allow: backspace, delete, tab, escape, enter and .
1237
  if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 91, 109, 110, 173, 189, 190]) !== -1 ||
1238
+ // Allow: Ctrl+A
1239
  (e.keyCode == 65 && e.ctrlKey === true) ||
1240
+ // Allow: home, end, left, right
1241
  (e.keyCode >= 35 && e.keyCode <= 39)) {
1242
+ // let it happen, don't do anything
1243
+ return;
1244
  }
1245
 
1246
  if ((e.shiftKey || (e.keyCode < 65 || e.keyCode > 90) && (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105) ) {
1254
 
1255
  $('.wpuf-form-add input[name="shopurl"]').on('focusout', function() {
1256
  var self = $(this),
1257
+ data = {
1258
+ action : 'shop_url',
1259
+ url_slug : self.val(),
1260
+ _nonce : dokan.nonce,
1261
+ };
1262
 
1263
  if ( self.val() === '' ) {
1264
  return;
assets/js/frontend-form.min.js CHANGED
@@ -1 +1 @@
1
- !function(a,b){a.fn.listautowidth=function(){return this.each(function(){var b=a(this).width(),c=b/a(this).children("li").length;a(this).children("li").each(function(){var b=a(this).outerWidth(!0)-a(this).width();a(this).width(c-b)})})},b.WP_User_Frontend={init:function(){this.enableMultistep(this),a(".wpuf-form").on("click","img.wpuf-clone-field",this.cloneField),a(".wpuf-form").on("click","img.wpuf-remove-field",this.removeField),a(".wpuf-form").on("click","a.wpuf-delete-avatar",this.deleteAvatar),a(".wpuf-form").on("click","a#wpuf-post-draft",this.draftPost),a(".wpuf-form").on("click","button#wpuf-account-update-profile",this.account_update_profile),a(".wpuf-form-add").on("submit",this.formSubmit),a("form#post").on("submit",this.adminPostSubmit),b.matchMedia("(max-width: 600px)").matches&&(a("table.items-table tr td .post-edit-icon").click(function(b){b.preventDefault(),a(this).parents("tr").find(".data-column").toggleClass("flex-column"),a(this).toggleClass("toggle-icon")}),a(".wpuf-dashboard-navigation ul li:first-child").after().click(function(b){b.preventDefault(),a(".wpuf-dashboard-navigation ul li").not(":first").toggle()})),a(".wpuf-form").on("step-change-fieldset",function(a,b,c){if(wpuf_plupload_items.length)for(var d=wpuf_plupload_items.length-1;d>=0;d--)wpuf_plupload_items[d].refresh();if(wpuf_map_items.length)for(var d=wpuf_map_items.length-1;d>=0;d--)google.maps.event.trigger(wpuf_map_items[d].map,"resize"),wpuf_map_items[d].map.setCenter(wpuf_map_items[d].center)}),this.ajaxCategory(),a(':submit[name="wpuf_user_subscription_cancel"]').click(function(b){b.preventDefault(),swal({text:wpuf_frontend.cancelSubMsg,type:"warning",showCancelButton:!0,confirmButtonColor:"#d54e21",confirmButtonText:wpuf_frontend.delete_it,cancelButtonText:wpuf_frontend.cancel_it,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger"}).then(function(b){if(!b)return!1;a("#wpuf_cancel_subscription").submit()})}),this.warningOnExit()},warningOnExit:function(){a('input[name="submit"], #wpuf-post-draft').on("click",function(){b.onbeforeunload=null}),a(".wpuf-form-add").on("change",function(){a(".wpuf-form-add input, .wpuf-form-add select, .wpuf-form-add textarea").each(function(c){"hidden"===a(this).attr("type")&&"submit"===a(this).attr("type")&&-1===a(this).val()||(b.onbeforeunload=function(){return"you have changes"})})})},check_pass_strength:function(){var b=a("#pass1").val();if(a("#pass-strength-result").show(),a("#pass-strength-result").removeClass("short bad good strong"),!b)return a("#pass-strength-result").html("&nbsp;"),void a("#pass-strength-result").hide();if(void 0!==wp.passwordStrength)switch(wp.passwordStrength.meter(b,wp.passwordStrength.userInputBlacklist(),b)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n.short)}},enableMultistep:function(c){var d=this,e=0,f=a(':hidden[name="wpuf_multistep_type"]').val();if(null!=f){if(a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-prev-btn").first().remove(),a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-next-btn").last().remove(),a(".wpuf-form fieldset").removeClass("field-active").first().addClass("field-active"),"progressive"==f&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){a("fieldset.wpuf-multistep-fieldset legend").first();a(".wpuf-multistep-progressbar").html('<div class="wpuf-progress-percentage"></div>');var g=a(".wpuf-multistep-progressbar"),h=a(".wpuf-progress-percentage");a(".wpuf-multistep-progressbar").progressbar({change:function(){h.text(g.progressbar("value")+"%")}}),a(".wpuf-multistep-fieldset legend").hide()}else a(".wpuf-form").each(function(){var b=a(this),c=a(".wpuf-multistep-progressbar",b),d="";c.addClass("wizard-steps"),d+='<ul class="wpuf-step-wizard">',a(".wpuf-multistep-fieldset",this).each(function(){d+="<li>"+a.trim(a("legend",this).text())+"</li>",a("legend",this).hide()}),d+="</ul>",c.append(d),a(".wpuf-step-wizard li",c).first().addClass("active-step"),a(".wpuf-step-wizard",c).listautowidth()});this.change_fieldset(e,f),a("fieldset .wpuf-multistep-prev-btn, fieldset .wpuf-multistep-next-btn").click(function(g){if(a(this).hasClass("wpuf-multistep-next-btn")){0!=d.formStepCheck("",a(this).closest("fieldset"))&&c.change_fieldset(++e,f)}else a(this).hasClass("wpuf-multistep-prev-btn")&&c.change_fieldset(--e,f);var h=a("form.wpuf-form-add"),i=h.offset().top;return b.scrollTo({top:i-32,behavior:"smooth"}),!1})}},change_fieldset:function(b,c){var d=a("fieldset.wpuf-multistep-fieldset").eq(b);a("fieldset.wpuf-multistep-fieldset").removeClass("field-active").eq(b).addClass("field-active"),a(".wpuf-step-wizard li").each(function(){a(this).index()<=b?"step_by_step"==c?a(this).addClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).addClass("passed-wpuf-ms-bar"):"step_by_step"==c?a(this).removeClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).removeClass("passed-wpuf-ms-bar")}),a(".wpuf-step-wizard li").removeClass("wpuf-ms-bar-active active-step completed-step"),a(".passed-wpuf-ms-bar").addClass("completed-step").last().addClass("wpuf-ms-bar-active"),a(".wpuf-ms-bar-active").addClass("active-step");var e=a("fieldset.wpuf-multistep-fieldset").eq(b).find("legend").text();if(e=a.trim(e),"progressive"==c&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){var f=100*(b+1)/a("fieldset.wpuf-multistep-fieldset").length,f=Number(f.toFixed(2));a(".wpuf-multistep-progressbar").progressbar({value:f}),a(".wpuf-progress-percentage").text(e+" ("+f+"%)")}a(".wpuf-form").trigger("step-change-fieldset",[b,d])},ajaxCategory:function(){a(".category-wrap").on("change",".cat-ajax",function(){var b=a(this).data("form-id");currentLevel=parseInt(a(this).parent().attr("level")),WP_User_Frontend.getChildCats(a(this),currentLevel+1,"category",b)})},getChildCats:function(b,c,d,e){var f=a(b).val(),g="wpuf-category-dropdown-lvl-"+c,d=void 0!==d?d:"category",h=a(b).siblings("span").data("taxonomy");a.ajax({type:"post",url:wpuf_frontend.ajaxurl,data:{action:"wpuf_get_child_cat",catID:f,nonce:wpuf_frontend.nonce,field_attr:h,form_id:e},beforeSend:function(){a(b).parent().parent().next(".loading").addClass("wpuf-loading")},complete:function(){a(b).parent().parent().next(".loading").removeClass("wpuf-loading")},success:function(e){a(b).parent().nextAll().each(function(){a(this).remove()}),""!=e&&(a(b).parent().addClass("hasChild").parent().append('<div id="'+g+'" level="'+c+'"></div>'),b.parent().parent().find("#"+g).html(e).slideDown("fast")),a(document).trigger("wpuf-ajax-fetched-child-categories",g,c,d)}})},cloneField:function(b){b.preventDefault();var c=a(this).closest("tr"),d=c.clone();d.find("input").val(""),d.find(":checked").attr("checked",""),c.after(d)},removeField:function(){var b=a(this).closest("tr");b.siblings().andSelf().length>1&&b.remove()},adminPostSubmit:function(b){b.preventDefault();var c=a(this);if(WP_User_Frontend.validateForm(c))return!0},draftPost:function(b){b.preventDefault();var c=a(this),d=a(this).closest("form"),e=d.serialize()+"&action=wpuf_draft_post",f=d.find('input[type="hidden"][name="post_id"]').val(),g=[];a(".wpuf-rich-validation").each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),f=a.trim(tinyMCE.get(d).getContent());g.push(e+"="+encodeURIComponent(f))}),e=e+"&"+g.join("&"),c.after(' <span class="wpuf-loading"></span>'),a.post(wpuf_frontend.ajaxurl,e,function(b){if(void 0===f){var e='<input type="hidden" name="post_id" value="'+b.post_id+'">';e+='<input type="hidden" name="post_date" value="'+b.date+'">',e+='<input type="hidden" name="post_author" value="'+b.post_author+'">',e+='<input type="hidden" name="comment_status" value="'+b.comment_status+'">',d.append(e)}c.next("span.wpuf-loading").remove(),c.after('<span class="wpuf-draft-saved">&nbsp; Post Saved</span>'),a(".wpuf-draft-saved").delay(2500).fadeOut("fast",function(){a(this).remove()})})},account_update_profile:function(b){b.preventDefault();var c=a(this).closest("form");a.post(wpuf_frontend.ajaxurl,c.serialize(),function(a){a.success?(c.find(".wpuf-error").hide(),c.find(".wpuf-success").show()):(c.find(".wpuf-success").hide(),c.find(".wpuf-error").show(),c.find(".wpuf-error").text(a.data))})},formStepCheck:function(a,b){var c=b,d=(c.find("input[type=submit]"),WP_User_Frontend.validateForm(c));return 0==d&&WP_User_Frontend.addErrorNotice(self,"bottom"),d},formSubmit:function(c){c.preventDefault();var d=a(this),e=d.find("input[type=submit]");form_data=WP_User_Frontend.validateForm(d),form_data&&(d.find("li.wpuf-submit").append('<span class="wpuf-loading"></span>'),e.attr("disabled","disabled").addClass("button-primary-disabled"),a.post(wpuf_frontend.ajaxurl,form_data,function(c){if(c.success)a("body").trigger("wpuf:postform:success",c),1==c.show_message?(d.before('<div class="wpuf-success">'+c.message+"</div>"),d.slideUp("fast",function(){d.remove()}),a("html, body").animate({scrollTop:a(".wpuf-success").offset().top-100},"fast")):b.location=c.redirect_to;else{if(void 0!==c.type&&"login"===c.type)return void(confirm(c.error)?b.location=c.redirect_to:(e.removeAttr("disabled"),e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()));d.find(".g-recaptcha").length>0&&grecaptcha.reset(),swal({html:c.error,type:"warning",showCancelButton:!1,confirmButtonColor:"#d54e21",confirmButtonText:"OK",cancelButtonClass:"btn btn-danger"}),e.removeAttr("disabled")}e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()}))},validateForm:function(b){var c=!1,d="";WP_User_Frontend.removeErrors(b),WP_User_Frontend.removeErrorNotice(b),b.find('[data-required="yes"]:visible').each(function(b,e){var f=a(e).data("type"),g="";switch(f){case"rich":var h=a(e).data("id");""===(g=a.trim(tinyMCE.get(h).getContent()))&&(c=!0,WP_User_Frontend.markError(e));break;case"textarea":case"text":""===(g=a.trim(a(e).val()))&&(c=!0,d="required",WP_User_Frontend.markError(e,d));break;case"password":case"confirm_password":var i=a(e).data("repeat");if(g=a.trim(a(e).val()),""===g&&(c=!0,d="required",WP_User_Frontend.markError(e,d)),i){var j=a('[data-type="confirm_password"]').eq(0);j.val()!=g&&(c=!0,d="mismatch",WP_User_Frontend.markError(j,d))}break;case"select":(g=a(e).val())&&"-1"!==g||(c=!0,d="required",WP_User_Frontend.markError(e,d));break;case"multiselect":null!==(g=a(e).val())&&0!==g.length||(c=!0,d="required",WP_User_Frontend.markError(e,d));break;case"tax-checkbox":var k=a(e).children().find("input:checked").length;k||(c=!0,d="required",WP_User_Frontend.markError(e,d));break;case"radio":var k=a(e).find("input:checked").length;k||(c=!0,d="required",WP_User_Frontend.markError(e,d));break;case"file":var k=a(e).find("ul").children().length;k||(c=!0,d="required",WP_User_Frontend.markError(e,d));break;case"email":var g=a(e).val();""!==g?WP_User_Frontend.isValidEmail(g)||(c=!0,d="validation",WP_User_Frontend.markError(e,d)):""===g&&(c=!0,d="required",WP_User_Frontend.markError(e,d));break;case"url":var g=a(e).val();""!==g&&(WP_User_Frontend.isValidURL(g)||(c=!0,d="validation",WP_User_Frontend.markError(e,d)))}});var e=b.find('[data-required="yes"]').parents(".wpuf-form-google-map-container");if(a.each(e,function(b,e){""==a(e).val()&&(c=!0,d="required",WP_User_Frontend.markError(e,d))}),c)return WP_User_Frontend.addErrorNotice(b,"end"),!1;var f=b.serialize(),g=[];return a(".wpuf-rich-validation",b).each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),f=a.trim(tinyMCE.get(d).getContent());g.push(e+"="+encodeURIComponent(f))}),f=f+"&"+g.join("&")},addErrorNotice:function(b,c){"bottom"==c?a(".wpuf-multistep-fieldset:visible").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>"):a(b).find("li.wpuf-submit").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>")},removeErrorNotice:function(b){a(b).find(".wpuf-errors").remove()},markError:function(b,c){if(a(b).closest("div").addClass("has-error"),c){var d="",e=a(b).data("label");switch(d=e||a(b).closest("li").data("label"),c){case"required":case"mismatch":case"validation":d=d+" "+error_str_obj[c];break;case"limit":d=""}a(b).siblings(".wpuf-error-msg").remove(),"DIV"===a(b).prev().prop("nodeName")?a(b).append('<div class="wpuf-error-msg">'+d+"</div>"):a(b).after('<div class="wpuf-error-msg">'+d+"</div>")}a(b).focus()},removeErrors:function(b){a(b).find(".has-error").removeClass("has-error"),a(".wpuf-error-msg").remove()},isValidEmail:function(a){return new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(a)},isValidURL:function(a){return new RegExp("^(http://www.|https://www.|ftp://www.|www.|http://|https://){1}([0-9A-Za-z]+.)").test(a)},insertImage:function(b,c){if(a("#"+b).length){var d=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:"wpuf-insert-image-container",multipart:!0,multipart_params:{action:"wpuf_insert_image",form_id:a("#"+b).data("form_id")},multiple_queues:!1,multi_selection:!1,urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:wpuf_frontend_upload.max_filesize,url:wpuf_frontend_upload.plupload.url,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:"jpg,jpeg,gif,png,bmp"}]});d.bind("Init",function(a,b){}),d.bind("FilesAdded",function(b,c){var d=a("#wpuf-insert-image-container");a.each(c,function(a,b){d.append('<div class="upload-item" id="'+b.id+'"><div class="progress progress-striped active"><div class="bar"></div></div></div>')}),b.refresh(),b.start()}),d.bind("QueueChanged",function(a){d.start()}),d.bind("UploadProgress",function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")}),d.bind("Error",function(a,b){alert("Error #"+b.code+": "+b.message)}),d.bind("FileUploaded",function(b,d,e){if(a("#"+d.id).remove(),"error"!==e.response){if("undefined"!=typeof tinyMCE)if("function"!=typeof tinyMCE.execInstanceCommand){var f=tinyMCE.get("post_content_"+c);null!==f&&f.insertContent(e.response)}else tinyMCE.execInstanceCommand("post_content_"+c,"mceInsertContent",!1,e.response);var g=a("#post_content_"+c);g.val(g.val()+e.response)}else alert("Something went wrong")}),d.init()}},deleteAvatar:function(b){b.preventDefault(),confirm(a(this).data("confirm"))&&a.post(wpuf_frontend.ajaxurl,{action:"wpuf_delete_avatar",_wpnonce:wpuf_frontend.nonce},function(){a(b.target).parent().remove(),a("[id^=wpuf-avatar]").css("display","")})},editorLimit:{bind:function(b,c,d,e,f){"no"===d?(a("textarea#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b,e,f)}),a("input#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b,e,f)}),a("textarea#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b,e,f)},100)}),a("input#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b,e,f)},100)})):setTimeout(function(){tinyMCE.get(c).onKeyDown.add(function(a,c){WP_User_Frontend.editorLimit.tinymce.onKeyDown(a,c,b,e,f)}),tinyMCE.get(c).onPaste.add(function(a,c){setTimeout(function(){WP_User_Frontend.editorLimit.tinymce.onPaste(a,c,b,e,f)},100)})},1e3)},tinymce:{getStats:function(a){var b=a.getBody(),c=tinymce.trim(b.innerText||b.textContent);return{chars:c.length,words:c.split(/[\w\u2019\'-]+/).length}},onKeyDown:function(b,c,d,e,f){field=a(".post_content");var g=WP_User_Frontend.editorLimit.tinymce.getStats(b).chars+1;"word"===e&&(g=WP_User_Frontend.editorLimit.tinymce.getStats(b).words),d&&g>d&&"max"===f?(WP_User_Frontend.editorLimit.blockTyping(c),WP_User_Frontend.markError(field,"limit"),jQuery(".mce-path-item.mce-last",b.container).html(wpuf_frontend["word_"+f]+g+"/"+d)):d&&g<d&&"min"===f?(WP_User_Frontend.markError(field,"limit"),jQuery(".mce-path-item.mce-last",b.container).html(wpuf_frontend["word_"+f]+g+"/"+d)):(field.removeClass("has-error"),jQuery(".mce-path-item.mce-last",b.container).html(""))},onPaste:function(a,b,c){var d=a.getContent().split(" ").slice(0,c).join(" ");a.setContent(d),WP_User_Frontend.editorLimit.make_media_embed_code(d,a)}},textLimit:function(b,c,d,e){var f=a(this),g=f.val().length+1;"word"===d&&(g=f.val().split(" ").length),c&&g>c&&"max"===e?(WP_User_Frontend.content_limit_message(f,d,e,c),WP_User_Frontend.editorLimit.blockTyping(b)):c&&g<c&&"min"===e?WP_User_Frontend.content_limit_message(f,d,e,c):(f.closest("li").removeClass("has-error"),f.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html("")),"paste"===b.type&&(f.val(content.substring(0,c)),"word"===d&&f.val(content.slice(0,c).join(" ")))},blockTyping:function(b){-1!==a.inArray(b.keyCode,[46,8,9,27,13,110,190,189])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=40||(b.preventDefault(),b.stopPropagation())},make_media_embed_code:function(b,c){a.post(ajaxurl,{action:"make_media_embed_code",content:b},function(a){c.setContent(c.getContent()+c.setContent(a))})}},doUncheckRadioBtn:function(a){a.checked=!1},content_limit_message:function(a,b,c,d){WP_User_Frontend.markError(a,"limit"),"word"===b&&(limit_message=wpuf_frontend["word_"+c]+d),"character"===b&&(limit_message=wpuf_frontend["char_"+c]+d),a.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(limit_message)}},a(function(){if(WP_User_Frontend.init(),a("ul.wpuf-payment-gateways").on("click","input[type=radio]",function(b){a(".wpuf-payment-instruction").slideUp(250),a(this).parents("li").find(".wpuf-payment-instruction").slideDown(250)}),a("ul.wpuf-payment-gateways li").find("input[type=radio]").is(":checked")){a("ul.wpuf-payment-gateways li").find("input[type=radio]:checked").parents("li").find(".wpuf-payment-instruction").slideDown(250)}else a("ul.wpuf-payment-gateways li").first().find("input[type=radio]").click()}),a(function(){a('input[name="first_name"], input[name="last_name"]').on("change keyup",function(){var b,c=a.makeArray(a('input[name="first_name"], input[name="last_name"]').map(function(){if(b=a(this).val())return b})).join(" ");a('input[name="display_name"]').val(c)})}),a(function(a){a('.wpuf-form-add input[name="dokan_store_name"]').on("focusout",function(){var b=a(this).val().toLowerCase().replace(/-+/g,"").replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"");a('input[name="shopurl"]').val(b),a("#url-alart").text(b),a('input[name="shopurl"]').focus()}),a('.wpuf-form-add input[name="shopurl"]').keydown(function(b){a(this).val();-1!==a.inArray(b.keyCode,[46,8,9,27,13,91,109,110,173,189,190])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=39||(b.shiftKey||(b.keyCode<65||b.keyCode>90)&&(b.keyCode<48||b.keyCode>57))&&(b.keyCode<96||b.keyCode>105)&&b.preventDefault()}),a('.wpuf-form-add input[name="shopurl"]').keyup(function(b){a("#url-alart").text(a(this).val())}),a('.wpuf-form-add input[name="shopurl"]').on("focusout",function(){var b=a(this),c={action:"shop_url",url_slug:b.val(),_nonce:dokan.nonce};""!==b.val()&&a.post(dokan.ajaxurl,c,function(b){0==b?(a("#url-alart").removeClass("text-success").addClass("text-danger"),a("#url-alart-mgs").removeClass("text-success").addClass("text-danger").text(dokan.seller.notAvailable)):(a("#url-alart").removeClass("text-danger").addClass("text-success"),a("#url-alart-mgs").removeClass("text-danger").addClass("text-success").text(dokan.seller.available))})}),a(".wpuf-form-add #wpuf-map-add-location").attr("name","find_address")})}(jQuery,window);
1
+ !function(a,b){a.fn.listautowidth=function(){return this.each(function(){var b=a(this).width(),c=b/a(this).children("li").length;a(this).children("li").each(function(){var b=a(this).outerWidth(!0)-a(this).width();a(this).width(c-b)})})},b.WP_User_Frontend={init:function(){this.enableMultistep(this),a(".wpuf-form").on("click","img.wpuf-clone-field",this.cloneField),a(".wpuf-form").on("click","img.wpuf-remove-field",this.removeField),a(".wpuf-form").on("click","a.wpuf-delete-avatar",this.deleteAvatar),a(".wpuf-form").on("click","a#wpuf-post-draft",this.draftPost),a(".wpuf-form").on("click","button#wpuf-account-update-profile",this.account_update_profile),a(".wpuf-form-add").on("submit",this.formSubmit),a("form#post").on("submit",this.adminPostSubmit),b.matchMedia("(max-width: 600px)").matches&&(a("table.items-table tr td .post-edit-icon").click(function(b){b.preventDefault(),a(this).parents("tr").find(".data-column").toggleClass("flex-column"),a(this).toggleClass("toggle-icon")}),a(".wpuf-dashboard-navigation ul li:first-child").after().click(function(b){b.preventDefault(),a(".wpuf-dashboard-navigation ul li").not(":first").toggle()})),a(".wpuf-form").on("step-change-fieldset",function(a,b,c){if(wpuf_plupload_items.length)for(var d=wpuf_plupload_items.length-1;d>=0;d--)wpuf_plupload_items[d].refresh();if(wpuf_map_items.length)for(var d=wpuf_map_items.length-1;d>=0;d--)google.maps.event.trigger(wpuf_map_items[d].map,"resize"),wpuf_map_items[d].map.setCenter(wpuf_map_items[d].center)}),this.ajaxCategory(),a(':submit[name="wpuf_user_subscription_cancel"]').click(function(b){b.preventDefault(),swal({text:wpuf_frontend.cancelSubMsg,type:"warning",showCancelButton:!0,confirmButtonColor:"#d54e21",confirmButtonText:wpuf_frontend.delete_it,cancelButtonText:wpuf_frontend.cancel_it,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger"}).then(function(b){if(!b)return!1;a("#wpuf_cancel_subscription").submit()})}),this.warningOnExit(),this.handleReadOnly()},warningOnExit:function(){a('input[name="submit"], #wpuf-post-draft').on("click",function(){b.onbeforeunload=null}),a(".wpuf-form-add").on("change",function(){a(".wpuf-form-add input, .wpuf-form-add select, .wpuf-form-add textarea").each(function(c){"hidden"===a(this).attr("type")&&"submit"===a(this).attr("type")&&-1===a(this).val()||(b.onbeforeunload=function(){return"you have changes"})})})},handleReadOnly:function(){a(".wpuf-form .read-only").each(function(){a("input, select, textarea",this).each(function(){a(this).attr("disabled",!0)})})},check_pass_strength:function(){var b=a("#pass1").val();if(a("#pass-strength-result").show(),a("#pass-strength-result").removeClass("short bad good strong"),!b)return a("#pass-strength-result").html("&nbsp;"),void a("#pass-strength-result").hide();if(void 0!==wp.passwordStrength)switch(wp.passwordStrength.meter(b,wp.passwordStrength.userInputBlacklist(),b)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n.short)}},enableMultistep:function(c){var d=this,e=0,f=a(':hidden[name="wpuf_multistep_type"]').val();if(null!=f){if(a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-prev-btn").first().remove(),a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-next-btn").last().remove(),a(".wpuf-form fieldset").removeClass("field-active").first().addClass("field-active"),"progressive"==f&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){a("fieldset.wpuf-multistep-fieldset legend").first();a(".wpuf-multistep-progressbar").html('<div class="wpuf-progress-percentage"></div>');var g=a(".wpuf-multistep-progressbar"),h=a(".wpuf-progress-percentage");a(".wpuf-multistep-progressbar").progressbar({change:function(){h.text(g.progressbar("value")+"%")}}),a(".wpuf-multistep-fieldset legend").hide()}else a(".wpuf-form").each(function(){var b=a(this),c=a(".wpuf-multistep-progressbar",b),d="";c.addClass("wizard-steps"),d+='<ul class="wpuf-step-wizard">',a(".wpuf-multistep-fieldset",this).each(function(){d+="<li>"+a.trim(a("legend",this).text())+"</li>",a("legend",this).hide()}),d+="</ul>",c.append(d),a(".wpuf-step-wizard li",c).first().addClass("active-step"),a(".wpuf-step-wizard",c).listautowidth()});this.change_fieldset(e,f),a("fieldset .wpuf-multistep-prev-btn, fieldset .wpuf-multistep-next-btn").click(function(g){if(a(this).hasClass("wpuf-multistep-next-btn")){0!=d.formStepCheck("",a(this).closest("fieldset"))&&c.change_fieldset(++e,f)}else a(this).hasClass("wpuf-multistep-prev-btn")&&c.change_fieldset(--e,f);var h=a("form.wpuf-form-add"),i=h.offset().top;return b.scrollTo({top:i-32,behavior:"smooth"}),!1})}},change_fieldset:function(b,c){var d=a("fieldset.wpuf-multistep-fieldset").eq(b);a("fieldset.wpuf-multistep-fieldset").removeClass("field-active").eq(b).addClass("field-active"),a(".wpuf-step-wizard li").each(function(){a(this).index()<=b?"step_by_step"==c?a(this).addClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).addClass("passed-wpuf-ms-bar"):"step_by_step"==c?a(this).removeClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).removeClass("passed-wpuf-ms-bar")}),a(".wpuf-step-wizard li").removeClass("wpuf-ms-bar-active active-step completed-step"),a(".passed-wpuf-ms-bar").addClass("completed-step").last().addClass("wpuf-ms-bar-active"),a(".wpuf-ms-bar-active").addClass("active-step");var e=a("fieldset.wpuf-multistep-fieldset").eq(b).find("legend").text();if(e=a.trim(e),"progressive"==c&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){var f=100*(b+1)/a("fieldset.wpuf-multistep-fieldset").length,f=Number(f.toFixed(2));a(".wpuf-multistep-progressbar").progressbar({value:f}),a(".wpuf-progress-percentage").text(e+" ("+f+"%)")}a(".wpuf-form").trigger("step-change-fieldset",[b,d])},ajaxCategory:function(){a(".category-wrap").on("change",".cat-ajax",function(){var b=a(this).data("form-id");currentLevel=parseInt(a(this).parent().attr("level")),WP_User_Frontend.getChildCats(a(this),currentLevel+1,"category",b)})},getChildCats:function(b,c,d,e){var f=a(b).val(),g="wpuf-category-dropdown-lvl-"+c,d=void 0!==d?d:"category",h=a(b).siblings("span").data("taxonomy");a.ajax({type:"post",url:wpuf_frontend.ajaxurl,data:{action:"wpuf_get_child_cat",catID:f,nonce:wpuf_frontend.nonce,field_attr:h,form_id:e},beforeSend:function(){a(b).parent().parent().next(".loading").addClass("wpuf-loading")},complete:function(){a(b).parent().parent().next(".loading").removeClass("wpuf-loading")},success:function(e){a(b).parent().nextAll().each(function(){a(this).remove()}),""!=e&&(a(b).parent().addClass("hasChild").parent().append('<div id="'+g+'" level="'+c+'"></div>'),b.parent().parent().find("#"+g).html(e).slideDown("fast")),a(document).trigger("wpuf-ajax-fetched-child-categories",g,c,d)}})},cloneField:function(b){b.preventDefault();var c=a(this).closest("tr"),d=c.clone();d.find("input").val(""),d.find(":checked").attr("checked",""),c.after(d)},removeField:function(){var b=a(this).closest("tr");b.siblings().addBack().length>1&&b.remove()},adminPostSubmit:function(b){b.preventDefault();var c=a(this);if(WP_User_Frontend.validateForm(c))return!0},draftPost:function(b){b.preventDefault();var c=a(this),d=a(this).closest("form"),e=d.serialize()+"&action=wpuf_draft_post",f=d.find('input[type="hidden"][name="post_id"]').val(),g=[];a(".wpuf-rich-validation").each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),f=a.trim(tinyMCE.get(d).getContent());g.push(e+"="+encodeURIComponent(f))}),e=e+"&"+g.join("&"),c.after(' <span class="wpuf-loading"></span>'),a.post(wpuf_frontend.ajaxurl,e,function(b){if(void 0===f){var e='<input type="hidden" name="post_id" value="'+b.post_id+'">';e+='<input type="hidden" name="post_date" value="'+b.date+'">',e+='<input type="hidden" name="post_author" value="'+b.post_author+'">',e+='<input type="hidden" name="comment_status" value="'+b.comment_status+'">',d.append(e)}c.next("span.wpuf-loading").remove(),c.after('<span class="wpuf-draft-saved">&nbsp; Post Saved</span>'),a(".wpuf-draft-saved").delay(2500).fadeOut("fast",function(){a(this).remove()})})},account_update_profile:function(b){b.preventDefault();var c=a(this).closest("form");a.post(wpuf_frontend.ajaxurl,c.serialize(),function(a){a.success?(c.find(".wpuf-error").hide(),c.find(".wpuf-success").show()):(c.find(".wpuf-success").hide(),c.find(".wpuf-error").show(),c.find(".wpuf-error").text(a.data))})},formStepCheck:function(a,b){var c=b,d=(c.find("input[type=submit]"),WP_User_Frontend.validateForm(c));return 0==d&&WP_User_Frontend.addErrorNotice(self,"bottom"),d},formSubmit:function(c){c.preventDefault();var d=a(this),e=d.find("input[type=submit]");form_data=WP_User_Frontend.validateForm(d),form_data&&(d.find("li.wpuf-submit").append('<span class="wpuf-loading"></span>'),e.attr("disabled","disabled").addClass("button-primary-disabled"),a.post(wpuf_frontend.ajaxurl,form_data,function(c){if(c.success)a("body").trigger("wpuf:postform:success",c),1==c.show_message?(d.before('<div class="wpuf-success">'+c.message+"</div>"),d.slideUp("fast",function(){d.remove()}),a("html, body").animate({scrollTop:a(".wpuf-success").offset().top-100},"fast")):b.location=c.redirect_to;else{if(void 0!==c.type&&"login"===c.type)return void(confirm(c.error)?b.location=c.redirect_to:(e.removeAttr("disabled"),e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()));d.find(".g-recaptcha").length>0&&grecaptcha.reset(),swal({html:c.error,type:"warning",showCancelButton:!1,confirmButtonColor:"#d54e21",confirmButtonText:"OK",cancelButtonClass:"btn btn-danger"}),e.removeAttr("disabled")}e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()}))},isTelephoneField:function(b){return a(b).hasClass("wpuf_telephone")&&"yes"===a(b).data("show-list")},validateForm:function(c){var d=!1,e="",f=[];if(WP_User_Frontend.removeErrors(c),WP_User_Frontend.removeErrorNotice(c),c.find("input:visible, textarea:visible, select:visible, .wpuf-rich-validation").each(function(g,h){var i=a(h).attr("type"),j=a(h).data("type"),k=a(h).data("required"),l="";switch(j){case"rich":var m=a(h).data("id"),h=a(h),n=h.data("id"),o=h.data("name");l=a.trim(tinyMCE.get(n).getContent()),"yes"===k&&""===l&&(d=!0,e="required",WP_User_Frontend.markError(h)),f.push(o+"="+encodeURIComponent(l));break;case"textarea":case"text":if(l=a.trim(a(h).val()),"yes"===k&&""===l){d=!0,e="required",WP_User_Frontend.markError(h,e);break}if(WP_User_Frontend.isTelephoneField(h)){var p=b.intlTelInputGlobals.getInstance(h);if(""!==p.getNumber()&&!p.isValidNumber()){d=!0,e="validation",WP_User_Frontend.markError(h,e);break}var m=a(h).attr("name"),q=p.getNumber();a("<input>").attr("type","hidden").attr("name",m).attr("value",q).appendTo(c);break}if("url"===i&&""!==l&&!WP_User_Frontend.isValidURL(l)){d=!0,e="validation",WP_User_Frontend.markError(h,e);break}d=WP_User_Frontend.editorLimit.checkRestrictionError(h);break;case"password":case"confirm_password":var r=a(h).data("repeat");if(l=a.trim(a(h).val()),"yes"===k&&""===l){d=!0,e="required",WP_User_Frontend.markError(h,e);break}if(r){var s=a('[data-type="confirm_password"]').eq(0);s.val()!=l&&(d=!0,e="mismatch",WP_User_Frontend.markError(s,e))}break;case"select":l=a(h).val(),"yes"===k&&"-1"==l&&(d=!0,e="required",WP_User_Frontend.markError(h,e));break;case"multiselect":l=a(h).val(),"yes"===k&&0===l.length&&(d=!0,e="required",WP_User_Frontend.markError(h,e));break;case"tax-checkbox":var t=a(h).children().find("input:checked").length;"yes"!==k||t||(d=!0,e="required",WP_User_Frontend.markError(h,e));break;case"radio":var t=a(h).find("input:checked").length;"yes"!==k||t||(d=!0,e="required",WP_User_Frontend.markError(h,e));break;case"file":var t=a(h).find("ul").children().length;"yes"!==k||t||(d=!0,e="required",WP_User_Frontend.markError(h,e));break;case"email":if(l=a(h).val(),"yes"===k&&""===l){d=!0,e="required",WP_User_Frontend.markError(h,e);break}""===l||WP_User_Frontend.isValidEmail(l)||(d=!0,e="validation",WP_User_Frontend.markError(h,e));break;case"url":var l=a(h).val();if("yes"===k&&""===l){d=!0,e="required",WP_User_Frontend.markError(h,e);break}""===l||WP_User_Frontend.isValidURL(l)||(d=!0,e="validation",WP_User_Frontend.markError(h,e));break;default:if(a(h).attr("id")&&a(h).attr("id").startsWith("wpuf-map")){var u=a(h).parents(".wpuf-form-google-map-container");map_field=a(u).find('input[id^="wpuf-map-lat"]'),k=a(map_field).data("required"),l=a(map_field).val(),"yes"==k&&""==l&&(d=!0,e="required",WP_User_Frontend.markError(u,e))}}if(d)return WP_User_Frontend.markError(h,e),!1}),c.find('li.wpuf-el[style*="display: none"] input').each(function(b,c){switch(a(c).attr("type")){case"url":case"email":a(c).val("")}}),d)return WP_User_Frontend.addErrorNotice(c,"end"),!1;var g=c.serialize();return g=g+"&"+f.join("&")},addErrorNotice:function(b,c){"bottom"==c?a(".wpuf-multistep-fieldset:visible").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>"):a(b).find("li.wpuf-submit").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>")},removeErrorNotice:function(b){a(b).find(".wpuf-errors").remove()},markError:function(b,c){if(a(b).closest("div").addClass("has-error"),c){var d="",e=a(b).data("label");switch(d=e||a(b).closest("li").data("label"),c){case"required":case"mismatch":case"validation":d=d+" "+error_str_obj[c];break;case"limit":d=""}a(b).siblings(".wpuf-error-msg").remove(),"DIV"!==a(b).prev().prop("nodeName")||a(b).hasClass("wpuf_telephone")?a(b).after('<div class="wpuf-error-msg">'+d+"</div>"):a(b).append('<div class="wpuf-error-msg">'+d+"</div>")}a(b).focus()},removeErrors:function(b){a(b).find(".has-error").removeClass("has-error"),a(".wpuf-error-msg").remove()},isValidEmail:function(a){return new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(a)},isValidURL:function(a){return new RegExp("^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/){1}[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,20}(:[0-9]{1,20})?(\\/.*)?$").test(a)},insertImage:function(b,c){if(a("#"+b).length){var d=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:"wpuf-insert-image-container",multipart:!0,multipart_params:{action:"wpuf_insert_image",form_id:a("#"+b).data("form_id")},multiple_queues:!1,multi_selection:!1,urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:wpuf_frontend_upload.max_filesize,url:wpuf_frontend_upload.plupload.url,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:"jpg,jpeg,gif,png,bmp"}]});d.bind("Init",function(a,b){}),d.bind("FilesAdded",function(b,c){var d=a("#wpuf-insert-image-container");a.each(c,function(a,b){d.append('<div class="upload-item" id="'+b.id+'"><div class="progress progress-striped active"><div class="bar"></div></div></div>')}),b.refresh(),b.start()}),d.bind("QueueChanged",function(a){d.start()}),d.bind("UploadProgress",function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")}),d.bind("Error",function(a,b){alert("Error #"+b.code+": "+b.message)}),d.bind("FileUploaded",function(b,d,e){if(a("#"+d.id).remove(),"error"!==e.response){if("undefined"!=typeof tinyMCE)if("function"!=typeof tinyMCE.execInstanceCommand){var f=tinyMCE.get("post_content_"+c);null!==f&&f.insertContent(e.response)}else tinyMCE.execInstanceCommand("post_content_"+c,"mceInsertContent",!1,e.response);var g=a("#post_content_"+c);g.val(g.val()+e.response)}else alert("Something went wrong")}),d.init()}},deleteAvatar:function(b){b.preventDefault(),confirm(a(this).data("confirm"))&&a.post(wpuf_frontend.ajaxurl,{action:"wpuf_delete_avatar",_wpnonce:wpuf_frontend.nonce},function(){a(b.target).parent().remove(),a("[id^=wpuf-avatar]").css("display","")})},editorLimit:{bind:function(b,c,d,e,f){"no"===d?(a("textarea#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b,e,f)}),a("input#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b,e,f)}),a("input#"+c).change(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b,e,f)}),a("textarea#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b,e,f)},100)}),a("input#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b,e,f)},100)})):setTimeout(function(){tinyMCE.get(c).onKeyDown.add(function(a,c){WP_User_Frontend.editorLimit.tinymce.onKeyDown(a,c,b,e,f)}),tinyMCE.get(c).onPaste.add(function(a,c){setTimeout(function(){WP_User_Frontend.editorLimit.tinymce.onPaste(a,c,b,e,f)},100)})},1e3)},checkTinyMCERestriction:function(b,c,d){var e=0,f=void 0!==c[0]&&null!==c[0]?parseInt(c[0]):0,g=(void 0!==c[1]&&null!==c[1]&&c[1].trim(),void 0!==c[2]&&null!==c[2]&&c[2].trim(),void 0!==c[3]&&null!==c[3]?c[3].trim():""),h=void 0!==c[4]&&null!==c[4]?c[4].trim():"";e="word"===g?WP_User_Frontend.editorLimit.tinymce.getStats(d).words:WP_User_Frontend.editorLimit.tinymce.getStats(d).chars+1;wpuf_frontend["word_"+h];return e>1&&e>f&&"max"===h?(WP_User_Frontend.markError(b,"limit"),jQuery(".mce-path-item.mce-last",d.container).html(wpuf_frontend["word_"+h]+" "+e+"/"+f),!0):e<f&&"min"===h&&e>1?(WP_User_Frontend.markError(b,"limit"),jQuery(".mce-path-item.mce-last",d.container).html(wpuf_frontend["word_"+h]+" "+e+"/"+f),!0):(a(b).hasClass("has-error")&&a(b).removeClass("has-error"),!1)},checkRestrictionError:function(b){var c=a(b).attr("id"),d=!1,e=null,f=0,g="";if("undefined"!=typeof tinyMCE&&null!==tinyMCE.get(c)&&(d=!0,e=tinyMCE.get(c),e.focus()),a(b).closest("li.wpuf-el").find("script").html()){var h=a(b).closest("li.wpuf-el").find("script").html();g=h.match(/(?:bind\()(.*?(?=\)))/)?h.match(/(?:bind\()(.*?(?=\)))/)[1].replace(/['"]/g,"").split(","):""}if(d)return WP_User_Frontend.editorLimit.checkTinyMCERestriction(b,g,e);var i=void 0!==g[0]&&null!==g[0]?parseInt(g[0]):0,c=void 0!==g[1]&&null!==g[1]?g[1].trim():"",j=(void 0!==g[2]&&null!==g[2]&&g[2].trim(),void 0!==g[3]&&null!==g[3]&&g[3].trim(),void 0!==g[4]&&null!==g[4]?g[4].trim():"");f=a(b).val().length;wpuf_frontend["word_"+j];return f>1&&f>i&&"max"===j?(WP_User_Frontend.markError(b,"limit"),!0):f<i&&"min"===j&&f>1?(WP_User_Frontend.markError(b,"limit"),!0):(a(b).hasClass("has-error")&&a(b).removeClass("has-error"),!1)},tinymce:{getStats:function(a){var b=a.getBody(),c=tinymce.trim(b.innerText||b.textContent);return{chars:c.length,words:c.split(/[\w\u2019\'-]+/).length}},onKeyDown:function(b,c,d,e,f){var g=a(".wpuf-fields.wpuf_"+b.id),h=WP_User_Frontend.editorLimit.tinymce.getStats(b).chars+1;"word"===e&&(h=WP_User_Frontend.editorLimit.tinymce.getStats(b).words),d&&h>d&&"max"===f?(WP_User_Frontend.editorLimit.blockTyping(c),WP_User_Frontend.markError(g,"limit"),jQuery(".mce-path-item.mce-last",b.container).html(wpuf_frontend["word_"+f]+" "+h+"/"+d)):d&&h<d&&"min"===f?(WP_User_Frontend.markError(g,"limit"),jQuery(".mce-path-item.mce-last",b.container).html(wpuf_frontend["word_"+f]+" "+h+"/"+d)):(g.removeClass("has-error"),jQuery(".mce-path-item.mce-last",b.container).html(""))},onPaste:function(a,b,c){var d=a.getContent().split(" ").slice(0,c).join(" ");a.setContent(d),WP_User_Frontend.editorLimit.make_media_embed_code(d,a)}},textLimit:function(b,c,d,e){var f=a(this),g=f.val().length+1;"word"===d&&(g=f.val().split(" ").length),c&&g>c&&"max"===e?(WP_User_Frontend.content_limit_message(f,d,e,c),WP_User_Frontend.editorLimit.blockTyping(b)):c&&g<c&&"min"===e?WP_User_Frontend.content_limit_message(f,d,e,c):(f.closest("li").removeClass("has-error"),f.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html("")),"paste"===b.type&&(f.val(content.substring(0,c)),"word"===d&&f.val(content.slice(0,c).join(" ")))},blockTyping:function(b){-1!==a.inArray(b.keyCode,[46,8,9,27,13,110,190,189])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=40||(b.preventDefault(),b.stopPropagation())},make_media_embed_code:function(b,c){a.post(ajaxurl,{action:"make_media_embed_code",content:b},function(a){c.setContent(c.getContent()+c.setContent(a))})}},doUncheckRadioBtn:function(a){a.checked=!1},content_limit_message:function(a,b,c,d){WP_User_Frontend.markError(a,"limit");var e="";"word"===b&&(e=wpuf_frontend["word_"+c]+" "+d),"character"===b&&(e=wpuf_frontend["char_"+c]+" "+d),a.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(e)}},a(function(){if(WP_User_Frontend.init(),a("ul.wpuf-payment-gateways").on("click","input[type=radio]",function(b){a(".wpuf-payment-instruction").slideUp(250),a(this).parents("li").find(".wpuf-payment-instruction").slideDown(250)}),a("ul.wpuf-payment-gateways li").find("input[type=radio]").is(":checked")){a("ul.wpuf-payment-gateways li").find("input[type=radio]:checked").parents("li").find(".wpuf-payment-instruction").slideDown(250)}else a("ul.wpuf-payment-gateways li").first().find("input[type=radio]").click()}),a(function(){a('input[name="first_name"], input[name="last_name"]').on("change keyup",function(){var b,c=a.makeArray(a('input[name="first_name"], input[name="last_name"]').map(function(){if(b=a(this).val())return b})).join(" ");a('input[name="display_name"]').val(c)})}),a(function(a){a('.wpuf-form-add input[name="dokan_store_name"]').on("focusout",function(){var b=a(this).val().toLowerCase().replace(/-+/g,"").replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"");a('input[name="shopurl"]').val(b),a("#url-alart").text(b),a('input[name="shopurl"]').focus()}),a('.wpuf-form-add input[name="shopurl"]').keydown(function(b){a(this).val();-1!==a.inArray(b.keyCode,[46,8,9,27,13,91,109,110,173,189,190])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=39||(b.shiftKey||(b.keyCode<65||b.keyCode>90)&&(b.keyCode<48||b.keyCode>57))&&(b.keyCode<96||b.keyCode>105)&&b.preventDefault()}),a('.wpuf-form-add input[name="shopurl"]').keyup(function(b){a("#url-alart").text(a(this).val())}),a('.wpuf-form-add input[name="shopurl"]').on("focusout",function(){var b=a(this),c={action:"shop_url",url_slug:b.val(),_nonce:dokan.nonce};""!==b.val()&&a.post(dokan.ajaxurl,c,function(b){0==b?(a("#url-alart").removeClass("text-success").addClass("text-danger"),a("#url-alart-mgs").removeClass("text-success").addClass("text-danger").text(dokan.seller.notAvailable)):(a("#url-alart").removeClass("text-danger").addClass("text-success"),a("#url-alart-mgs").removeClass("text-danger").addClass("text-success").text(dokan.seller.available))})}),a(".wpuf-form-add #wpuf-map-add-location").attr("name","find_address")})}(jQuery,window);
assets/js/promotion.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "key": "wpuf-holidaysale2021",
3
- "start_date": "2021-12-24 09:00:00 EST",
4
- "end_date": "2022-01-12 23:00:00 EST",
5
- "title": "Happy Holidays",
6
- "content": "Let The Festivities Begin. Enjoy Up To 35% OFF on Dokan Pro.",
7
- "action_url": "https://wedevs.com/wp-user-frontend-pro/pricing?utm_medium=text&utm_source=wordpress-wpuf-holidaysale2021",
8
- "action_title": "Get Now "
9
  }
1
  {
2
+ "key": "wpuf-superbowl2022",
3
+ "start_date": "2022-02-07 11:00:00 EST",
4
+ "end_date": "2022-02-15 23:00:00 EST",
5
+ "title": "Super Bowl Sale",
6
+ "content": "Super Bowl Sale. Touchdown with Up To 35% OFF on WP User Frontend Pro.",
7
+ "action_url": "https://wedevs.com/wp-user-frontend-pro/pricing?utm_medium=dashboard&utm_source=wordpress-wpuf-superbowl2022",
8
+ "action_title": "Join the Huddle"
9
  }
assets/js/upload.js CHANGED
@@ -186,7 +186,7 @@
186
  }
187
 
188
  if ( FileProgress === uploaded ) {
189
- if ( typeof grecaptcha !== 'undefined' && $('#g-recaptcha-response').length ) {
190
  if ( !grecaptcha.getResponse().length ){
191
  return;
192
  }
186
  }
187
 
188
  if ( FileProgress === uploaded ) {
189
+ if ( typeof grecaptcha !== 'undefined' && $('.wpuf-form-add #g-recaptcha-response').length ) {
190
  if ( !grecaptcha.getResponse().length ){
191
  return;
192
  }
assets/js/upload.min.js CHANGED
@@ -1 +1 @@
1
- !function(a){window.WPUF_Uploader=function(b,c,d,e,f,g){if(this.removed_files=[],this.container=c,this.browse_button=b,this.max=d||1,this.count=a("#"+c).find(".wpuf-attachment-list > li").length,this.perFileCount=0,this.UploadedFiles=0,a("#"+b).length)return a("ul.wpuf-attachment-list").sortable({placeholder:"highlight"}),a("ul.wpuf-attachment-list").disableSelection(),this.uploader=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:c,multipart:!0,multipart_params:{action:"wpuf_upload_file",form_id:a("#"+b).data("form_id")},urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:g+"kb",url:wpuf_frontend_upload.plupload.url+"&type="+e,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:f}]}),this.uploader.bind("Init",a.proxy(this,"init")),this.uploader.bind("FilesAdded",a.proxy(this,"added")),this.uploader.bind("QueueChanged",a.proxy(this,"upload")),this.uploader.bind("UploadProgress",a.proxy(this,"progress")),this.uploader.bind("Error",a.proxy(this,"error")),this.uploader.bind("FileUploaded",a.proxy(this,"uploaded")),this.uploader.init(),a("#"+c).on("click","a.attachment-delete",a.proxy(this.removeAttachment,this)),this.uploader},WPUF_Uploader.prototype={init:function(b,c){this.showHide(),a("#"+this.container).prepend('<div class="wpuf-file-warning"></div>')},showHide:function(){if(this.count>=this.max)return this.count,this.max,a("#"+this.container+" .wpuf-file-warning").html(wpuf_frontend_upload.warning),void a("#"+this.container).find(".file-selector").hide();a("#"+this.container+" .wpuf-file-warning").html(""),a("#"+this.container).find(".file-selector").show()},added:function(b,c){var d=a("#"+this.container).find(".wpuf-attachment-upload-filelist");this.showHide(),a.each(c,function(b,c){a(".wpuf-submit-button").attr("disabled","disabled"),d.append('<div class="upload-item" id="'+c.id+'"><div class="progress progress-striped active"><div class="bar"></div></div><div class="filename original">'+c.name+" ("+plupload.formatSize(c.size)+") <b></b></div></div>")}),b.refresh(),b.start()},upload:function(a){this.count=a.files.length-this.removed_files.length,this.showHide()},progress:function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")},error:function(b,c){a("#"+this.container).find("#"+c.file.id).remove();var d="";switch(c.code){case-600:d=wpuf_frontend_upload.plupload.size_error;break;case-601:d=wpuf_frontend_upload.plupload.type_error;break;default:d="Error #"+c.code+": "+c.message}alert(d),this.count-=1,this.showHide(),this.uploader.refresh()},uploaded:function(b,c,d){try{var e=a.parseJSON(d.response)}catch(a){var f=!0}var g=this;if(a("#"+c.id+" b").html("100%"),a("#"+c.id).remove(),f){this.perFileCount++,this.UploadedFiles++;var h=a("#"+this.container).find(".wpuf-attachment-list");if(h.append(d.response),this.perFileCount>this.max){var i=a(".wpuf-image-wrap:last a.attachment-delete",h).data("attach-id");g.removeExtraAttachment(i),a(".wpuf-image-wrap",h).last().remove(),this.perFileCount--}}else alert(e.data.replace(/(<([^>]+)>)/gi,"")),b.files.pop(),this.count-=1,this.showHide();var j=this.UploadedFiles,k=b.files.length;if(this.count>=this.max&&a("#"+this.container).find(".file-selector").hide(),k===j){if("undefined"!=typeof grecaptcha&&a("#g-recaptcha-response").length&&!grecaptcha.getResponse().length)return;a(".wpuf-submit-button").removeAttr("disabled")}},removeAttachment:function(b){b.preventDefault();var c=this,d=a(b.currentTarget);swal({text:wpuf_frontend_upload.confirmMsg,type:"warning",showCancelButton:!0,confirmButtonColor:"#d54e21",confirmButtonText:wpuf_frontend_upload.delete_it,cancelButtonText:wpuf_frontend_upload.cancel_it,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger"}).then(function(){var a={attach_id:d.data("attach-id"),nonce:wpuf_frontend_upload.nonce,action:"wpuf_file_del"};c.removed_files.push(a),jQuery("#del_attach").val(d.data("attach-id")),jQuery.post(wpuf_frontend_upload.ajaxurl,a,function(){c.perFileCount--,d.parent().parent().remove(),c.count-=1,c.showHide(),c.uploader.refresh()})})},removeExtraAttachment:function(a){var b=this,c={attach_id:a,nonce:wpuf_frontend_upload.nonce,action:"wpuf_file_del"};this.removed_files.push(c),jQuery.post(wpuf_frontend_upload.ajaxurl,c,function(){b.count-=1,b.showHide(),b.uploader.refresh()})}}}(jQuery);
1
+ !function(a){window.WPUF_Uploader=function(b,c,d,e,f,g){if(this.removed_files=[],this.container=c,this.browse_button=b,this.max=d||1,this.count=a("#"+c).find(".wpuf-attachment-list > li").length,this.perFileCount=0,this.UploadedFiles=0,a("#"+b).length)return a("ul.wpuf-attachment-list").sortable({placeholder:"highlight"}),a("ul.wpuf-attachment-list").disableSelection(),this.uploader=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:c,multipart:!0,multipart_params:{action:"wpuf_upload_file",form_id:a("#"+b).data("form_id")},urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:g+"kb",url:wpuf_frontend_upload.plupload.url+"&type="+e,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:f}]}),this.uploader.bind("Init",a.proxy(this,"init")),this.uploader.bind("FilesAdded",a.proxy(this,"added")),this.uploader.bind("QueueChanged",a.proxy(this,"upload")),this.uploader.bind("UploadProgress",a.proxy(this,"progress")),this.uploader.bind("Error",a.proxy(this,"error")),this.uploader.bind("FileUploaded",a.proxy(this,"uploaded")),this.uploader.init(),a("#"+c).on("click","a.attachment-delete",a.proxy(this.removeAttachment,this)),this.uploader},WPUF_Uploader.prototype={init:function(b,c){this.showHide(),a("#"+this.container).prepend('<div class="wpuf-file-warning"></div>')},showHide:function(){if(this.count>=this.max)return this.count,this.max,a("#"+this.container+" .wpuf-file-warning").html(wpuf_frontend_upload.warning),void a("#"+this.container).find(".file-selector").hide();a("#"+this.container+" .wpuf-file-warning").html(""),a("#"+this.container).find(".file-selector").show()},added:function(b,c){var d=a("#"+this.container).find(".wpuf-attachment-upload-filelist");this.showHide(),a.each(c,function(b,c){a(".wpuf-submit-button").attr("disabled","disabled"),d.append('<div class="upload-item" id="'+c.id+'"><div class="progress progress-striped active"><div class="bar"></div></div><div class="filename original">'+c.name+" ("+plupload.formatSize(c.size)+") <b></b></div></div>")}),b.refresh(),b.start()},upload:function(a){this.count=a.files.length-this.removed_files.length,this.showHide()},progress:function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")},error:function(b,c){a("#"+this.container).find("#"+c.file.id).remove();var d="";switch(c.code){case-600:d=wpuf_frontend_upload.plupload.size_error;break;case-601:d=wpuf_frontend_upload.plupload.type_error;break;default:d="Error #"+c.code+": "+c.message}alert(d),this.count-=1,this.showHide(),this.uploader.refresh()},uploaded:function(b,c,d){try{var e=a.parseJSON(d.response)}catch(a){var f=!0}var g=this;if(a("#"+c.id+" b").html("100%"),a("#"+c.id).remove(),f){this.perFileCount++,this.UploadedFiles++;var h=a("#"+this.container).find(".wpuf-attachment-list");if(h.append(d.response),this.perFileCount>this.max){var i=a(".wpuf-image-wrap:last a.attachment-delete",h).data("attach-id");g.removeExtraAttachment(i),a(".wpuf-image-wrap",h).last().remove(),this.perFileCount--}}else alert(e.data.replace(/(<([^>]+)>)/gi,"")),b.files.pop(),this.count-=1,this.showHide();var j=this.UploadedFiles,k=b.files.length;if(this.count>=this.max&&a("#"+this.container).find(".file-selector").hide(),k===j){if("undefined"!=typeof grecaptcha&&a(".wpuf-form-add #g-recaptcha-response").length&&!grecaptcha.getResponse().length)return;a(".wpuf-submit-button").removeAttr("disabled")}},removeAttachment:function(b){b.preventDefault();var c=this,d=a(b.currentTarget);swal({text:wpuf_frontend_upload.confirmMsg,type:"warning",showCancelButton:!0,confirmButtonColor:"#d54e21",confirmButtonText:wpuf_frontend_upload.delete_it,cancelButtonText:wpuf_frontend_upload.cancel_it,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger"}).then(function(){var a={attach_id:d.data("attach-id"),nonce:wpuf_frontend_upload.nonce,action:"wpuf_file_del"};c.removed_files.push(a),jQuery("#del_attach").val(d.data("attach-id")),jQuery.post(wpuf_frontend_upload.ajaxurl,a,function(){c.perFileCount--,d.parent().parent().remove(),c.count-=1,c.showHide(),c.uploader.refresh()})})},removeExtraAttachment:function(a){var b=this,c={attach_id:a,nonce:wpuf_frontend_upload.nonce,action:"wpuf_file_del"};this.removed_files.push(c),jQuery.post(wpuf_frontend_upload.ajaxurl,c,function(){b.count-=1,b.showHide(),b.uploader.refresh()})}}}(jQuery);
assets/js/wpuf-admin.js CHANGED
@@ -11,7 +11,8 @@ jQuery(function($) {
11
  '.pending-user-email',
12
  '.denied-user-email',
13
  '.approved-user-email',
14
- '.approved-post-email'
 
15
  ]
16
  group.forEach(function(header, index) {
17
  $(header).addClass("heading");
11
  '.pending-user-email',
12
  '.denied-user-email',
13
  '.approved-user-email',
14
+ '.approved-post-email',
15
+ '.account-activated-user-email'
16
  ]
17
  group.forEach(function(header, index) {
18
  $(header).addClass("heading");
assets/js/wpuf-form-builder-components.js CHANGED
@@ -846,7 +846,7 @@ Vue.component('form-column_field', {
846
  payload.field_id = self.field.id;
847
  payload.fromIndex = parseInt(item.attributes['column-field-index'].value);
848
  payload.fromColumn = item.attributes['in-column'].value;
849
- payload.toColumn = item.parent().parent().attr('class').split(' ')[0];
850
 
851
  // when drag field one column to another column, sortable event trigger twice and try to swap field twice.
852
  // So the following conditions are needed to check and run swap_column_field_elements commit only once
846
  payload.field_id = self.field.id;
847
  payload.fromIndex = parseInt(item.attributes['column-field-index'].value);
848
  payload.fromColumn = item.attributes['in-column'].value;
849
+ payload.toColumn = $(item).parent().parent().attr('class').split(' ')[0];
850
 
851
  // when drag field one column to another column, sortable event trigger twice and try to swap field twice.
852
  // So the following conditions are needed to check and run swap_column_field_elements commit only once
assets/js/wpuf-form-builder-mixins.js CHANGED
@@ -291,7 +291,11 @@ wpuf_mixins.option_field_mixin = {
291
  var required_dep_value = this.option_field.dependencies[ deps[i] ],
292
  editing_field_value = this.editing_form_field[ deps[i] ];
293
 
294
- if (required_dep_value !== editing_field_value) {
 
 
 
 
295
  return false;
296
  }
297
  }
291
  var required_dep_value = this.option_field.dependencies[ deps[i] ],
292
  editing_field_value = this.editing_form_field[ deps[i] ];
293
 
294
+ if ( required_dep_value instanceof Array && required_dep_value.includes( editing_field_value ) ) {
295
+ return true;
296
+ }
297
+
298
+ if ( required_dep_value !== editing_field_value ) {
299
  return false;
300
  }
301
  }
assets/js/wpuf-form-builder.js CHANGED
@@ -113,6 +113,14 @@
113
  for (i = 0; i < state.form_fields.length; i++) {
114
  // check if the editing field exist in normal fields
115
  if (state.form_fields[i].id === parseInt(payload.editing_field_id)) {
 
 
 
 
 
 
 
 
116
  if (payload.field_name === 'name' && ! state.form_fields[i].hasOwnProperty('is_new') ) {
117
  continue;
118
  } else {
@@ -432,6 +440,18 @@
432
 
433
  settings: function() {
434
  return this.$store.state.settings;
 
 
 
 
 
 
 
 
 
 
 
 
435
  }
436
  },
437
 
@@ -540,6 +560,12 @@
540
  var form_id = $('#wpuf-form-builder [name="wpuf_form_id"]').val();
541
 
542
  if ( typeof tinyMCE !== 'undefined' && window.location.search.substring(1).split('&').includes('page=wpuf-profile-forms') ) {
 
 
 
 
 
 
543
  $('textarea[name="wpuf_settings[notification][verification_body]"]').val(tinyMCE.get('wpuf_verification_body_' + form_id).getContent());
544
  $('textarea[name="wpuf_settings[notification][welcome_email_body]"]').val(tinyMCE.get('wpuf_welcome_email_body_' + form_id).getContent());
545
  }
113
  for (i = 0; i < state.form_fields.length; i++) {
114
  // check if the editing field exist in normal fields
115
  if (state.form_fields[i].id === parseInt(payload.editing_field_id)) {
116
+ if ( 'read_only' === payload.field_name && payload.value ) {
117
+ state.form_fields[i]['required'] = 'no';
118
+ }
119
+
120
+ if ( 'required' === payload.field_name && 'yes' === payload.value ) {
121
+ state.form_fields[i]['read_only'] = false;
122
+ }
123
+
124
  if (payload.field_name === 'name' && ! state.form_fields[i].hasOwnProperty('is_new') ) {
125
  continue;
126
  } else {
440
 
441
  settings: function() {
442
  return this.$store.state.settings;
443
+ },
444
+
445
+ meta_field_key: function () {
446
+ let meta_key = [];
447
+
448
+ this.$store.state.form_fields.forEach(function (field) {
449
+ if ( 'yes' === field.is_meta ) {
450
+ meta_key.push(field.name);
451
+ }
452
+ });
453
+
454
+ return meta_key.map(function(name) { return '{' + name +'}' }).join( );
455
  }
456
  },
457
 
560
  var form_id = $('#wpuf-form-builder [name="wpuf_form_id"]').val();
561
 
562
  if ( typeof tinyMCE !== 'undefined' && window.location.search.substring(1).split('&').includes('page=wpuf-profile-forms') ) {
563
+ var parentWrap = $('#wp-wpuf_verification_body_' + form_id + '-wrap');
564
+ if ( ! parentWrap.hasClass('tmce-active') ) {
565
+ $('#wpuf_verification_body_' + form_id + '-tmce').click(); // bring user to the visual editor
566
+ $('#wpuf_welcome_email_body_' + form_id + '-tmce').click();
567
+ }
568
+
569
  $('textarea[name="wpuf_settings[notification][verification_body]"]').val(tinyMCE.get('wpuf_verification_body_' + form_id).getContent());
570
  $('textarea[name="wpuf_settings[notification][welcome_email_body]"]').val(tinyMCE.get('wpuf_welcome_email_body_' + form_id).getContent());
571
  }
assets/js/wpuf-login-widget.js CHANGED
@@ -58,6 +58,7 @@ jQuery( function($) {
58
  })
59
  .done( function( response, textStatus, jqXHR ) {
60
  $('.wpuf-ajax-reset-password-form .wpuf-ajax-message p').html(response.data.message);
 
61
  } )
62
  .fail( function( jqXHR, textStatus, errorThrown ) {
63
  console.log( 'AJAX failed', errorThrown );
@@ -82,4 +83,4 @@ jQuery( function($) {
82
  });
83
  });
84
 
85
- });
58
  })
59
  .done( function( response, textStatus, jqXHR ) {
60
  $('.wpuf-ajax-reset-password-form .wpuf-ajax-message p').html(response.data.message);
61
+ $('.wpuf-ajax-reset-password-form .wpuf-ajax-message').addClass('wpuf-message');
62
  } )
63
  .fail( function( jqXHR, textStatus, errorThrown ) {
64
  console.log( 'AJAX failed', errorThrown );
83
  });
84
  });
85
 
86
+ });
assets/less/frontend-forms.less CHANGED
@@ -2096,6 +2096,7 @@ ul.wpuf-form{
2096
  #wpuf-delete-msg span{
2097
  margin-top: 10px;cursor: pointer
2098
  }
2099
- .wpuf-el.terms_and_conditions label > input[type=checkbox]{
2100
- width: 0 !important;
 
2101
  }
2096
  #wpuf-delete-msg span{
2097
  margin-top: 10px;cursor: pointer
2098
  }
2099
+ /* field specific style to override our default padding*/
2100
+ .iti--allow-dropdown input[type="text"] {
2101
+ padding-left: 52px !important;
2102
  }
changelog.txt CHANGED
@@ -1,3 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  = v3.5.25 (18 Nov, 2021) =
2
 
3
  * Enhancement - Promotion notice enhanced through api
1
+ = v3.5.27 (15 Mar, 2022) =
2
+
3
+ * Enhancement - Email template enhanced for after activation
4
+ * Enhancement - Read only option for custom field
5
+ * Enhancement - Editor toolbar exclude option enhanced
6
+ * Enhancement - Preview option enhanced for user profile
7
+ * Enhancement - Meta key enhanced for user email notification
8
+ * Enhancement - Global option for disable post edit on account
9
+ * Enhancement - Filter for conditional logic for fields added
10
+ * Fix - PHP 8 compatibility handled
11
+ * Fix - Address / Billing address inconsistency handled
12
+ * Fix - Content restriction several issue fixed
13
+ * Fix - Tax calculation properly handled for all areas
14
+ * Fix - Validation added for invalid email and URL formats
15
+ * Fix - Special character password handled for login
16
+ * Fix - Reset password handled for sidebar widget
17
+ * Fix - Required google map issues handled
18
+ * Fix - Translation related issue handled for admin menu
19
+ * Fix - Label & query enhanced for transaction table
20
+ * Fix - Template override for child theme fixed
21
+ * Fix - Custom field modal handled for registration form
22
+ * Fix - Redundant CSS issues handled
23
+ * Fix - Address field inconsistency fixed
24
+ * Fix - Plugin page spin loading issue handled
25
+ * Fix - Warning on exit for draft post fixed
26
+ * Fix - Unlimited expire on admin user profile handled
27
+ * Fix - No value checkbox issue handled
28
+ * Fix - Tag search security Vulnerability handled
29
+ * Fix - Multi dropdown field error handled
30
+
31
+
32
  = v3.5.25 (18 Nov, 2021) =
33
 
34
  * Enhancement - Promotion notice enhanced through api
class/admin-asset-loader.php CHANGED
@@ -55,6 +55,8 @@ class WPUF_Admin_Assets {
55
  'recaptcha_secret' => wpuf_get_option( 'recaptcha_private', 'wpuf_general' ),
56
  ] );
57
 
 
 
58
  wp_localize_script( 'wpuf-form-builder-mixins', 'wpuf_form_builder', $wpuf_form_builder );
59
 
60
  // mixins
55
  'recaptcha_secret' => wpuf_get_option( 'recaptcha_private', 'wpuf_general' ),
56
  ] );
57
 
58
+ $wpuf_form_builder = wpuf_unset_conditional( $wpuf_form_builder );
59
+
60
  wp_localize_script( 'wpuf-form-builder-mixins', 'wpuf_form_builder', $wpuf_form_builder );
61
 
62
  // mixins
class/frontend-account.php CHANGED
@@ -23,6 +23,7 @@ class WPUF_Frontend_Account {
23
  add_filter( 'wpuf_options_wpuf_my_account', [ $this, 'add_settings_options' ] );
24
  add_filter( 'wpuf_account_sections', [ $this, 'add_account_sections' ] );
25
  add_action( 'wpuf_account_content_submit-post', [ $this, 'submit_post_section' ], 10, 2 );
 
26
  }
27
 
28
  /**
@@ -269,6 +270,8 @@ class WPUF_Frontend_Account {
269
  $recurring_des .= ! empty( $pack->meta_value['billing_limit'] ) ? sprintf( __( ', for %s installments', 'wp-user-frontend' ), $pack->meta_value['billing_limit'] ) : '';
270
  }
271
 
 
 
272
  wpuf_load_template(
273
  'dashboard/subscription.php',
274
  [
@@ -281,6 +284,8 @@ class WPUF_Frontend_Account {
281
  'recurring_des' => $recurring_des,
282
  ]
283
  );
 
 
284
  }
285
 
286
  /**
@@ -411,4 +416,44 @@ class WPUF_Frontend_Account {
411
  public function get_allowed_cpt() {
412
  return wpuf_get_option( 'cp_on_acc_page', 'wpuf_my_account', [ 'post' ] );
413
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
414
  }
23
  add_filter( 'wpuf_options_wpuf_my_account', [ $this, 'add_settings_options' ] );
24
  add_filter( 'wpuf_account_sections', [ $this, 'add_account_sections' ] );
25
  add_action( 'wpuf_account_content_submit-post', [ $this, 'submit_post_section' ], 10, 2 );
26
+ add_action( 'pre_get_posts', [ $this, 'process_user_for_previewing_post' ] );
27
  }
28
 
29
  /**
270
  $recurring_des .= ! empty( $pack->meta_value['billing_limit'] ) ? sprintf( __( ', for %s installments', 'wp-user-frontend' ), $pack->meta_value['billing_limit'] ) : '';
271
  }
272
 
273
+ ob_start();
274
+
275
  wpuf_load_template(
276
  'dashboard/subscription.php',
277
  [
284
  'recurring_des' => $recurring_des,
285
  ]
286
  );
287
+
288
+ ob_end_flush();
289
  }
290
 
291
  /**
416
  public function get_allowed_cpt() {
417
  return wpuf_get_option( 'cp_on_acc_page', 'wpuf_my_account', [ 'post' ] );
418
  }
419
+
420
+ /**
421
+ * Check if the user is the post author and give permission for previewing
422
+ *
423
+ * @since 3.5.27
424
+ *
425
+ * @return void
426
+ */
427
+ public function process_user_for_previewing_post( $query ) {
428
+ if ( current_user_can( 'edit_posts' ) ) {
429
+ return;
430
+ }
431
+
432
+ if ( ! $query->is_main_query() && ! $query->is_preview && ! $query->get( 'p' ) ) {
433
+ return;
434
+ }
435
+
436
+ $current_user_id = get_current_user_id();
437
+ $current_post_id = absint( $query->get( 'p' ) );
438
+
439
+ if ( $current_user_id === absint( get_post_field( 'post_author', $current_post_id ) ) ) {
440
+ add_filter( 'user_has_cap', [ $this, 'add_temporary_capability' ], 10, 3 );
441
+ }
442
+ }
443
+
444
+ /**
445
+ * Add a temporary edit_posts capability to the current user
446
+ * for previewing post
447
+ *
448
+ * @since 3.5.27
449
+ *
450
+ * @param $all_caps
451
+ *
452
+ * @return array
453
+ */
454
+ public function add_temporary_capability( $all_caps ) {
455
+ $all_caps['edit_posts'] = true;
456
+
457
+ return $all_caps;
458
+ }
459
  }
class/payment.php CHANGED
@@ -284,7 +284,7 @@ class WPUF_Payment {
284
  </label>
285
 
286
  <div class="wpuf-payment-instruction" style="display: none;">
287
- <div class="wpuf-instruction"><?php echo esc_html( wpuf_get_option( 'gate_instruct_' . esc_html( $gateway_id ), 'wpuf_payment' ) ); ?></div>
288
 
289
  <?php do_action( 'wpuf_gateway_form_' . $gateway_id, $type, $post_id, $pack_id ); ?>
290
  </div>
284
  </label>
285
 
286
  <div class="wpuf-payment-instruction" style="display: none;">
287
+ <div class="wpuf-instruction"><?php echo wp_kses_post( wpuf_get_option( 'gate_instruct_' . esc_html( $gateway_id ), 'wpuf_payment' ) ); ?></div>
288
 
289
  <?php do_action( 'wpuf_gateway_form_' . $gateway_id, $type, $post_id, $pack_id ); ?>
290
  </div>
class/render-form.php CHANGED
@@ -493,7 +493,10 @@ class WPUF_Render_Form {
493
  * @param int|null $post_id
494
  * @param string $type type of the form. post or user
495
  */
496
- public function render_items( $form_vars, $post_id, $type = 'post', $form_id, $form_settings, $cond_inputs = [] ) {
 
 
 
497
  $edit_ignore = [ 'really_simple_captcha' ];
498
  $hidden_fields = []; ?>
499
  <script type="text/javascript">
@@ -1119,7 +1122,10 @@ class WPUF_Render_Form {
1119
  * @param bool $multiselect
1120
  * @param int|null $post_id
1121
  */
1122
- public function select( $attr, $multiselect = false, $post_id, $type, $form_id = null ) {
 
 
 
1123
  if ( $post_id ) {
1124
  $selected = $this->get_meta( $post_id, $attr['name'], $type );
1125
 
@@ -1271,7 +1277,10 @@ class WPUF_Render_Form {
1271
  * @param array $attr
1272
  * @param int|null $post_id
1273
  */
1274
- public function email( $attr, $post_id, $type = 'post', $form_id ) {
 
 
 
1275
  if ( $post_id ) {
1276
  if ( $this->is_meta( $attr ) ) {
1277
  $value = $this->get_meta( $post_id, $attr['name'], $type, true );
493
  * @param int|null $post_id
494
  * @param string $type type of the form. post or user
495
  */
496
+ public function render_items( $form_vars, $post_id, $type, $form_id, $form_settings, $cond_inputs = [] ) {
497
+ if ( ! $type ) {
498
+ $type = 'post';
499
+ }
500
  $edit_ignore = [ 'really_simple_captcha' ];
501
  $hidden_fields = []; ?>
502
  <script type="text/javascript">
1122
  * @param bool $multiselect
1123
  * @param int|null $post_id
1124
  */
1125
+ public function select( $attr, $multiselect, $post_id, $type, $form_id = null ) {
1126
+ if ( ! $multiselect ) {
1127
+ $multiselect = false;
1128
+ }
1129
  if ( $post_id ) {
1130
  $selected = $this->get_meta( $post_id, $attr['name'], $type );
1131
 
1277
  * @param array $attr
1278
  * @param int|null $post_id
1279
  */
1280
+ public function email( $attr, $post_id, $type, $form_id ) {
1281
+ if ( ! $type ) {
1282
+ $type = 'post';
1283
+ }
1284
  if ( $post_id ) {
1285
  if ( $this->is_meta( $attr ) ) {
1286
  $value = $this->get_meta( $post_id, $attr['name'], $type, true );
class/subscription.php CHANGED
@@ -377,7 +377,7 @@ class WPUF_Subscription {
377
  }
378
 
379
  update_post_meta( $subscription_id, '_billing_amount', $post_data['billing_amount'] );
380
- update_post_meta( $subscription_id, '_expiration_number', $post_data['expiration_number'] );
381
  update_post_meta( $subscription_id, '_expiration_period', $post_data['expiration_period'] );
382
  update_post_meta( $subscription_id, '_recurring_pay', isset( $post_data['recurring_pay'] ) ? $post_data['recurring_pay'] : 'no' );
383
  update_post_meta( $subscription_id, '_billing_cycle_number', $post_data['billing_cycle_number'] );
@@ -674,7 +674,7 @@ class WPUF_Subscription {
674
  * @param int $user_id
675
  * @param int $pack_id subscription pack id
676
  */
677
- public function new_subscription( $user_id, $pack_id, $profile_id = null, $recurring, $status = null ) {
678
  // _deprecated_function( __FUNCTION__, '2.6.0', 'wpuf_get_user( $user_id )->subscription()->add_pack( $pack_id, $profile_id = null, $recurring, $status = null );' );
679
 
680
  wpuf_get_user( $user_id )->subscription()->add_pack( $pack_id, $profile_id = null, $recurring, $status = null );
@@ -1311,6 +1311,10 @@ class WPUF_Subscription {
1311
  )
1312
  );
1313
 
 
 
 
 
1314
  $current_time = current_time( 'mysql' );
1315
  $non_recurrent = array_filter(
1316
  $all_subscription, function ( $pack ) use ( $current_time ) {
377
  }
378
 
379
  update_post_meta( $subscription_id, '_billing_amount', $post_data['billing_amount'] );
380
+ update_post_meta( $subscription_id, '_expiration_number', array_key_exists( 'expiration_number', $post_data ) && ! empty( $post_data['expiration_number'] ) ? $post_data['expiration_number'] : '' );
381
  update_post_meta( $subscription_id, '_expiration_period', $post_data['expiration_period'] );
382
  update_post_meta( $subscription_id, '_recurring_pay', isset( $post_data['recurring_pay'] ) ? $post_data['recurring_pay'] : 'no' );
383
  update_post_meta( $subscription_id, '_billing_cycle_number', $post_data['billing_cycle_number'] );
674
  * @param int $user_id
675
  * @param int $pack_id subscription pack id
676
  */
677
+ public function new_subscription( $user_id, $pack_id, $profile_id, $recurring, $status = null ) {
678
  // _deprecated_function( __FUNCTION__, '2.6.0', 'wpuf_get_user( $user_id )->subscription()->add_pack( $pack_id, $profile_id = null, $recurring, $status = null );' );
679
 
680
  wpuf_get_user( $user_id )->subscription()->add_pack( $pack_id, $profile_id = null, $recurring, $status = null );
1311
  )
1312
  );
1313
 
1314
+ if ( empty( $all_subscription ) ) {
1315
+ return;
1316
+ }
1317
+
1318
  $current_time = current_time( 'mysql' );
1319
  $non_recurrent = array_filter(
1320
  $all_subscription, function ( $pack ) use ( $current_time ) {
class/transactions-list-table.php CHANGED
@@ -82,13 +82,33 @@ class WPUF_Transactions_List_Table extends WP_List_Table {
82
  $status_links = [];
83
  $base_link = admin_url( 'admin.php?page=wpuf_transaction' );
84
 
85
- $transactions_count = wpuf_get_transactions( [ 'count' => true ] );
86
  $transactions_pending_count = wpuf_get_pending_transactions( [ 'count' => true ] );
 
87
 
88
  $status = isset( $_REQUEST['status'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['status'] ) ) : 'all';
89
 
90
- $status_links['all'] = sprintf( '<a href="%s" class="%s">%s <span class="count">(%s)</span></a>', add_query_arg( [ 'status' => 'all' ], $base_link ), ( $status === 'all' ) ? 'current' : '', __( 'All', 'wp-user-frontend' ), $transactions_count );
91
- $status_links['pending'] = sprintf( '<a href="%s" class="%s">%s <span class="count">(%s)</span></a>', add_query_arg( [ 'status' => 'pending' ], $base_link ), ( $status === 'pending' ) ? 'current' : '', __( 'Pending', 'wp-user-frontend' ), $transactions_pending_count );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
  return $status_links;
94
  }
@@ -106,10 +126,9 @@ class WPUF_Transactions_List_Table extends WP_List_Table {
106
  $delete_nonce = wp_create_nonce( 'wpuf-delete-transaction' );
107
  $title = '<strong>#' . $id . '</strong>';
108
 
109
- $status = isset( $_REQUEST['status'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['status'] ) ) : '';
110
  $page = isset( $_REQUEST['page'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['page'] ) ) : '';
111
 
112
- if ( $status === 'pending' ) {
113
  $accept_nonce = wp_create_nonce( 'wpuf-accept-transaction' );
114
  $reject_nonce = wp_create_nonce( 'wpuf-reject-transaction' );
115
 
@@ -188,16 +207,20 @@ class WPUF_Transactions_List_Table extends WP_List_Table {
188
  */
189
  public function get_bulk_actions() {
190
  $status = isset( $_REQUEST['status'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['status'] ) ) : '';
 
 
 
 
 
 
 
191
 
192
- if ( $status === 'pending' ) {
193
- $actions = [
194
- 'bulk-accept' => __( 'Accept', 'wp-user-frontend' ),
195
- 'bulk-reject' => __( 'Reject', 'wp-user-frontend' ),
196
- ];
197
  } else {
198
- $actions = [
199
- 'bulk-delete' => __( 'Delete', 'wp-user-frontend' ),
200
- ];
201
  }
202
 
203
  return $actions;
@@ -214,10 +237,12 @@ class WPUF_Transactions_List_Table extends WP_List_Table {
214
 
215
  $status = isset( $_REQUEST['status'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['status'] ) ) : 'all';
216
 
217
- if ( $status === 'pending' ) {
218
  $total_items = wpuf_get_pending_transactions( [ 'count' => true ] );
 
 
219
  } else {
220
- $total_items = wpuf_get_transactions( [ 'count' => true ] );
221
  }
222
 
223
  $this->set_pagination_args(
@@ -243,10 +268,12 @@ class WPUF_Transactions_List_Table extends WP_List_Table {
243
  $args['order'] = sanitize_text_field( wp_unslash( $_REQUEST['order'] ) );
244
  }
245
 
246
- if ( $status === 'pending' ) {
247
  $this->items = wpuf_get_pending_transactions( $args );
 
 
248
  } else {
249
- $this->items = wpuf_get_transactions( $args );
250
  }
251
  }
252
 
82
  $status_links = [];
83
  $base_link = admin_url( 'admin.php?page=wpuf_transaction' );
84
 
85
+ $transactions_completed_count = wpuf_get_completed_transactions( [ 'count' => true ] );
86
  $transactions_pending_count = wpuf_get_pending_transactions( [ 'count' => true ] );
87
+ $transactions_total_count = $transactions_completed_count + $transactions_pending_count;
88
 
89
  $status = isset( $_REQUEST['status'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['status'] ) ) : 'all';
90
 
91
+ $status_links['all'] = sprintf(
92
+ '<a href="%s" class="%s">%s <span class="count">(%s)</span></a>',
93
+ add_query_arg( [ 'status' => 'all' ], $base_link ),
94
+ ( 'all' === $status ) ? 'current' : '',
95
+ __( 'All', 'wp-user-frontend' ),
96
+ $transactions_total_count
97
+ );
98
+ $status_links['completed'] = sprintf(
99
+ '<a href="%s" class="%s">%s <span class="count">(%s)</span></a>',
100
+ add_query_arg( [ 'status' => 'completed' ], $base_link ),
101
+ ( 'completed' === $status ) ? 'current' : '',
102
+ __( 'Completed', 'wp-user-frontend' ),
103
+ $transactions_completed_count
104
+ );
105
+ $status_links['pending'] = sprintf(
106
+ '<a href="%s" class="%s">%s <span class="count">(%s)</span></a>',
107
+ add_query_arg( [ 'status' => 'pending' ], $base_link ),
108
+ ( 'pending' === $status ) ? 'current' : '',
109
+ __( 'Pending', 'wp-user-frontend' ),
110
+ $transactions_pending_count
111
+ );
112
 
113
  return $status_links;
114
  }
126
  $delete_nonce = wp_create_nonce( 'wpuf-delete-transaction' );
127
  $title = '<strong>#' . $id . '</strong>';
128
 
 
129
  $page = isset( $_REQUEST['page'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['page'] ) ) : '';
130
 
131
+ if ( 'pending' === $item->status ) {
132
  $accept_nonce = wp_create_nonce( 'wpuf-accept-transaction' );
133
  $reject_nonce = wp_create_nonce( 'wpuf-reject-transaction' );
134
 
207
  */
208
  public function get_bulk_actions() {
209
  $status = isset( $_REQUEST['status'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['status'] ) ) : '';
210
+ $completed_action = [
211
+ 'bulk-delete' => __( 'Delete', 'wp-user-frontend' ),
212
+ ];
213
+ $pending_action = [
214
+ 'bulk-accept' => __( 'Accept', 'wp-user-frontend' ),
215
+ 'bulk-reject' => __( 'Reject', 'wp-user-frontend' ),
216
+ ];
217
 
218
+ if ( 'pending' === $status ) {
219
+ $actions = $pending_action;
220
+ } elseif ( 'completed' === $status ) {
221
+ $actions = $completed_action;
 
222
  } else {
223
+ $actions = array_merge( $completed_action, $pending_action );
 
 
224
  }
225
 
226
  return $actions;
237
 
238
  $status = isset( $_REQUEST['status'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['status'] ) ) : 'all';
239
 
240
+ if ( 'pending' === $status ) {
241
  $total_items = wpuf_get_pending_transactions( [ 'count' => true ] );
242
+ } elseif ( 'completed' === $status ) {
243
+ $total_items = wpuf_get_completed_transactions( [ 'count' => true ] );
244
  } else {
245
+ $total_items = wpuf_get_all_transactions( [ 'count' => true ] );
246
  }
247
 
248
  $this->set_pagination_args(
268
  $args['order'] = sanitize_text_field( wp_unslash( $_REQUEST['order'] ) );
269
  }
270
 
271
+ if ( 'pending' === $status ) {
272
  $this->items = wpuf_get_pending_transactions( $args );
273
+ } elseif ( 'completed' === $status ) {
274
+ $this->items = wpuf_get_completed_transactions( $args );
275
  } else {
276
+ $this->items = wpuf_get_all_transactions( $args );
277
  }
278
  }
279
 
includes/class-billing-address.php CHANGED
@@ -169,6 +169,7 @@ class WPUF_Ajax_Address_Form {
169
  $states = [];
170
  $selected = [];
171
  $base_addr = get_option( 'wpuf_base_country_state', false );
 
172
 
173
  $selected['country'] = ! ( empty( $address_fields['country'] ) ) ? $address_fields['country'] : $base_addr['country'];
174
 
169
  $states = [];
170
  $selected = [];
171
  $base_addr = get_option( 'wpuf_base_country_state', false );
172
+ $address_fields = wpuf_map_address_fields( $address_fields );
173
 
174
  $selected['country'] = ! ( empty( $address_fields['country'] ) ) ? $address_fields['country'] : $base_addr['country'];
175
 
includes/class-frontend-form-post.php CHANGED
@@ -120,11 +120,16 @@ class WPUF_Frontend_Form extends WPUF_Frontend_Render_Form {
120
  $this->form_settings = $form->get_settings();
121
 
122
  $disable_pending_edit = wpuf_get_option( 'disable_pending_edit', 'wpuf_dashboard', 'on' );
 
123
 
124
- if ( $curpost->post_status === 'pending' && $disable_pending_edit === 'on' ) {
125
  return '<div class="wpuf-info">' . __( 'You can\'t edit a post while in pending mode.', 'wp-user-frontend' );
126
  }
127
 
 
 
 
 
128
  $msg = isset( $_GET['msg'] ) ? sanitize_text_field( wp_unslash( $_GET['msg'] ) ) : '';
129
 
130
  if ( $msg === 'post_updated' ) {
@@ -309,6 +314,42 @@ class WPUF_Frontend_Form extends WPUF_Frontend_Render_Form {
309
  $guest_verify = isset( $this->form_settings['guest_email_verify'] ) ? $this->form_settings['guest_email_verify'] : 'false';
310
  $attachments_to_delete = isset( $_POST['delete_attachments'] ) ? array_map( 'sanitize_text_field', wp_unslash( $_POST['delete_attachments'] ) ) : [];
311
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
312
  foreach ( $attachments_to_delete as $attach_id ) {
313
  wp_delete_attachment( $attach_id, true );
314
  }
@@ -643,6 +684,7 @@ class WPUF_Frontend_Form extends WPUF_Frontend_Render_Form {
643
  $form = new WPUF_Form( $id );
644
  $this->form_fields = $form->get_fields();
645
  $this->form_settings = $form->get_settings();
 
646
  list( $user_can_post, $info ) = $form->is_submission_open( $form, $this->form_settings );
647
  $info = apply_filters( 'wpuf_addpost_notice', $info, $id, $this->form_settings );
648
  $user_can_post = apply_filters( 'wpuf_can_post', $user_can_post, $id, $this->form_settings );
@@ -1081,8 +1123,9 @@ class WPUF_Frontend_Form extends WPUF_Frontend_Render_Form {
1081
  $subject = $this->prepare_mail_body( $this->form_settings['notification']['edit_subject'], $post_author, $post_id );
1082
  $subject = wp_strip_all_tags( $subject );
1083
  $mail_body = get_formatted_mail_body( $mail_body, $subject );
 
1084
 
1085
- wp_mail( $to, $subject, $mail_body );
1086
  }
1087
 
1088
  //now redirect the user
@@ -1095,8 +1138,9 @@ class WPUF_Frontend_Form extends WPUF_Frontend_Render_Form {
1095
  $subject = $this->prepare_mail_body( $this->form_settings['notification']['new_subject'], $post_author, $post_id );
1096
  $subject = wp_strip_all_tags( $subject );
1097
  $mail_body = get_formatted_mail_body( $mail_body, $subject );
 
1098
 
1099
- wp_mail( $to, $subject, $mail_body );
1100
  }
1101
 
1102
  //redirect the user
@@ -1201,4 +1245,18 @@ class WPUF_Frontend_Form extends WPUF_Frontend_Render_Form {
1201
 
1202
  return wp_nonce_url( $edit_page_url, 'wpuf_edit' );
1203
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1204
  }
120
  $this->form_settings = $form->get_settings();
121
 
122
  $disable_pending_edit = wpuf_get_option( 'disable_pending_edit', 'wpuf_dashboard', 'on' );
123
+ $disable_publish_edit = wpuf_get_option( 'disable_publish_edit', 'wpuf_dashboard', 'off' );
124
 
125
+ if ( 'pending' === $curpost->post_status && 'on' === $disable_pending_edit ) {
126
  return '<div class="wpuf-info">' . __( 'You can\'t edit a post while in pending mode.', 'wp-user-frontend' );
127
  }
128
 
129
+ if ( 'publish' === $curpost->post_status && 'off' !== $disable_publish_edit ) {
130
+ return '<div class="wpuf-info">' . __( 'You\'re not allowed to edit this post.', 'wp-user-frontend' );
131
+ }
132
+
133
  $msg = isset( $_GET['msg'] ) ? sanitize_text_field( wp_unslash( $_GET['msg'] ) ) : '';
134
 
135
  if ( $msg === 'post_updated' ) {
314
  $guest_verify = isset( $this->form_settings['guest_email_verify'] ) ? $this->form_settings['guest_email_verify'] : 'false';
315
  $attachments_to_delete = isset( $_POST['delete_attachments'] ) ? array_map( 'sanitize_text_field', wp_unslash( $_POST['delete_attachments'] ) ) : [];
316
 
317
+ // check each form field for content restriction
318
+ foreach ( $this->form_fields as $single_field ) {
319
+ if ( empty( $single_field['content_restriction'] ) ) {
320
+ continue;
321
+ }
322
+
323
+ $restricted_num = $single_field['content_restriction'];
324
+ $restriction_to = ! empty( $single_field['restriction_to'] ) ? $single_field['restriction_to'] : 'min';
325
+ $restriction_type = ! empty( $single_field['restriction_type'] ) ? $single_field['restriction_type'] : 'word';
326
+
327
+ $current_data = ! empty( $_POST[ $single_field['name'] ] ) ? sanitize_text_field( wp_unslash( $_POST[ $single_field['name'] ] ) ) : '';
328
+ $label = ! empty( $single_field['label'] ) ? $single_field['label'] : '';
329
+
330
+ // if restriction by character count
331
+ if ( 'character' === $restriction_type && 'min' === $restriction_to ) {
332
+ if ( strlen( $current_data ) > 0 && strlen( $current_data ) < $restricted_num ) {
333
+ $this->send_error( sprintf( __( 'Minimum %d character is required for %s', 'wp-user-frontend' ), $restricted_num, $label ) );
334
+ }
335
+ } elseif ( 'character' === $restriction_type && 'max' === $restriction_to ) {
336
+ if ( strlen( $current_data ) > 0 && strlen( $current_data ) > $restricted_num ) {
337
+ $this->send_error( sprintf( __( 'Maximum %d character is allowed for %s', 'wp-user-frontend' ), $restricted_num, $label ) );
338
+ }
339
+ }
340
+
341
+ // if restriction by word count
342
+ if ( 'word' === $restriction_type && 'min' === $restriction_to ) {
343
+ if ( str_word_count( $current_data ) > 0 && str_word_count( $current_data ) < $restricted_num ) {
344
+ $this->send_error( sprintf( __( 'Minimum %d word is required for %s', 'wp-user-frontend' ), $restricted_num, $label ) );
345
+ }
346
+ } elseif ( 'word' === $restriction_type && 'max' === $restriction_to ) {
347
+ if ( str_word_count( $current_data ) > 0 && str_word_count( $current_data ) > $restricted_num ) {
348
+ $this->send_error( sprintf( __( 'Maximum %d word is allowed for %s', 'wp-user-frontend' ), $restricted_num, $label ) );
349
+ }
350
+ }
351
+ }
352
+
353
  foreach ( $attachments_to_delete as $attach_id ) {
354
  wp_delete_attachment( $attach_id, true );
355
  }
684
  $form = new WPUF_Form( $id );
685
  $this->form_fields = $form->get_fields();
686
  $this->form_settings = $form->get_settings();
687
+ $this->generate_auth_link(); // Translate tag %login% %registration% to login registartion url
688
  list( $user_can_post, $info ) = $form->is_submission_open( $form, $this->form_settings );
689
  $info = apply_filters( 'wpuf_addpost_notice', $info, $id, $this->form_settings );
690
  $user_can_post = apply_filters( 'wpuf_can_post', $user_can_post, $id, $this->form_settings );
1123
  $subject = $this->prepare_mail_body( $this->form_settings['notification']['edit_subject'], $post_author, $post_id );
1124
  $subject = wp_strip_all_tags( $subject );
1125
  $mail_body = get_formatted_mail_body( $mail_body, $subject );
1126
+ $headers = [ 'Content-Type: text/html; charset=UTF-8' ];
1127
 
1128
+ wp_mail( $to, $subject, $mail_body, $headers );
1129
  }
1130
 
1131
  //now redirect the user
1138
  $subject = $this->prepare_mail_body( $this->form_settings['notification']['new_subject'], $post_author, $post_id );
1139
  $subject = wp_strip_all_tags( $subject );
1140
  $mail_body = get_formatted_mail_body( $mail_body, $subject );
1141
+ $headers = [ 'Content-Type: text/html; charset=UTF-8' ];
1142
 
1143
+ wp_mail( $to, $subject, $mail_body, $headers );
1144
  }
1145
 
1146
  //redirect the user
1245
 
1246
  return wp_nonce_url( $edit_page_url, 'wpuf_edit' );
1247
  }
1248
+
1249
+ /**
1250
+ * Generate login registartion link for unauth message
1251
+ */
1252
+ private function generate_auth_link() {
1253
+ if ( ! is_user_logged_in() && $this->form_settings['guest_post'] !== 'true' ) {
1254
+ $login = wpuf()->login->get_login_url();
1255
+ $register = wpuf()->login->get_registration_url();
1256
+ $replace = [ "<a href='" . $login . "'>Login</a>", "<a href='" . $register . "'>Register</a>" ];
1257
+ $placeholders = [ '%login%', '%register%' ];
1258
+
1259
+ $this->form_settings['message_restrict'] = str_replace( $placeholders, $replace, $this->form_settings['message_restrict'] );
1260
+ }
1261
+ }
1262
  }
includes/class-frontend-render-form.php CHANGED
@@ -306,14 +306,7 @@ class WPUF_Frontend_Render_Form {
306
  }
307
 
308
  if ( ! is_user_logged_in() && $this->form_settings['guest_post'] !== 'true' ) {
309
- $login = wpuf()->login->get_login_url();
310
- $register = wpuf()->login->get_registration_url();
311
- $replace = [ "<a href='" . $login . "'>Login</a>", "<a href='" . $register . "'>Register</a>" ];
312
- $placeholders = [ '%login%', '%register%' ];
313
-
314
- $restrict_message = str_replace( $placeholders, $replace, $this->form_settings['message_restrict'] );
315
-
316
- echo wp_kses_post( '<div class="wpuf-message">' . $restrict_message . '</div>' );
317
 
318
  return;
319
  }
@@ -815,7 +808,7 @@ class WPUF_Frontend_Render_Form {
815
  break;
816
 
817
  case 'checkbox':
818
- if ( count( $value_name ) > 1 ) {
819
  $meta_key_value[ $value['name'] ] = implode( self::$separator, $value_name );
820
  } else {
821
  $meta_key_value[ $value['name'] ] = $value_name[0];
306
  }
307
 
308
  if ( ! is_user_logged_in() && $this->form_settings['guest_post'] !== 'true' ) {
309
+ echo wp_kses_post( '<div class="wpuf-message">' . $this->form_settings['message_restrict'] . '</div>' );
 
 
 
 
 
 
 
310
 
311
  return;
312
  }
808
  break;
809
 
810
  case 'checkbox':
811
+ if ( is_array( $value_name ) && ! empty( $value_name ) ) {
812
  $meta_key_value[ $value['name'] ] = implode( self::$separator, $value_name );
813
  } else {
814
  $meta_key_value[ $value['name'] ] = $value_name[0];
includes/class-gutenblock.php CHANGED
@@ -32,18 +32,21 @@ class WPUF_Form_Block {
32
  wp_register_script(
33
  'wpuf-forms-block',
34
  $js_dir . 'gutenblock.js',
35
- [ 'wp-blocks', 'wp-editor', 'wp-components', 'wp-i18n', 'wp-element', 'underscore' ]
 
36
  );
37
 
38
  wp_register_style(
39
  'wpuf-forms-block-style',
40
  $css_dir . 'gutenblock.css',
41
- [ 'wp-edit-blocks' ]
 
42
  );
43
  wp_register_style(
44
  'wpuf-forms-block-editor',
45
  $css_dir . 'gutenblock-editor.css',
46
- [ 'wp-edit-blocks', 'wpuf-forms-block-style' ]
 
47
  );
48
 
49
  /*
32
  wp_register_script(
33
  'wpuf-forms-block',
34
  $js_dir . 'gutenblock.js',
35
+ [ 'wp-blocks', 'wp-editor', 'wp-components', 'wp-i18n', 'wp-element', 'underscore' ],
36
+ WPUF_VERSION
37
  );
38
 
39
  wp_register_style(
40
  'wpuf-forms-block-style',
41
  $css_dir . 'gutenblock.css',
42
+ [ 'wp-edit-blocks' ],
43
+ WPUF_VERSION
44
  );
45
  wp_register_style(
46
  'wpuf-forms-block-editor',
47
  $css_dir . 'gutenblock-editor.css',
48
+ [ 'wp-edit-blocks', 'wpuf-forms-block-style' ],
49
+ WPUF_VERSION
50
  );
51
 
52
  /*
includes/class-user-subscription.php CHANGED
@@ -165,7 +165,10 @@ class WPUF_User_Subscription {
165
  *
166
  * @param int $pack_id
167
  */
168
- public function add_pack( $pack_id, $profile_id = null, $recurring, $status = null ) {
 
 
 
169
  global $wpdb;
170
  $result = '';
171
  $subscription = WPUF_Subscription::init()->get_subscription( $pack_id );
165
  *
166
  * @param int $pack_id
167
  */
168
+ public function add_pack( $pack_id, $profile_id, $recurring, $status = null ) {
169
+ if ( ! $profile_id ) {
170
+ $profile_id = null;
171
+ }
172
  global $wpdb;
173
  $result = '';
174
  $subscription = WPUF_Subscription::init()->get_subscription( $pack_id );
includes/fields/class-abstract-fields.php CHANGED
@@ -367,6 +367,18 @@ abstract class WPUF_Field_Contract {
367
  'help_text' => __( 'Name of the meta key this field will save to', 'wp-user-frontend' ),
368
  ];
369
 
 
 
 
 
 
 
 
 
 
 
 
 
370
  if ( is_wpuf_post_form_builder() ) {
371
  $common_properties = array_merge(
372
  $common_properties, [
@@ -421,7 +433,7 @@ abstract class WPUF_Field_Contract {
421
  *
422
  * @return array
423
  */
424
- public function get_default_taxonomy_option_setttings( $content_restriction = false, $tax_name ) {
425
  $properties = [
426
  [
427
  'name' => 'type',
@@ -677,6 +689,18 @@ abstract class WPUF_Field_Contract {
677
  'priority' => 14,
678
  'default' => 'no',
679
  ],
 
 
 
 
 
 
 
 
 
 
 
 
680
  ];
681
  }
682
 
@@ -723,8 +747,9 @@ abstract class WPUF_Field_Contract {
723
  $el_name = ! empty( $field['name'] ) ? $field['name'] : '';
724
  $class_name = ! empty( $field['css'] ) ? ' ' . $field['css'] : '';
725
  $field_size = ! empty( $field['width'] ) ? ' field-size-' . $field['width'] : '';
 
726
 
727
- printf( 'class="wpuf-el %s%s%s" data-label="%s"', esc_attr( $el_name ), esc_attr( $class_name ), esc_attr( $field_size ), esc_attr( $label ) );
728
  }
729
 
730
  /**
367
  'help_text' => __( 'Name of the meta key this field will save to', 'wp-user-frontend' ),
368
  ];
369
 
370
+ $common_properties[] = [
371
+ 'name' => 'read_only',
372
+ 'title' => __( 'Read Only', 'wp-user-frontend' ),
373
+ 'type' => 'checkbox',
374
+ 'options' => [
375
+ 'yes' => __( 'Make this field read only ', 'wp-user-frontend' ),
376
+ ],
377
+ 'section' => 'basic',
378
+ 'priority' => 21,
379
+ 'help_text' => __( 'Read only', 'wp-user-frontend' ),
380
+ ];
381
+
382
  if ( is_wpuf_post_form_builder() ) {
383
  $common_properties = array_merge(
384
  $common_properties, [
433
  *
434
  * @return array
435
  */
436
+ public function get_default_taxonomy_option_setttings( $tax_name, $content_restriction = false ) {
437
  $properties = [
438
  [
439
  'name' => 'type',
689
  'priority' => 14,
690
  'default' => 'no',
691
  ],
692
+ [
693
+ 'name' => 'text_editor_control',
694
+ 'title' => __( 'Select buttons to exclude', 'wp-user-frontend' ),
695
+ 'type' => 'multiselect',
696
+ 'section' => 'advanced',
697
+ 'priority' => 14.5,
698
+ 'dependencies' => [
699
+ 'rich' => [ 'yes', 'teeny' ],
700
+ ],
701
+ 'help_text' => __( 'Select button for exclude from frontend. Search button name. use ⇦ ⇨ for navigate', 'wp-user-frontend' ),
702
+ 'options' => wpuf_get_editor_buttons(),
703
+ ],
704
  ];
705
  }
706
 
747
  $el_name = ! empty( $field['name'] ) ? $field['name'] : '';
748
  $class_name = ! empty( $field['css'] ) ? ' ' . $field['css'] : '';
749
  $field_size = ! empty( $field['width'] ) ? ' field-size-' . $field['width'] : '';
750
+ $read_only = ! empty( $field['read_only'] ) ? ' read-only ' : '';
751
 
752
+ printf( 'class="wpuf-el %s%s%s%s" data-label="%s"', esc_attr( $el_name ), esc_attr( $class_name ), esc_attr( $field_size ), esc_attr( $read_only ), esc_attr( $label ) );
753
  }
754
 
755
  /**
includes/fields/class-field-multidropdown.php CHANGED
@@ -133,7 +133,7 @@ class WPUF_Form_Field_MultiDropdown extends WPUF_Form_Field_Dropdown {
133
  }
134
 
135
  $data = is_array( $data ) ? array_pop( $data ) : $data;
136
- $data = explode( '|' , $data );
137
  $selected = [];
138
 
139
  foreach ( $data as $item ) {
133
  }
134
 
135
  $data = is_array( $data ) ? array_pop( $data ) : $data;
136
+ $data = is_string( $data ) ? explode( '|', $data ) : $data;
137
  $selected = [];
138
 
139
  foreach ( $data as $item ) {
includes/fields/class-field-post-content.php CHANGED
@@ -60,7 +60,9 @@ class WPUF_Form_Field_Post_Content extends WPUF_Field_Contract {
60
  <?php
61
  }
62
 
63
- if ( $field_settings['rich'] == 'yes' ) {
 
 
64
  $editor_settings = [
65
  // 'textarea_rows' => $field_settings['rows'],
66
  'quicktags' => false,
@@ -69,9 +71,13 @@ class WPUF_Form_Field_Post_Content extends WPUF_Field_Contract {
69
  'textarea_name' => $field_settings['name'],
70
  ];
71
 
 
 
 
 
72
  $editor_settings = apply_filters( 'wpuf_textarea_editor_args', $editor_settings );
73
  wp_editor( $value, $textarea_id, $editor_settings );
74
- } elseif ( $field_settings['rich'] == 'teeny' ) {
75
  $editor_settings = [
76
  'textarea_rows' => $field_settings['rows'],
77
  'quicktags' => false,
@@ -81,6 +87,10 @@ class WPUF_Form_Field_Post_Content extends WPUF_Field_Contract {
81
  'textarea_name' => $field_settings['name'],
82
  ];
83
 
 
 
 
 
84
  $editor_settings = apply_filters( 'wpuf_textarea_editor_args', $editor_settings );
85
  wp_editor( $value, $textarea_id, $editor_settings );
86
  } else {
60
  <?php
61
  }
62
 
63
+ $tinymce_settings = wpuf_filter_editor_toolbar( $field_settings );
64
+
65
+ if ( $field_settings['rich'] === 'yes' ) {
66
  $editor_settings = [
67
  // 'textarea_rows' => $field_settings['rows'],
68
  'quicktags' => false,
71
  'textarea_name' => $field_settings['name'],
72
  ];
73
 
74
+ if ( ! empty( $tinymce_settings ) ) {
75
+ $editor_settings['tinymce'] = $tinymce_settings;
76
+ }
77
+
78
  $editor_settings = apply_filters( 'wpuf_textarea_editor_args', $editor_settings );
79
  wp_editor( $value, $textarea_id, $editor_settings );
80
+ } elseif ( $field_settings['rich'] === 'teeny' ) {
81
  $editor_settings = [
82
  'textarea_rows' => $field_settings['rows'],
83
  'quicktags' => false,
87
  'textarea_name' => $field_settings['name'],
88
  ];
89
 
90
+ if ( ! empty( $tinymce_settings ) ) {
91
+ $editor_settings['tinymce'] = $tinymce_settings;
92
+ }
93
+
94
  $editor_settings = apply_filters( 'wpuf_textarea_editor_args', $editor_settings );
95
  wp_editor( $value, $textarea_id, $editor_settings );
96
  } else {
includes/fields/class-field-post-taxonomy.php CHANGED
@@ -433,7 +433,7 @@ class WPUF_Form_Field_Post_Taxonomy extends WPUF_Field_Contract {
433
  */
434
  public function get_options_settings() {
435
  $default_options = $this->get_default_option_settings( false, [ 'dynamic' ] );
436
- $default_text_options = $this->get_default_taxonomy_option_setttings( false, $this->tax_name );
437
 
438
  return array_merge( $default_options, $default_text_options );
439
  }
433
  */
434
  public function get_options_settings() {
435
  $default_options = $this->get_default_option_settings( false, [ 'dynamic' ] );
436
+ $default_text_options = $this->get_default_taxonomy_option_setttings( $this->tax_name, false );
437
 
438
  return array_merge( $default_options, $default_text_options );
439
  }
includes/fields/class-field-textarea.php CHANGED
@@ -41,33 +41,30 @@ class WPUF_Form_Field_Textarea extends WPUF_Field_Contract {
41
  <div class="wpuf-fields">
42
  <?php } ?>
43
 
44
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
 
46
- if ( $field_settings['rich'] == 'yes' ) {
47
- $editor_settings = [
48
- 'textarea_rows' => $field_settings['rows'],
49
- 'quicktags' => false,
50
- 'media_buttons' => false,
51
- 'editor_class' => $req_class,
52
- 'textarea_name' => $field_settings['name'],
53
- ];
54
-
55
- $editor_settings = apply_filters( 'wpuf_textarea_editor_args', $editor_settings );
56
- wp_editor( $value, $textarea_id, $editor_settings );
57
- } elseif ( $field_settings['rich'] == 'teeny' ) {
58
- $editor_settings = [
59
- 'textarea_rows' => $field_settings['rows'],
60
- 'quicktags' => false,
61
- 'media_buttons' => false,
62
- 'teeny' => true,
63
- 'editor_class' => $req_class,
64
- 'textarea_name' => $field_settings['name'],
65
- ];
66
-
67
- $editor_settings = apply_filters( 'wpuf_textarea_editor_args', $editor_settings );
68
- wp_editor( $value, $textarea_id, $editor_settings );
69
- } else {
70
- ?>
71
  <textarea
72
  class="textareafield <?php echo esc_attr( ' wpuf_' . $field_settings['name'] . '_' . $form_id ); ?>"
73
  id="<?php echo esc_attr( $field_settings['name'] . '_' . $form_id ); ?>"
@@ -81,15 +78,15 @@ class WPUF_Form_Field_Textarea extends WPUF_Field_Contract {
81
  <span class="wpuf-wordlimit-message wpuf-help"></span>
82
 
83
  <?php
84
- }
85
- ?>
86
 
87
  <?php
88
  $this->help_text( $field_settings );
89
  if ( isset( $field_settings['content_restriction'] ) && $field_settings['content_restriction'] ) {
90
  $this->check_content_restriction_func(
91
  $field_settings['content_restriction'],
92
- $field_settings['rich'] ? 'yes' : 'no',
93
  $field_settings['name'] . '_' . $form_id,
94
  $field_settings['restriction_type'],
95
  $field_settings['restriction_to']
@@ -132,7 +129,8 @@ class WPUF_Form_Field_Textarea extends WPUF_Field_Contract {
132
  'show_in_post' => 'yes',
133
  'hide_field_label' => 'no',
134
  'restriction_type' => 'character',
135
- 'restriction_to' => 'max',
 
136
  ];
137
 
138
  return array_merge( $defaults, $props );
41
  <div class="wpuf-fields">
42
  <?php } ?>
43
 
44
+ <?php
45
+ $tinymce_settings = wpuf_filter_editor_toolbar( $field_settings );
46
+
47
+ if ( ( $field_settings['rich'] === 'teeny' || $field_settings['rich'] === 'yes' ) ) {
48
+ $editor_settings = [
49
+ 'textarea_rows' => $field_settings['rows'],
50
+ 'quicktags' => false,
51
+ 'media_buttons' => false,
52
+ 'editor_class' => $req_class,
53
+ 'textarea_name' => $field_settings['name'],
54
+ ];
55
+
56
+ if ( ! empty( $tinymce_settings ) ) {
57
+ $editor_settings['tinymce'] = $tinymce_settings;
58
+ }
59
+
60
+ if ( $field_settings['rich'] === 'teeny' ) {
61
+ $editor_settings['teeny'] = true;
62
+ }
63
 
64
+ $editor_settings = apply_filters( 'wpuf_textarea_editor_args', $editor_settings );
65
+ wp_editor( $value, $textarea_id, $editor_settings );
66
+ } else {
67
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  <textarea
69
  class="textareafield <?php echo esc_attr( ' wpuf_' . $field_settings['name'] . '_' . $form_id ); ?>"
70
  id="<?php echo esc_attr( $field_settings['name'] . '_' . $form_id ); ?>"
78
  <span class="wpuf-wordlimit-message wpuf-help"></span>
79
 
80
  <?php
81
+ }
82
+ ?>
83
 
84
  <?php
85
  $this->help_text( $field_settings );
86
  if ( isset( $field_settings['content_restriction'] ) && $field_settings['content_restriction'] ) {
87
  $this->check_content_restriction_func(
88
  $field_settings['content_restriction'],
89
+ ! empty( $field_settings['rich'] ) ? $field_settings['rich'] : 'no',
90
  $field_settings['name'] . '_' . $form_id,
91
  $field_settings['restriction_type'],
92
  $field_settings['restriction_to']
129
  'show_in_post' => 'yes',
130
  'hide_field_label' => 'no',
131
  'restriction_type' => 'character',
132
+ 'restriction_to' => 'max',
133
+ 'text_editor_control' => [],
134
  ];
135
 
136
  return array_merge( $defaults, $props );
includes/free/class-login.php CHANGED
@@ -419,8 +419,8 @@ class WPUF_Simple_Login {
419
  return;
420
  }
421
 
422
- $log = isset( $_POST['log'] ) ? sanitize_text_field( wp_unslash( $_POST['log'] ) ) : '';
423
- $pwd = isset( $_POST['pwd'] ) ? sanitize_text_field( wp_unslash( $_POST['pwd'] ) ) : '';
424
  // $g_recaptcha_response = isset( $_POST['g-recaptcha-response'] ) ? sanitize_text_field( wp_unslash( $_POST['g-recaptcha-response'] ) ) : '';
425
 
426
  $validation_error = new WP_Error();
@@ -484,6 +484,14 @@ class WPUF_Simple_Login {
484
  $secure_cookie = is_ssl() ? true : false;
485
  $user = wp_signon( apply_filters( 'wpuf_login_credentials', $creds ), $secure_cookie );
486
 
 
 
 
 
 
 
 
 
487
  if ( is_wp_error( $user ) ) {
488
  $this->login_errors[] = $user->get_error_message();
489
 
@@ -606,6 +614,11 @@ class WPUF_Simple_Login {
606
  return;
607
  }
608
 
 
 
 
 
 
609
  // process lost password form
610
  if ( isset( $_POST['user_login'] ) && isset( $_POST['_wpnonce'] ) ) {
611
  $nonce = sanitize_key( wp_unslash( $_POST['_wpnonce'] ) );
@@ -867,19 +880,7 @@ class WPUF_Simple_Login {
867
 
868
  wp_mail( $user_email, $subject, $message );
869
  } else {
870
- /* translators: %s: blogname */
871
- $subject = sprintf( __( '[%s] Account has been activated', 'wp-user-frontend' ), $blogname );
872
- /* translators: %s: username */
873
- $message = sprintf( __( 'Hi %s,', 'wp-user-frontend' ), $the_user->user_login ) . "\r\n\r\n";
874
- $message .= __( 'Congrats! Your account has been activated. To login visit the following url:', 'wp-user-frontend' ) . "\r\n\r\n";
875
- $message .= wp_login_url() . "\r\n\r\n";
876
- $message .= __( 'Thanks', 'wp-user-frontend' );
877
-
878
- $subject = apply_filters( 'wpuf_mail_after_confirmation_subject', $subject );
879
- $message = apply_filters( 'wpuf_mail_after_confirmation_body', $message );
880
- $message = get_formatted_mail_body( $message, $subject );
881
-
882
- wp_mail( $user_email, $subject, $message );
883
  }
884
 
885
  $autologin_after_registration = wpuf_get_option( 'autologin_after_registration', 'wpuf_profile', 'on' );
@@ -1091,4 +1092,62 @@ class WPUF_Simple_Login {
1091
  exit;
1092
  }
1093
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1094
  }
419
  return;
420
  }
421
 
422
+ $log = isset( $_POST['log'] ) ? esc_attr( wp_unslash( $_POST['log'] ) ) : '';
423
+ $pwd = isset( $_POST['pwd'] ) ? trim( $_POST['pwd'] ) : '';
424
  // $g_recaptcha_response = isset( $_POST['g-recaptcha-response'] ) ? sanitize_text_field( wp_unslash( $_POST['g-recaptcha-response'] ) ) : '';
425
 
426
  $validation_error = new WP_Error();
484
  $secure_cookie = is_ssl() ? true : false;
485
  $user = wp_signon( apply_filters( 'wpuf_login_credentials', $creds ), $secure_cookie );
486
 
487
+ //try with old implementation, which is wrong but we must support that
488
+ if ( is_wp_error( $user ) ) {
489
+ $creds['user_login'] = sanitize_text_field( wp_unslash( $_POST['log'] ) );
490
+ $creds['user_password'] = sanitize_text_field( wp_unslash( $_POST['pwd'] ) );
491
+
492
+ $user = wp_signon( apply_filters( 'wpuf_login_credentials', $creds ), $secure_cookie );
493
+ }
494
+
495
  if ( is_wp_error( $user ) ) {
496
  $this->login_errors[] = $user->get_error_message();
497
 
614
  return;
615
  }
616
 
617
+ // request coming from ajax call, example: sidebar widget
618
+ if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
619
+ return;
620
+ }
621
+
622
  // process lost password form
623
  if ( isset( $_POST['user_login'] ) && isset( $_POST['_wpnonce'] ) ) {
624
  $nonce = sanitize_key( wp_unslash( $_POST['_wpnonce'] ) );
880
 
881
  wp_mail( $user_email, $subject, $message );
882
  } else {
883
+ $this->send_activation_email( $the_user );
 
 
 
 
 
 
 
 
 
 
 
 
884
  }
885
 
886
  $autologin_after_registration = wpuf_get_option( 'autologin_after_registration', 'wpuf_profile', 'on' );
1092
  exit;
1093
  }
1094
  }
1095
+
1096
+ /**
1097
+ * Send activated email for user
1098
+ *
1099
+ * @param $user
1100
+ */
1101
+ private function send_activation_email( $user ) {
1102
+ $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
1103
+ $login_url = wp_login_url();
1104
+
1105
+ if ( wpuf()->is_pro() && wpuf_pro_is_module_active( 'email-templates/email-templates.php' ) && wpuf_get_option( 'account_activated_user_email_notification', 'wpuf_mails', 'on' ) ) {
1106
+ $subject = wpuf_get_option( 'account_activated_user_email_subject', 'wpuf_mails' );
1107
+ $message = wpuf_get_option( 'account_activated_user_email_body', 'wpuf_mails' );
1108
+ $message = $this->prepare_mail_body( $message, $user, $blogname );
1109
+ } else {
1110
+ /* translators: %s: blogname */
1111
+ $subject = sprintf( __( '[%s] Account has been activated', 'wp-user-frontend' ), $blogname );
1112
+ /* translators: %s: username */
1113
+ $message = sprintf( __( 'Hi %s,', 'wp-user-frontend' ), $user->user_login ) . "\r\n\r\n";
1114
+ $message .= __( 'Congrats! Your account has been activated. To login visit the following url:', 'wp-user-frontend' ) . "\r\n\r\n";
1115
+ $message .= $login_url . "\r\n\r\n";
1116
+ $message .= __( 'Thanks', 'wp-user-frontend' );
1117
+ }
1118
+
1119
+ $message = get_formatted_mail_body( $message, $subject );
1120
+
1121
+ $headers = array( 'Content-Type: text/html; charset=UTF-8' );
1122
+
1123
+ $subject = apply_filters( 'wpuf_mail_after_confirmation_subject', $subject );
1124
+ $message = apply_filters( 'wpuf_mail_after_confirmation_body', $message );
1125
+
1126
+ wp_mail( $user->user_email, $subject, $message, $headers );
1127
+ }
1128
+
1129
+ /**
1130
+ * Preapring mail body for activated email
1131
+ *
1132
+ * @param $message
1133
+ * @param $user
1134
+ * @param $blogname
1135
+ *
1136
+ * @return string|string[]
1137
+ */
1138
+ private function prepare_mail_body( $message, $user, $blogname ) {
1139
+ $user_field_search = [ '{login_url}', '{username}', '{user_email}', '{display_name}', '{blog_name}' ];
1140
+
1141
+ $user_field_replace = [
1142
+ '<a href="' . wp_login_url() . '">' . __( ' Login ', 'wp-user-frontend' ) . '</a>',
1143
+ $user->data->user_login,
1144
+ $user->data->user_email,
1145
+ $user->data->display_name,
1146
+ $blogname,
1147
+ ];
1148
+
1149
+ $message = str_replace( $user_field_search, $user_field_replace, $message );
1150
+
1151
+ return $message;
1152
+ }
1153
  }
languages/wp-user-frontend.pot CHANGED
@@ -1,109 +1,109 @@
1
- # Copyright (C) 2021 weDevs
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP User Frontend 3.5.25\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2021-11-18 06:14:40+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
14
- "X-Generator: grunt-wp-i18n 0.5.4\n"
15
- "X-Poedit-KeywordsList: "
16
- "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
17
- "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
18
  "Language: en\n"
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
  "X-Poedit-Country: United States\n"
21
  "X-Poedit-SourceCharset: UTF-8\n"
 
 
 
22
  "X-Poedit-Basepath: ../\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
 
26
 
27
  #. Plugin Name of the plugin/theme
28
  msgid "WP User Frontend"
29
  msgstr ""
30
 
31
- #: admin/class-admin-settings.php:88
32
  msgid "User Frontend"
33
  msgstr ""
34
 
35
- #: admin/class-admin-settings.php:90 admin/post-forms-list-table-view.php:4
36
  msgid "Post Forms"
37
  msgstr ""
38
 
39
- #: admin/class-admin-settings.php:99
40
  msgid "Subscriptions"
41
  msgstr ""
42
 
43
- #: admin/class-admin-settings.php:105 admin/class-tools.php:358
44
  #: admin/transactions.php:2
45
  msgid "Transactions"
46
  msgstr ""
47
 
48
- #: admin/class-admin-settings.php:108 admin/tools.php:13
49
  msgid "Tools"
50
  msgstr ""
51
 
52
- #: admin/class-admin-settings.php:113
53
  msgid "Premium"
54
  msgstr ""
55
 
56
- #: admin/class-admin-settings.php:115
57
  msgid "Help"
58
  msgstr ""
59
 
60
- #: admin/class-admin-settings.php:115
61
  msgid "<span style=\"color:#f18500\">Help</span>"
62
  msgstr ""
63
 
64
- #: admin/class-admin-settings.php:116 admin/class-admin-settings.php:157
65
  #: admin/form-builder/views/form-builder.php:9 includes/setup-wizard.php:125
66
  msgid "Settings"
67
  msgstr ""
68
 
69
- #: admin/class-admin-settings.php:118 admin/class-admin-subscription.php:204
70
  #: admin/subscribers.php:18
71
  msgid "Subscribers"
72
  msgstr ""
73
 
74
- #: admin/class-admin-settings.php:454
75
  msgid "Number of items per page:"
76
  msgstr ""
77
 
78
- #: admin/class-admin-settings.php:485
79
  msgid "Post lock has been cleared"
80
  msgstr ""
81
 
82
- #: admin/class-admin-settings.php:515
83
  msgid "WPUF Import Forms"
84
  msgstr ""
85
 
86
- #: admin/class-admin-settings.php:516
87
  msgid "Add JSON file"
88
  msgstr ""
89
 
90
- #: admin/class-admin-settings.php:517
91
  msgid "Could not import forms."
92
  msgstr ""
93
 
94
- #: admin/class-admin-settings.php:598
95
  msgid "Missing file_id param"
96
  msgstr ""
97
 
98
- #: admin/class-admin-settings.php:608
99
  msgid "JSON file not found"
100
  msgstr ""
101
 
102
- #: admin/class-admin-settings.php:617
103
  msgid "Provided file is not a JSON file."
104
  msgstr ""
105
 
106
- #: admin/class-admin-settings.php:634
107
  msgid "Forms imported successfully."
108
  msgstr ""
109
 
@@ -161,8 +161,8 @@ msgid "Duration"
161
  msgstr ""
162
 
163
  #: admin/class-admin-subscription.php:225
164
- #: admin/class-admin-subscription.php:618 class/frontend-account.php:263
165
- #: class/subscription.php:938 includes/class-user-subscription.php:309
166
  #: templates/subscriptions/pack-details.php:24
167
  msgid "Free"
168
  msgstr ""
@@ -173,9 +173,9 @@ msgstr ""
173
  #: admin/settings-options.php:223 admin/settings-options.php:234
174
  #: admin/template.php:63 class/asset-loader.php:50
175
  #: includes/fields/class-abstract-fields.php:297
176
- #: includes/fields/class-abstract-fields.php:378
177
- #: includes/fields/class-abstract-fields.php:392
178
- #: includes/fields/class-abstract-fields.php:456
179
  #: includes/fields/class-field-checkbox.php:74
180
  #: includes/fields/class-field-radio.php:83 includes/free/form-element.php:499
181
  #: wpuf.php:716
@@ -188,16 +188,16 @@ msgstr ""
188
  #: admin/settings-options.php:224 admin/settings-options.php:235
189
  #: admin/template.php:64 class/asset-loader.php:51
190
  #: includes/fields/class-abstract-fields.php:298
191
- #: includes/fields/class-abstract-fields.php:379
192
- #: includes/fields/class-abstract-fields.php:393
193
- #: includes/fields/class-abstract-fields.php:457
194
  #: includes/fields/class-field-checkbox.php:75
195
  #: includes/fields/class-field-radio.php:84 includes/free/form-element.php:500
196
  #: wpuf.php:717
197
  msgid "No"
198
  msgstr ""
199
 
200
- #: admin/class-admin-subscription.php:339 admin/form.php:225
201
  msgid "Payment Settings"
202
  msgstr ""
203
 
@@ -234,7 +234,7 @@ msgstr ""
234
  msgid "The featured item will be removed if the subscription expires"
235
  msgstr ""
236
 
237
- #: admin/class-admin-subscription.php:435 admin/form.php:227
238
  #: includes/free/form-element.php:57
239
  msgid "Post Expiration"
240
  msgstr ""
@@ -301,7 +301,7 @@ msgstr ""
301
  msgid "For each %1$s %2$s"
302
  msgstr ""
303
 
304
- #: admin/class-admin-subscription.php:623 class/frontend-account.php:269
305
  #. translators: %s: number of installments
306
  msgid ", for %s installments"
307
  msgstr ""
@@ -327,8 +327,8 @@ msgid "Subscription Expiration Info"
327
  msgstr ""
328
 
329
  #: admin/class-admin-subscription.php:700
330
- #: includes/class-user-subscription.php:361
331
- #: templates/dashboard/subscription.php:49
332
  msgid "Expire date:"
333
  msgstr ""
334
 
@@ -345,10 +345,10 @@ msgid "Assign Package"
345
  msgstr ""
346
 
347
  #: admin/class-admin-subscription.php:821
348
- #: admin/form-builder/class-wpuf-admin-form-builder.php:284
349
  #: class/payment.php:225 class/subscription.php:836
350
  #: includes/class-list-table-subscribers.php:138 lib/appsero/Insights.php:764
351
- #: templates/dashboard/subscription.php:67
352
  msgid "Cancel"
353
  msgstr ""
354
 
@@ -356,8 +356,8 @@ msgstr ""
356
  msgid "Select Package:"
357
  msgstr ""
358
 
359
- #: admin/class-admin-subscription.php:830 admin/settings-options.php:580
360
- #: wpuf-functions.php:210 wpuf-functions.php:1808 wpuf-functions.php:2056
361
  msgid "&mdash; Select &mdash;"
362
  msgstr ""
363
 
@@ -382,8 +382,8 @@ msgid "Form Export"
382
  msgstr ""
383
 
384
  #: admin/class-tools.php:43 admin/class-tools.php:106
385
- #: admin/post-forms-list-table.php:43 class/transactions-list-table.php:90
386
- #: includes/class-list-table-subscribers.php:136 wpuf-functions.php:3340
387
  msgid "All"
388
  msgstr ""
389
 
@@ -562,7 +562,7 @@ msgstr ""
562
 
563
  #: admin/form-builder/assets/js/components/form-featured_image/template.php:6
564
  #: admin/form-builder/assets/js/components/form-image_upload/template.php:6
565
- #: class/render-form.php:1655
566
  #: includes/fields/class-field-featured-image.php:122
567
  #: includes/fields/class-field-image.php:116
568
  #: includes/fields/class-field-image.php:137
@@ -570,7 +570,7 @@ msgid "Select Image"
570
  msgstr ""
571
 
572
  #: admin/form-builder/assets/js/components/form-post_content/template.php:4
573
- #: class/render-form.php:1052 includes/fields/class-field-post-content.php:49
574
  msgid "Insert Photo"
575
  msgstr ""
576
 
@@ -588,8 +588,8 @@ msgstr ""
588
 
589
  #: admin/form-builder/class-wpuf-admin-form-builder-ajax.php:35
590
  #: admin/form-builder/class-wpuf-admin-form-builder-ajax.php:82
591
- #: admin/promotion.php:187 admin/promotion.php:191 admin/promotion.php:253
592
- #: admin/promotion.php:257
593
  msgid "Unauthorized operation"
594
  msgstr ""
595
 
@@ -601,38 +601,38 @@ msgstr ""
601
  msgid "Invalid post type"
602
  msgstr ""
603
 
604
- #: admin/form-builder/class-wpuf-admin-form-builder.php:279
605
  msgid "Advanced Options"
606
  msgstr ""
607
 
608
- #: admin/form-builder/class-wpuf-admin-form-builder.php:280
609
  msgid "Are you sure you want to delete this field?"
610
  msgstr ""
611
 
612
- #: admin/form-builder/class-wpuf-admin-form-builder.php:281
613
  #: admin/posting.php:73 class/asset-loader.php:56 wpuf.php:737
614
  msgid "Yes, delete it"
615
  msgstr ""
616
 
617
- #: admin/form-builder/class-wpuf-admin-form-builder.php:282
618
  #: admin/posting.php:74 class/asset-loader.php:57 wpuf.php:738
619
  msgid "No, cancel it"
620
  msgstr ""
621
 
622
- #: admin/form-builder/class-wpuf-admin-form-builder.php:283
623
  msgid "OK"
624
  msgstr ""
625
 
626
- #: admin/form-builder/class-wpuf-admin-form-builder.php:285
627
  #: includes/free/admin/shortcode-builder.php:70
628
  msgid "Close"
629
  msgstr ""
630
 
631
- #: admin/form-builder/class-wpuf-admin-form-builder.php:286
632
  msgid "This field must contain at least one choice"
633
  msgstr ""
634
 
635
- #: admin/form-builder/class-wpuf-admin-form-builder.php:287
636
  #: includes/fields/class-field-checkbox.php:101
637
  #: includes/fields/class-field-dropdown.php:105
638
  #: includes/fields/class-field-multidropdown.php:82
@@ -640,40 +640,40 @@ msgstr ""
640
  msgid "Option"
641
  msgstr ""
642
 
643
- #: admin/form-builder/class-wpuf-admin-form-builder.php:288
644
  msgid "Column"
645
  msgstr ""
646
 
647
- #: admin/form-builder/class-wpuf-admin-form-builder.php:289
648
  msgid "This field must contain at least one column"
649
  msgstr ""
650
 
651
- #: admin/form-builder/class-wpuf-admin-form-builder.php:290
652
  msgid "is available in Pro version"
653
  msgstr ""
654
 
655
- #: admin/form-builder/class-wpuf-admin-form-builder.php:291
656
  msgid "Please upgrade to the Pro version to unlock all these awesome features"
657
  msgstr ""
658
 
659
- #: admin/form-builder/class-wpuf-admin-form-builder.php:292
660
  msgid "Get the Pro version"
661
  msgstr ""
662
 
663
- #: admin/form-builder/class-wpuf-admin-form-builder.php:293
664
- #: includes/fields/class-abstract-fields.php:431
665
  msgid "Select"
666
  msgstr ""
667
 
668
- #: admin/form-builder/class-wpuf-admin-form-builder.php:294
669
  msgid "Saved form data"
670
  msgstr ""
671
 
672
- #: admin/form-builder/class-wpuf-admin-form-builder.php:295
673
  msgid "You have unsaved changes."
674
  msgstr ""
675
 
676
- #: admin/form-builder/class-wpuf-admin-form-builder.php:296
677
  #: admin/form-builder/views/form-builder.php:50
678
  msgid "Click to copy shortcode"
679
  msgstr ""
@@ -717,25 +717,25 @@ msgstr ""
717
  msgid "You do not have sufficient permissions to do this action"
718
  msgstr ""
719
 
720
- #: admin/form-handler.php:334 admin/form-handler.php:359
721
  msgid "%d form moved to the trash."
722
  msgid_plural "%d forms moved to the trash."
723
  msgstr[0] ""
724
  msgstr[1] ""
725
 
726
- #: admin/form-handler.php:339 admin/form-handler.php:364
727
  msgid "%d form restored from the trash."
728
  msgid_plural "%d forms restored from the trash."
729
  msgstr[0] ""
730
  msgstr[1] ""
731
 
732
- #: admin/form-handler.php:344 admin/form-handler.php:369
733
  msgid "%d form permanently deleted."
734
  msgid_plural "%d forms permanently deleted."
735
  msgstr[0] ""
736
  msgstr[1] ""
737
 
738
- #: admin/form-handler.php:350 admin/form-handler.php:375
739
  msgid "Form duplicated successfully. <a href=\"%s\">View form.</a>"
740
  msgstr ""
741
 
@@ -757,103 +757,103 @@ msgid ""
757
  "options when new post created and updated."
758
  msgstr ""
759
 
760
- #: admin/form.php:46 admin/form.php:66 admin/form.php:68 admin/form.php:104
761
  msgid "Forms"
762
  msgstr ""
763
 
764
- #: admin/form.php:67 admin/form.php:105
765
  msgid "Form"
766
  msgstr ""
767
 
768
- #: admin/form.php:69 admin/form.php:107 admin/post-forms-list-table-view.php:8
769
  msgid "Add Form"
770
  msgstr ""
771
 
772
- #: admin/form.php:70 admin/form.php:108
773
  msgid "Add New Form"
774
  msgstr ""
775
 
776
- #: admin/form.php:71 admin/form.php:109 admin/installer.php:86
777
  #: admin/post-forms-list-table.php:406 class/subscription.php:435
778
  #: includes/free/admin/shortcode-button.php:87 includes/free/edit-user.php:104
779
  msgid "Edit"
780
  msgstr ""
781
 
782
- #: admin/form.php:72 admin/form.php:110
783
  msgid "Edit Form"
784
  msgstr ""
785
 
786
- #: admin/form.php:73 admin/form.php:111
787
  msgid "New Form"
788
  msgstr ""
789
 
790
- #: admin/form.php:74 admin/form.php:75 admin/form.php:112 admin/form.php:113
791
  msgid "View Form"
792
  msgstr ""
793
 
794
- #: admin/form.php:76 admin/form.php:114
795
  msgid "Search Form"
796
  msgstr ""
797
 
798
- #: admin/form.php:77 admin/form.php:115
799
  msgid "No Form Found"
800
  msgstr ""
801
 
802
- #: admin/form.php:78 admin/form.php:116
803
  msgid "No Form Found in Trash"
804
  msgstr ""
805
 
806
- #: admin/form.php:79 admin/form.php:117
807
  msgid "Parent Form"
808
  msgstr ""
809
 
810
- #: admin/form.php:84
811
  msgid "Registraton Forms"
812
  msgstr ""
813
 
814
- #: admin/form.php:106 includes/free/loader.php:78
815
  msgid "Registration Forms"
816
  msgstr ""
817
 
818
- #: admin/form.php:189 includes/free/form-element.php:218
819
  #: includes/free/form-element.php:256
820
  msgid "Notification"
821
  msgstr ""
822
 
823
- #: admin/form.php:222
824
  msgid "Post Settings"
825
  msgstr ""
826
 
827
- #: admin/form.php:223
828
  msgid "Edit Settings"
829
  msgstr ""
830
 
831
- #: admin/form.php:224
832
  msgid "Submission Restriction"
833
  msgstr ""
834
 
835
- #: admin/form.php:226
836
  msgid "Display Settings"
837
  msgstr ""
838
 
839
- #: admin/form.php:288 admin/form.php:293
840
  msgid "- Select -"
841
  msgstr ""
842
 
843
- #: admin/form.php:327
844
  msgid "Post Fields"
845
  msgstr ""
846
 
847
- #: admin/form.php:333
848
  msgid "Taxonomies"
849
  msgstr ""
850
 
851
- #: admin/form.php:435 admin/html/form-settings-post.php:22
852
- #: class/render-form.php:758 includes/class-frontend-render-form.php:183
853
  msgid "Save Draft"
854
  msgstr ""
855
 
856
- #: admin/form.php:547
857
  msgid "Post Forms must have either Post Title, Post Body or Excerpt field"
858
  msgstr ""
859
 
@@ -898,7 +898,7 @@ msgstr ""
898
  msgid "Payment Options"
899
  msgstr ""
900
 
901
- #: admin/html/form-settings-payment.php:26 admin/settings-options.php:389
902
  #: includes/setup-wizard.php:301
903
  msgid "Enable Payments"
904
  msgstr ""
@@ -963,7 +963,7 @@ msgstr ""
963
  msgid "Amount to be charged per post"
964
  msgstr ""
965
 
966
- #: admin/html/form-settings-payment.php:88 admin/settings-options.php:470
967
  msgid "Payment Success Page"
968
  msgstr ""
969
 
@@ -1123,7 +1123,7 @@ msgid "It will show a button to save as draft"
1123
  msgstr ""
1124
 
1125
  #: admin/html/form-submission-restriction.php:11 admin/template-post.php:160
1126
- #: includes/fields/class-abstract-fields.php:471
1127
  #: includes/free/edit-profile.php:98 templates/registration-form.php:30
1128
  msgid "Name"
1129
  msgstr ""
@@ -1214,7 +1214,7 @@ msgid "Choose which roles can submit posts."
1214
  msgstr ""
1215
 
1216
  #: admin/html/form-submission-restriction.php:117
1217
- #: admin/settings-options.php:287
1218
  msgid "Unauthorized Message"
1219
  msgstr ""
1220
 
@@ -1437,805 +1437,917 @@ msgid "Contact Support"
1437
  msgstr ""
1438
 
1439
  #: admin/html/whats-new.php:8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1440
  msgid "Security Vulnerability fixed"
1441
  msgstr ""
1442
 
1443
- #: admin/html/whats-new.php:18
1444
  msgid "Featured item for subscriber"
1445
  msgstr ""
1446
 
1447
- #: admin/html/whats-new.php:22
1448
  msgid "Warning added for unsaved form data on frontend"
1449
  msgstr ""
1450
 
1451
- #: admin/html/whats-new.php:26
1452
  msgid "Settings page search implemented"
1453
  msgstr ""
1454
 
1455
- #: admin/html/whats-new.php:30
1456
  msgid "Editor added for registration form email template"
1457
  msgstr ""
1458
 
1459
- #: admin/html/whats-new.php:34
1460
  msgid "Fallback pay per post not working with when draft enabled"
1461
  msgstr ""
1462
 
1463
- #: admin/html/whats-new.php:38
1464
  msgid "User Dashboard responsive issues fixed"
1465
  msgstr ""
1466
 
1467
- #: admin/html/whats-new.php:42
1468
  msgid "Showing wrong license expire message handled"
1469
  msgstr ""
1470
 
1471
- #: admin/html/whats-new.php:46
1472
  msgid "Remove expire cron handled for once daily"
1473
  msgstr ""
1474
 
1475
- #: admin/html/whats-new.php:50
1476
  msgid "Billing address validation handled"
1477
  msgstr ""
1478
 
1479
- #: admin/html/whats-new.php:54
1480
  msgid "Promotion notice restricted for WPUF menu"
1481
  msgstr ""
1482
 
1483
- #: admin/html/whats-new.php:65
1484
  msgid "reCaptcha issue with other plugin handled"
1485
  msgstr ""
1486
 
1487
- #: admin/html/whats-new.php:69
1488
  msgid "Multiple post type for wpuf dashboard not working fixed"
1489
  msgstr ""
1490
 
1491
- #: admin/html/whats-new.php:73
1492
  msgid "Billing address ajax request issue handled"
1493
  msgstr ""
1494
 
1495
- #: admin/html/whats-new.php:77
1496
  msgid "Halloween promotion notice added"
1497
  msgstr ""
1498
 
1499
- #: admin/html/whats-new.php:88
1500
  msgid "Content restriction for minimum, maximum value enhanced"
1501
  msgstr ""
1502
 
1503
- #: admin/html/whats-new.php:92
1504
  msgid "New option for redirection after pay per post payment in form setting"
1505
  msgstr ""
1506
 
1507
- #: admin/html/whats-new.php:96
1508
  msgid "Controller added for various email notification"
1509
  msgstr ""
1510
 
1511
- #: admin/html/whats-new.php:100
1512
  msgid "Placeholder added for unauth message option"
1513
  msgstr ""
1514
 
1515
- #: admin/html/whats-new.php:104
1516
  msgid "Subscription Post expiration option change to input field"
1517
  msgstr ""
1518
 
1519
- #: admin/html/whats-new.php:108
1520
  msgid "Content restriction message translatable"
1521
  msgstr ""
1522
 
1523
- #: admin/html/whats-new.php:112
1524
  msgid "ACF integration inconsistency handled"
1525
  msgstr ""
1526
 
1527
- #: admin/html/whats-new.php:116
1528
  msgid "Enable payment checkbox handled for child option"
1529
  msgstr ""
1530
 
1531
- #: admin/html/whats-new.php:120
1532
  msgid "Broken asset link handled for custom field popup"
1533
  msgstr ""
1534
 
1535
- #: admin/html/whats-new.php:124
1536
  msgid "Rollback inconsistency for CPT handled"
1537
  msgstr ""
1538
 
1539
- #: admin/html/whats-new.php:128
1540
  msgid "Login form loaded after resetting password"
1541
  msgstr ""
1542
 
1543
- #: admin/html/whats-new.php:132
1544
  msgid "Billing address inconsistency handled"
1545
  msgstr ""
1546
 
1547
- #: admin/html/whats-new.php:136
1548
  msgid "Form duplication on creation handled"
1549
  msgstr ""
1550
 
1551
- #: admin/html/whats-new.php:140
1552
  msgid "Field Dragging inconsistency fixed"
1553
  msgstr ""
1554
 
1555
- #: admin/html/whats-new.php:151
1556
  msgid "Google Map field enhanced along with acf google map"
1557
  msgstr ""
1558
 
1559
- #: admin/html/whats-new.php:155
1560
  msgid "Filter added for dashboard account menu"
1561
  msgstr ""
1562
 
1563
- #: admin/html/whats-new.php:159
1564
  msgid "Fallback Pay Per Post inconsistency handled"
1565
  msgstr ""
1566
 
1567
- #: admin/html/whats-new.php:163
1568
  msgid "Google map search field not showing"
1569
  msgstr ""
1570
 
1571
- #: admin/html/whats-new.php:167
1572
  msgid "Form preview page inconsistency with builder"
1573
  msgstr ""
1574
 
1575
- #: admin/html/whats-new.php:171
1576
  msgid "Category not showing as hierarchy"
1577
  msgstr ""
1578
 
1579
- #: admin/html/whats-new.php:175
1580
  msgid "TOC field randering issue with registration form"
1581
  msgstr ""
1582
 
1583
- #: admin/html/whats-new.php:179
1584
  msgid "Custom plupload filter inconsistency with file upload handled"
1585
  msgstr ""
1586
 
1587
- #: admin/html/whats-new.php:183
1588
  msgid "Guest Pay Per Post inconsistency handled"
1589
  msgstr ""
1590
 
1591
- #: admin/html/whats-new.php:187
1592
  msgid "Responsive and font issue handled"
1593
  msgstr ""
1594
 
1595
- #: admin/html/whats-new.php:198
1596
  msgid "Preview page added for post form and registration form"
1597
  msgstr ""
1598
 
1599
- #: admin/html/whats-new.php:202
1600
  msgid "Post types menu on account page added"
1601
  msgstr ""
1602
 
1603
- #: admin/html/whats-new.php:206
1604
  msgid "Dashboard shortcode attributes enhanced"
1605
  msgstr ""
1606
 
1607
- #: admin/html/whats-new.php:210
1608
  msgid "Account page post type list new design"
1609
  msgstr ""
1610
 
1611
- #: admin/html/whats-new.php:214
1612
  msgid "Payment page restricted from direct unauthenticated access"
1613
  msgstr ""
1614
 
1615
- #: admin/html/whats-new.php:218
1616
  msgid "Timepicker conflict with dokan handled"
1617
  msgstr ""
1618
 
1619
- #: admin/html/whats-new.php:222
1620
  msgid "Trial inconsistency with paypal fixed"
1621
  msgstr ""
1622
 
1623
- #: admin/html/whats-new.php:226
1624
  msgid "Subscription does not cancel with paypal due to profile missing id"
1625
  msgstr ""
1626
 
1627
- #: admin/html/whats-new.php:230
1628
  msgid "Subscription email notification inconsistency fixed"
1629
  msgstr ""
1630
 
1631
- #: admin/html/whats-new.php:234
1632
  msgid "Various issues on payment page for non-logged in user handled"
1633
  msgstr ""
1634
 
1635
- #: admin/html/whats-new.php:238
1636
  msgid "Column inner field cloning inconsistency fixed"
1637
  msgstr ""
1638
 
1639
- #: admin/html/whats-new.php:242
1640
  msgid "Popup z-index changed due to other plugin z-index"
1641
  msgstr ""
1642
 
1643
- #: admin/html/whats-new.php:254
1644
  msgid "Added Mauritian Rupee for currency"
1645
  msgstr ""
1646
 
1647
- #: admin/html/whats-new.php:258
1648
  msgid "Added eid promotional offer notice"
1649
  msgstr ""
1650
 
1651
- #: admin/html/whats-new.php:262
1652
  msgid "Multiple google map validation for same form"
1653
  msgstr ""
1654
 
1655
- #: admin/html/whats-new.php:266
1656
  msgid "Various issues on verification, autologin payments & address field"
1657
  msgstr ""
1658
 
1659
- #: admin/html/whats-new.php:270
1660
  msgid "Docs update for file & attachments feature which is pro only"
1661
  msgstr ""
1662
 
1663
- #: admin/html/whats-new.php:281
1664
  msgid "Overflow footer on form builder page"
1665
  msgstr ""
1666
 
1667
- #: admin/html/whats-new.php:285
1668
  msgid "WordPress 5.7 compatibility"
1669
  msgstr ""
1670
 
1671
- #: admin/html/whats-new.php:289
1672
  msgid "Limited time promotion for weDevs birthday"
1673
  msgstr ""
1674
 
1675
- #: admin/html/whats-new.php:300
1676
  msgid "Meta key will not change if label update"
1677
  msgstr ""
1678
 
1679
- #: admin/html/whats-new.php:304
1680
  msgid "Login redirect empty previous url"
1681
  msgstr ""
1682
 
1683
- #: admin/html/whats-new.php:308
1684
  msgid "Email doesnt set as username"
1685
  msgstr ""
1686
 
1687
- #: admin/html/whats-new.php:312
1688
  msgid "Post redirection to payment doesn't work"
1689
  msgstr ""
1690
 
1691
- #: admin/html/whats-new.php:316
1692
  msgid "Address field not working when used with conditional logic"
1693
  msgstr ""
1694
 
1695
- #: admin/html/whats-new.php:320
1696
  msgid "Ajax type category child of not working"
1697
  msgstr ""
1698
 
1699
- #: admin/html/whats-new.php:324
1700
  msgid "Non recurring subscription did not work"
1701
  msgstr ""
1702
 
1703
- #: admin/html/whats-new.php:335
1704
  msgid "Menu position has chenged due to dokan has same menu position"
1705
  msgstr ""
1706
 
1707
- #: admin/html/whats-new.php:339
1708
  msgid "Drag and drop not working properly for new field"
1709
  msgstr ""
1710
 
1711
- #: admin/html/whats-new.php:350
1712
  msgid "QR and math captcha added to pro feature list"
1713
  msgstr ""
1714
 
1715
- #: admin/html/whats-new.php:354
1716
  msgid "Tooltip for category navigate"
1717
  msgstr ""
1718
 
1719
- #: admin/html/whats-new.php:358
1720
  msgid "Understandable guest payment notice"
1721
  msgstr ""
1722
 
1723
- #: admin/html/whats-new.php:362
1724
  msgid "Paypal non recurring pack id does not set"
1725
  msgstr ""
1726
 
1727
- #: admin/html/whats-new.php:373
1728
  msgid "Once trial subscription is used, it couldn't reset"
1729
  msgstr ""
1730
 
1731
- #: admin/html/whats-new.php:377
1732
  msgid "Subscription cancel doesn't work"
1733
  msgstr ""
1734
 
1735
- #: admin/html/whats-new.php:381
1736
  msgid "The tax rate was not calculated with the total amount"
1737
  msgstr ""
1738
 
1739
- #: admin/html/whats-new.php:385
1740
  msgid "The width of the column field was breaking"
1741
  msgstr ""
1742
 
1743
- #: admin/html/whats-new.php:389
1744
  msgid "Paypal recurring payment"
1745
  msgstr ""
1746
 
1747
- #: admin/html/whats-new.php:400
1748
  msgid "Updated codebase to fix timezone mismatch"
1749
  msgstr ""
1750
 
1751
- #: admin/html/whats-new.php:411
1752
  msgid "Custom html content field's width"
1753
  msgstr ""
1754
 
1755
- #: admin/html/whats-new.php:415
1756
  msgid "All states of New Zealand are added"
1757
  msgstr ""
1758
 
1759
- #: admin/html/whats-new.php:426
1760
  msgid "Get appropriate user id when role based conditions are present"
1761
  msgstr ""
1762
 
1763
- #: admin/html/whats-new.php:430
1764
  msgid "Show Invalid subscription message if wrong pack id passed"
1765
  msgstr ""
1766
 
1767
- #: admin/html/whats-new.php:434
1768
  msgid "URL field new window not working"
1769
  msgstr ""
1770
 
1771
- #: admin/html/whats-new.php:438
1772
  msgid "Option label not working when & use"
1773
  msgstr ""
1774
 
1775
- #: admin/html/whats-new.php:442
1776
  msgid "Ajax type category not showing on edit"
1777
  msgstr ""
1778
 
1779
- #: admin/html/whats-new.php:446
1780
  msgid "Multiple file image can't select"
1781
  msgstr ""
1782
 
1783
- #: admin/html/whats-new.php:450
1784
  msgid "Subscription pack PayPal Checkout gets \"Error: Access Denied\""
1785
  msgstr ""
1786
 
1787
- #: admin/html/whats-new.php:454
1788
  msgid "Conflict image field with acf image field"
1789
  msgstr ""
1790
 
1791
- #: admin/html/whats-new.php:458
1792
  msgid "Missing Auckland State for New Zealand country"
1793
  msgstr ""
1794
 
1795
- #: admin/html/whats-new.php:462
1796
  msgid "Added support for WooCommerce product category value replacemen"
1797
  msgstr ""
1798
 
1799
- #: admin/html/whats-new.php:472
1800
  msgid "Add character restriction feature"
1801
  msgstr ""
1802
 
1803
- #: admin/html/whats-new.php:476
1804
  msgid "Make sure post author edit link works only in frontend"
1805
  msgstr ""
1806
 
1807
- #: admin/html/whats-new.php:480
1808
  msgid "Inconsistency in lost password reset email message"
1809
  msgstr ""
1810
 
1811
- #: admin/html/whats-new.php:484
1812
  msgid "Saving custom taxonomy terms when input type is text"
1813
  msgstr ""
1814
 
1815
- #: admin/html/whats-new.php:488
1816
  msgid "Taxonomy field JS error in builder"
1817
  msgstr ""
1818
 
1819
- #: admin/html/whats-new.php:492
1820
  msgid "Showing WPUF edit link for WP default roles"
1821
  msgstr ""
1822
 
1823
- #: admin/html/whats-new.php:496
1824
  msgid "Upload button unresponsive issue in iOS"
1825
  msgstr ""
1826
 
1827
- #: admin/html/whats-new.php:506
1828
  msgid "Add post edit link for post authors in single or archive pages"
1829
  msgstr ""
1830
 
1831
- #: admin/html/whats-new.php:510
1832
  msgid "Enhance post delete message"
1833
  msgstr ""
1834
 
1835
- #: admin/html/whats-new.php:514
1836
  msgid "Refactor control buttons visibility in form builder"
1837
  msgstr ""
1838
 
1839
- #: admin/html/whats-new.php:518
1840
  msgid "Add missing colons after field label"
1841
  msgstr ""
1842
 
1843
- #: admin/html/whats-new.php:522
1844
  msgid "Post edit map capability condition"
1845
  msgstr ""
1846
 
1847
- #: admin/html/whats-new.php:526
1848
  msgid "Role based permission for accessing a post form"
1849
  msgstr ""
1850
 
1851
- #: admin/html/whats-new.php:530
1852
  msgid "Section-break field alignment"
1853
  msgstr ""
1854
 
1855
- #: admin/html/whats-new.php:534
1856
  msgid "Pay per post doesn't work if subscription pack is activated"
1857
  msgstr ""
1858
 
1859
- #: admin/html/whats-new.php:538
1860
  msgid "Mime type for uploading JSON files"
1861
  msgstr ""
1862
 
1863
- #: admin/html/whats-new.php:542
1864
  msgid "File upload with same file name"
1865
  msgstr ""
1866
 
1867
- #: admin/html/whats-new.php:546
1868
  msgid "Post preview missing fields"
1869
  msgstr ""
1870
 
1871
- #: admin/html/whats-new.php:550
1872
  msgid "Illigal variable declartion"
1873
  msgstr ""
1874
 
1875
- #: admin/html/whats-new.php:554
1876
  msgid "Featured image updating issue"
1877
  msgstr ""
1878
 
1879
- #: admin/html/whats-new.php:558
1880
  msgid "Conflict with Phlox theme"
1881
  msgstr ""
1882
 
1883
- #: admin/html/whats-new.php:562
1884
  msgid "Textarea custom field data sanitization"
1885
  msgstr ""
1886
 
1887
- #: admin/html/whats-new.php:566
1888
  msgid "exclude_type warning in wpuf_category_checklist"
1889
  msgstr ""
1890
 
1891
- #: admin/html/whats-new.php:570
1892
  msgid "Category field not showing all child categories for selection type child of"
1893
  msgstr ""
1894
 
1895
- #: admin/html/whats-new.php:574
1896
  msgid "Conflict between image and file upload custom fields"
1897
  msgstr ""
1898
 
1899
- #: admin/html/whats-new.php:578
1900
  msgid "Login url when login page is not set"
1901
  msgstr ""
1902
 
1903
- #: admin/html/whats-new.php:588
1904
  msgid ""
1905
  "Use common names for Ivory Coast, North Korea and Sourth Korea instead of "
1906
  "their official names"
1907
  msgstr ""
1908
 
1909
- #: admin/html/whats-new.php:592
1910
  msgid "Fix condition to use default avatar"
1911
  msgstr ""
1912
 
1913
- #: admin/html/whats-new.php:596
1914
  msgid "Make Email and URL fields clickable"
1915
  msgstr ""
1916
 
1917
- #: admin/html/whats-new.php:600
1918
  msgid "Fix redirect after user login"
1919
  msgstr ""
1920
 
1921
- #: admin/html/whats-new.php:604
1922
  msgid "Sanitize textarea field data"
1923
  msgstr ""
1924
 
1925
- #: admin/html/whats-new.php:608
1926
  msgid ""
1927
  "Fix missing colon to email, URL, text and textarea labels when renders "
1928
  "their data"
1929
  msgstr ""
1930
 
1931
- #: admin/html/whats-new.php:612
1932
  msgid "Prevent showing empty labels for fields that have render_field_data method"
1933
  msgstr ""
1934
 
1935
- #: admin/html/whats-new.php:622
1936
  msgid "Add Namibian Dollar in currency list"
1937
  msgstr ""
1938
 
1939
- #: admin/html/whats-new.php:626
1940
  msgid "Add sync values option for option data fields"
1941
  msgstr ""
1942
 
1943
- #: admin/html/whats-new.php:630
1944
  msgid "Allow uploading image that having filesize meets php ini settings"
1945
  msgstr ""
1946
 
1947
- #: admin/html/whats-new.php:634
1948
  msgid "Limit the selection of one image at a time"
1949
  msgstr ""
1950
 
1951
- #: admin/html/whats-new.php:638
1952
  msgid "Use file name and size to generate hash to prevent duplicant image upload"
1953
  msgstr ""
1954
 
1955
- #: admin/html/whats-new.php:642
1956
  msgid "Sanitize text and textarea field data"
1957
  msgstr ""
1958
 
1959
- #: admin/html/whats-new.php:646
1960
  msgid ""
1961
  "Show label instead of values for radio, checkbox, dropdown and multiselect "
1962
  "data"
1963
  msgstr ""
1964
 
1965
- #: admin/html/whats-new.php:650
1966
  msgid "Saving custom taxonomies for type text input"
1967
  msgstr ""
1968
 
1969
- #: admin/html/whats-new.php:654
1970
  msgid "Admin settings link for recaptcha helper text"
1971
  msgstr ""
1972
 
1973
- #: admin/html/whats-new.php:658
1974
  msgid "Undefined name property for Custom HTML fields"
1975
  msgstr ""
1976
 
1977
- #: admin/html/whats-new.php:662
1978
  msgid "Delete attachment process"
1979
  msgstr ""
1980
 
1981
- #: admin/html/whats-new.php:666
1982
  msgid "Missing billing address in invoice PDF"
1983
  msgstr ""
1984
 
1985
- #: admin/html/whats-new.php:670
1986
  msgid "Showing country field value in frontend post content"
1987
  msgstr ""
1988
 
1989
- #: admin/html/whats-new.php:674
1990
  msgid "Avatar size display not complying with admin settings size"
1991
  msgstr ""
1992
 
1993
- #: admin/html/whats-new.php:678
1994
  msgid "Display default avatars on admin settings discussion page"
1995
  msgstr ""
1996
 
1997
- #: admin/html/whats-new.php:682
1998
  msgid "Redirect to subscription page at registration"
1999
  msgstr ""
2000
 
2001
- #: admin/html/whats-new.php:686
2002
  msgid "Error notice regarding registration page redirect"
2003
  msgstr ""
2004
 
2005
- #: admin/html/whats-new.php:690
2006
  msgid "Escaping html in registration errors"
2007
  msgstr ""
2008
 
2009
- #: admin/html/whats-new.php:694
2010
  msgid "Default login redirect link"
2011
  msgstr ""
2012
 
2013
- #: admin/html/whats-new.php:698
2014
  msgid "Implementing default WP login page override option"
2015
  msgstr ""
2016
 
2017
- #: admin/html/whats-new.php:702
2018
  msgid "Transparent background of autosuggestion dropdown"
2019
  msgstr ""
2020
 
2021
- #: admin/html/whats-new.php:712
2022
  msgid "Import forms system"
2023
  msgstr ""
2024
 
2025
- #: admin/html/whats-new.php:716
2026
  msgid "Password reset system"
2027
  msgstr ""
2028
 
2029
- #: admin/html/whats-new.php:720
2030
  msgid "Updated url validation regex to support modern tlds"
2031
  msgstr ""
2032
 
2033
- #: admin/html/whats-new.php:724
2034
  msgid "Export WPUF forms individually from admin tools page"
2035
  msgstr ""
2036
 
2037
- #: admin/html/whats-new.php:728
2038
  msgid "Subscription cycle label translation issue"
2039
  msgstr ""
2040
 
2041
- #: admin/html/whats-new.php:732
2042
  msgid "ACF integration for checkbox fields"
2043
  msgstr ""
2044
 
2045
- #: admin/html/whats-new.php:736
2046
  msgid "Illegal string offset warning while updating settings"
2047
  msgstr ""
2048
 
2049
- #: admin/html/whats-new.php:740
2050
  msgid "Conditional logic for Section Break field"
2051
  msgstr ""
2052
 
2053
- #: admin/html/whats-new.php:744
2054
  msgid "Subscriptions cannot be deleted from backend"
2055
  msgstr ""
2056
 
2057
- #: admin/html/whats-new.php:748
2058
  msgid "A regression regarding saving checkbox data"
2059
  msgstr ""
2060
 
2061
- #: admin/html/whats-new.php:752
2062
  msgid "Default value of multi-select fields is not showing"
2063
  msgstr ""
2064
 
2065
- #: admin/html/whats-new.php:762
2066
  msgid "Hide post edit option when subscription is expired"
2067
  msgstr ""
2068
 
2069
- #: admin/html/whats-new.php:764
2070
  msgid "Hide post edit option from users whose subscription pack is expired."
2071
  msgstr ""
2072
 
2073
- #: admin/html/whats-new.php:767
2074
  msgid "Check files to prevent duplicity in media upload"
2075
  msgstr ""
2076
 
2077
- #: admin/html/whats-new.php:769
2078
  msgid ""
2079
  "A simple measure has been taken to prevent maliciously flooding the site by "
2080
  "uploading same file multiple times. Though this won't work with already "
2081
  "uploaded medias."
2082
  msgstr ""
2083
 
2084
- #: admin/html/whats-new.php:772
2085
  msgid "Refactor address fields in Account section"
2086
  msgstr ""
2087
 
2088
- #: admin/html/whats-new.php:774
2089
  msgid "Address edit section from Account section has been rewritten to improve UX."
2090
  msgstr ""
2091
 
2092
- #: admin/html/whats-new.php:777
2093
  msgid "Update Paypal payment gateway"
2094
  msgstr ""
2095
 
2096
- #: admin/html/whats-new.php:779
2097
  msgid "Paypal payment gateway has seen some improvements."
2098
  msgstr ""
2099
 
2100
- #: admin/html/whats-new.php:782
2101
  msgid "Default Category selection improvements"
2102
  msgstr ""
2103
 
2104
- #: admin/html/whats-new.php:784
2105
  msgid ""
2106
  "An intuitive way of selecting default category of a selected post type has "
2107
  "been introduced."
2108
  msgstr ""
2109
 
2110
- #: admin/html/whats-new.php:787
2111
  msgid "Compatibility issue with ACF date time field"
2112
  msgstr ""
2113
 
2114
- #: admin/html/whats-new.php:789
2115
  msgid "A Compatibility issue with ACF date time field has been addressed."
2116
  msgstr ""
2117
 
2118
- #: admin/html/whats-new.php:792
2119
  msgid "Media title, caption & description not saving"
2120
  msgstr ""
2121
 
2122
- #: admin/html/whats-new.php:794
2123
  msgid ""
2124
  "Media title, caption & description were not saving from frontend. They will "
2125
  "now."
2126
  msgstr ""
2127
 
2128
- #: admin/html/whats-new.php:797
2129
  msgid ""
2130
  "The Events Calendar venue and organizer fields issue in WPUF Custom Fields "
2131
  "metabox"
2132
  msgstr ""
2133
 
2134
- #: admin/html/whats-new.php:799
2135
  msgid ""
2136
  "A workaround has been introduced to save The Events Calendar Venue and "
2137
  "Organizer fields properly from WPUF Custom Fields metabox."
2138
  msgstr ""
2139
 
2140
- #: admin/html/whats-new.php:802
2141
  msgid "Checkbox data not saving from WPUF Custom Fields metabox"
2142
  msgstr ""
2143
 
2144
- #: admin/html/whats-new.php:804
2145
  msgid ""
2146
  "Checkboxe data from WPUF Custom Fields metabox were not saving. It has been "
2147
  "fixed."
2148
  msgstr ""
2149
 
2150
- #: admin/html/whats-new.php:807
2151
  msgid "Multi-column Repeater field data saving issue"
2152
  msgstr ""
2153
 
2154
- #: admin/html/whats-new.php:809
2155
  msgid ""
2156
  "Multi-column Repeater field data from a form was not saving. It has been "
2157
  "fixed."
2158
  msgstr ""
2159
 
2160
- #: admin/html/whats-new.php:812
2161
  msgid "Multistep form conflict with Elementor"
2162
  msgstr ""
2163
 
2164
- #: admin/html/whats-new.php:814
2165
  msgid "Multistep form had a conflict with Elementor. It has been fixed."
2166
  msgstr ""
2167
 
2168
- #: admin/html/whats-new.php:817
2169
  msgid "Multiple images showing issue in frontend"
2170
  msgstr ""
2171
 
2172
- #: admin/html/whats-new.php:819
2173
  msgid "Multiple images in a post were not showing in frontend. Now they will."
2174
  msgstr ""
2175
 
2176
- #: admin/html/whats-new.php:828
2177
  msgid "Nonce not verify on login"
2178
  msgstr ""
2179
 
2180
- #: admin/html/whats-new.php:830
2181
  msgid "Return of function wp_verify_nonce() was ignored."
2182
  msgstr ""
2183
 
2184
- #: admin/html/whats-new.php:839
2185
  msgid "Option to set which tab shows as active on the account page"
2186
  msgstr ""
2187
 
2188
- #: admin/html/whats-new.php:841
2189
  msgid ""
2190
  "Option to set which tab shows as active on the account page. To configure "
2191
  "this setting navigate to wp-admin->User Frontend->Settings->My "
2192
  "Account->Active Tab "
2193
  msgstr ""
2194
 
2195
- #: admin/html/whats-new.php:844
2196
  msgid "Unlock option was unavailable after the post being locked"
2197
  msgstr ""
2198
 
2199
- #: admin/html/whats-new.php:846
2200
  msgid "Unlock option was unavailable after the post being locked."
2201
  msgstr ""
2202
 
2203
- #: admin/html/whats-new.php:849
2204
  msgid "Gutenberg block of WPUF didn't work on bedrock installation"
2205
  msgstr ""
2206
 
2207
- #: admin/html/whats-new.php:851
2208
  msgid "Gutenberg block of WPUF didn't work on bedrock installation."
2209
  msgstr ""
2210
 
2211
- #: admin/html/whats-new.php:854
2212
  msgid "Sending admin payment received email twice"
2213
  msgstr ""
2214
 
2215
- #: admin/html/whats-new.php:856
2216
  msgid ""
2217
  "After processing payment admin & user was receiving payment received email "
2218
  "twice."
2219
  msgstr ""
2220
 
2221
- #: admin/html/whats-new.php:859
2222
  msgid ""
2223
  "Add shortcode support to display post information in the Post Expiration "
2224
  "Message"
2225
  msgstr ""
2226
 
2227
- #: admin/html/whats-new.php:861
2228
  msgid ""
2229
  "Add shortcode support to display post information in the Post Expiration "
2230
  "Message. You can use: <strong>{post_author} {post_url} {blogname} "
2231
  "{post_title} {post_status}</strong>"
2232
  msgstr ""
2233
 
2234
- #: admin/html/whats-new.php:864
2235
  msgid "Add optin on the setup wizard"
2236
  msgstr ""
2237
 
2238
- #: admin/html/whats-new.php:866
2239
  msgid ""
2240
  "Added optin on the setup wizard, admin can choose whether he/she wants to "
2241
  "share server environment details (php, mysql, server, WordPress versions), "
@@ -2243,126 +2355,126 @@ msgid ""
2243
  "name and url, admin name and email address. No sensitive data is tracked"
2244
  msgstr ""
2245
 
2246
- #: admin/html/whats-new.php:875
2247
  msgid "Post Owner problem"
2248
  msgstr ""
2249
 
2250
- #: admin/html/whats-new.php:877
2251
  msgid ""
2252
  "Posts were not assigned to the selected default post owner, this issue has "
2253
  "been fixed."
2254
  msgstr ""
2255
 
2256
- #: admin/html/whats-new.php:880
2257
  msgid "Google reCaptcha was not working"
2258
  msgstr ""
2259
 
2260
- #: admin/html/whats-new.php:882
2261
  msgid ""
2262
  "Google reCaptcha was not working, users could submit the form without "
2263
  "reCaptcha validation."
2264
  msgstr ""
2265
 
2266
- #: admin/html/whats-new.php:891
2267
  msgid "Added column field"
2268
  msgstr ""
2269
 
2270
- #: admin/html/whats-new.php:896
2271
  msgid "Unable to render the events on the front-end dashboard"
2272
  msgstr ""
2273
 
2274
- #: admin/html/whats-new.php:898
2275
  msgid ""
2276
  "On the frontend dashboard, the submitted events were not showing, you will "
2277
  "get it fixed in this version."
2278
  msgstr ""
2279
 
2280
- #: admin/html/whats-new.php:901
2281
  msgid "Page order getting 0(zero) after editing from the frontend"
2282
  msgstr ""
2283
 
2284
- #: admin/html/whats-new.php:903
2285
  msgid ""
2286
  "Page order was not saving while editing a post using WPUF form, it has been "
2287
  "fixed."
2288
  msgstr ""
2289
 
2290
- #: admin/html/whats-new.php:906
2291
  msgid "Text input field for taxonomies not working"
2292
  msgstr ""
2293
 
2294
- #: admin/html/whats-new.php:908
2295
  msgid ""
2296
  "When taxonomy field type is set to `Text Input` then a fatal error was "
2297
  "showing on the frontend, no error with taxonomy field in the latest version."
2298
  msgstr ""
2299
 
2300
- #: admin/html/whats-new.php:911
2301
  msgid ""
2302
  "In radio and checkbox field use conditional logic that value does not save "
2303
  "in database"
2304
  msgstr ""
2305
 
2306
- #: admin/html/whats-new.php:913
2307
  msgid ""
2308
  "The selected value of radio and checkbox field were not showing while "
2309
  "editing posts from the backend or frontend, you can see the selected value "
2310
  "in this version."
2311
  msgstr ""
2312
 
2313
- #: admin/html/whats-new.php:916
2314
  msgid "The args param not working with get_avatar filter"
2315
  msgstr ""
2316
 
2317
- #: admin/html/whats-new.php:918
2318
  msgid "The args parameter did not exist with get_avatar filter, which now exists."
2319
  msgstr ""
2320
 
2321
- #: admin/html/whats-new.php:921
2322
  msgid "The item in ajax taxonomy field was not selected"
2323
  msgstr ""
2324
 
2325
- #: admin/html/whats-new.php:923
2326
  msgid ""
2327
  "When the taxonomy field type is set to Ajax, the submitted terms were not "
2328
  "showing in the backend and frontend which have been fixed."
2329
  msgstr ""
2330
 
2331
- #: admin/html/whats-new.php:932
2332
  msgid "Unable to send new user registration email"
2333
  msgstr ""
2334
 
2335
- #: admin/html/whats-new.php:934
2336
  msgid ""
2337
  "WP User Frontend default registration form `[wpuf-registration]` was unable "
2338
  "to send the new user registration email."
2339
  msgstr ""
2340
 
2341
- #: admin/html/whats-new.php:937
2342
  msgid "WPUF forms block compatibility issue with the latest WP version"
2343
  msgstr ""
2344
 
2345
- #: admin/html/whats-new.php:939
2346
  msgid ""
2347
  "With the latest version of WordPress the gutenberg block of WP User "
2348
  "Frontend were not working. In this version, you will get it fixed."
2349
  msgstr ""
2350
 
2351
- #: admin/html/whats-new.php:942
2352
  msgid "Page not update where `[wpuf_dashboard]` shortcode exist"
2353
  msgstr ""
2354
 
2355
- #: admin/html/whats-new.php:944
2356
  msgid ""
2357
  "While using Gutenberg, the page were not being updated with WPUF shortcode "
2358
  "[wpuf dashboard]"
2359
  msgstr ""
2360
 
2361
- #: admin/html/whats-new.php:947
2362
  msgid "Retain default when determining whether to display the admin bar"
2363
  msgstr ""
2364
 
2365
- #: admin/html/whats-new.php:949
2366
  msgid ""
2367
  "From the User Frontend Settings, set that Administrator, Editor, Vendor can "
2368
  "see the admin bar. Now, the super admin want, one specific user ( who has "
@@ -2372,11 +2484,11 @@ msgid ""
2372
  "frontend."
2373
  msgstr ""
2374
 
2375
- #: admin/html/whats-new.php:952
2376
  msgid "Fatal error when use PHP lower version (5.4 or lower)"
2377
  msgstr ""
2378
 
2379
- #: admin/html/whats-new.php:954
2380
  msgid ""
2381
  "It was unable to install WP User Frontend with PHP 5.4 or lower version. "
2382
  "Here is the error details: <br><br><strong>Fatal error: Can't use method "
@@ -2384,42 +2496,42 @@ msgid ""
2384
  "/wp-user-frontend/class/frontend-form-post.php on line 194</strong>"
2385
  msgstr ""
2386
 
2387
- #: admin/html/whats-new.php:957
2388
  msgid "Product form was unable to show the single gallery image"
2389
  msgstr ""
2390
 
2391
- #: admin/html/whats-new.php:959
2392
  msgid ""
2393
  "When user upload single image for product gallery using WPUF WooCommerce "
2394
  "product form, that image were not showing on the frontend."
2395
  msgstr ""
2396
 
2397
- #: admin/html/whats-new.php:968
2398
  msgid "WooCommerce gallery images not getting saved"
2399
  msgstr ""
2400
 
2401
- #: admin/html/whats-new.php:970
2402
  msgid ""
2403
  "After releasing version 2.9.3, WooCommerce gallery image field stopped "
2404
  "working. You will get it fixed in this version."
2405
  msgstr ""
2406
 
2407
- #: admin/html/whats-new.php:979
2408
  msgid "The Events Calendar Integration Form"
2409
  msgstr ""
2410
 
2411
- #: admin/html/whats-new.php:981
2412
  msgid ""
2413
  "Now admin can allow users to create event from the frontend. Currently WPUF "
2414
  "has a one click pre-build event form that has been integrated with The "
2415
  "Events Calendar plugin"
2416
  msgstr ""
2417
 
2418
- #: admin/html/whats-new.php:984
2419
  msgid "Post Submission Facility From Account Page"
2420
  msgstr ""
2421
 
2422
- #: admin/html/whats-new.php:986
2423
  msgid ""
2424
  "On the frontend account page, added a new menu item named <b>Submit "
2425
  "Post</b>. Now admin can allow users to submit post from their default "
@@ -2428,504 +2540,504 @@ msgid ""
2428
  "you can assign any post form that will use to submit posts."
2429
  msgstr ""
2430
 
2431
- #: admin/html/whats-new.php:989
2432
  msgid "Login/Lost Password Link Under Registration Form"
2433
  msgstr ""
2434
 
2435
- #: admin/html/whats-new.php:991
2436
  msgid "Added Login/Lost Password link under registration form"
2437
  msgstr ""
2438
 
2439
- #: admin/html/whats-new.php:1000
2440
  msgid "Added drag and drop image ordering on image upload"
2441
  msgstr ""
2442
 
2443
- #: admin/html/whats-new.php:1002
2444
  msgid ""
2445
  "Now frontend users can drag & drop the images/files to change the order "
2446
  "while uploading."
2447
  msgstr ""
2448
 
2449
- #: admin/html/whats-new.php:1005
2450
  msgid "Added reCAPTCHA field in login form"
2451
  msgstr ""
2452
 
2453
- #: admin/html/whats-new.php:1007
2454
  msgid ""
2455
  "Admin has the option to show reCAPTCHA field in login form. Check the "
2456
  "related settings from <strong>User Frontend > Settings > "
2457
  "Login/Registration</strong>"
2458
  msgstr ""
2459
 
2460
- #: admin/html/whats-new.php:1010
2461
  msgid "Added preview option in forms"
2462
  msgstr ""
2463
 
2464
- #: admin/html/whats-new.php:1012
2465
  msgid ""
2466
  "You can see a nice <strong>Preview</strong> button with <strong>Save "
2467
  "Form</strong> button, admin can take a quick look of the form without using "
2468
  "shortcode"
2469
  msgstr ""
2470
 
2471
- #: admin/html/whats-new.php:1015
2472
  msgid "Fixed hiding “Select Image” button while uploading multiple images."
2473
  msgstr ""
2474
 
2475
- #: admin/html/whats-new.php:1017
2476
  msgid ""
2477
  "The upload button will not be hidden until the user selects max number of "
2478
  "files "
2479
  msgstr ""
2480
 
2481
- #: admin/html/whats-new.php:1020
2482
  msgid "Added form limit notice before form submission"
2483
  msgstr ""
2484
 
2485
- #: admin/html/whats-new.php:1022
2486
  msgid ""
2487
  "Limit notice message was showing after submission, now it is showing when "
2488
  "rendering the form"
2489
  msgstr ""
2490
 
2491
- #: admin/html/whats-new.php:1025
2492
  msgid "Fixed: default post category not saving"
2493
  msgstr ""
2494
 
2495
- #: admin/html/whats-new.php:1027
2496
  msgid ""
2497
  "From the form <strong>Settings > Post Settings</strong>, default post "
2498
  "category options were not saving. Now, it's fixed."
2499
  msgstr ""
2500
 
2501
- #: admin/html/whats-new.php:1030
2502
  msgid ""
2503
  "WPUF dashboard shortcode with form_id attribute was not showing posts "
2504
  "properly"
2505
  msgstr ""
2506
 
2507
- #: admin/html/whats-new.php:1032
2508
  msgid ""
2509
  "Now you can list posts on the frontend by using <strong>form_id<strong/> "
2510
  "attribute with <strong>[wpuf_dashboard]</strong> shortcode"
2511
  msgstr ""
2512
 
2513
- #: admin/html/whats-new.php:1041
2514
  msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
2515
  msgstr ""
2516
 
2517
- #: admin/html/whats-new.php:1043
2518
  msgid ""
2519
  "If you are using other language than English. Please <b>rename</b> your "
2520
  "<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
2521
  "change was made to support translations from translate.wordpress.org"
2522
  msgstr ""
2523
 
2524
- #: admin/html/whats-new.php:1046
2525
  msgid "Added WP User Frontend Data export and erase functionality."
2526
  msgstr ""
2527
 
2528
- #: admin/html/whats-new.php:1048
2529
  msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
2530
  msgstr ""
2531
 
2532
- #: admin/html/whats-new.php:1051
2533
  msgid "Added billing address customizer."
2534
  msgstr ""
2535
 
2536
- #: admin/html/whats-new.php:1053
2537
  msgid "Added customizer options for billing address in payment page."
2538
  msgstr ""
2539
 
2540
- #: admin/html/whats-new.php:1056
2541
  msgid "Make the payment page responsive."
2542
  msgstr ""
2543
 
2544
- #: admin/html/whats-new.php:1058
2545
  msgid "Some css adjustments are made in payment page to make it responsive."
2546
  msgstr ""
2547
 
2548
- #: admin/html/whats-new.php:1061
2549
  msgid "Fixed image upload issue in Safari."
2550
  msgstr ""
2551
 
2552
- #: admin/html/whats-new.php:1063
2553
  msgid "Images were not showing after upload in safari, it is fixed now."
2554
  msgstr ""
2555
 
2556
- #: admin/html/whats-new.php:1066
2557
  msgid "Post update issue after updating or removing post images."
2558
  msgstr ""
2559
 
2560
- #: admin/html/whats-new.php:1068
2561
  msgid ""
2562
  "Posts cannot be updated after updating or removing post images, it is fixed "
2563
  "now."
2564
  msgstr ""
2565
 
2566
- #: admin/html/whats-new.php:1077
2567
  msgid "Allow overriding form input styles using theme styling."
2568
  msgstr ""
2569
 
2570
- #: admin/html/whats-new.php:1079
2571
  msgid "Overriding form input styles using theme style is now possible."
2572
  msgstr ""
2573
 
2574
- #: admin/html/whats-new.php:1082
2575
  msgid "Fixed Auto Login after registration."
2576
  msgstr ""
2577
 
2578
- #: admin/html/whats-new.php:1084
2579
  msgid "Auto Login after registration was not working is fixed now."
2580
  msgstr ""
2581
 
2582
- #: admin/html/whats-new.php:1087
2583
  msgid "Fixed fallback cost calculation"
2584
  msgstr ""
2585
 
2586
- #: admin/html/whats-new.php:1089
2587
  msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
2588
  msgstr ""
2589
 
2590
- #: admin/html/whats-new.php:1092
2591
  msgid "Removal of subscription from User Profile gets reverted if updated"
2592
  msgstr ""
2593
 
2594
- #: admin/html/whats-new.php:1094
2595
  msgid "User subscription deletion gets reverted if updated is fixed."
2596
  msgstr ""
2597
 
2598
- #: admin/html/whats-new.php:1097
2599
  msgid "Show Free pack users in subscribers list."
2600
  msgstr ""
2601
 
2602
- #: admin/html/whats-new.php:1099
2603
  msgid "Free pack users were not showing in subscribers list, now they will."
2604
  msgstr ""
2605
 
2606
- #: admin/html/whats-new.php:1108
2607
  msgid "WP User Frontend Guten Block is added"
2608
  msgstr ""
2609
 
2610
- #: admin/html/whats-new.php:1110
2611
  msgid ""
2612
  "WPUF Form Block is now available to be used within gutenberg editor with "
2613
  "preview of the form. "
2614
  msgstr ""
2615
 
2616
- #: admin/html/whats-new.php:1113
2617
  msgid "Advanced Custom Fields plugin compatibility"
2618
  msgstr ""
2619
 
2620
- #: admin/html/whats-new.php:1115
2621
  msgid "Now all your ACF fields can be used within WPUF Post forms. "
2622
  msgstr ""
2623
 
2624
- #: admin/html/whats-new.php:1118
2625
  msgid "Taxonomy Terms not showing for custom post types"
2626
  msgstr ""
2627
 
2628
- #: admin/html/whats-new.php:1120
2629
  msgid ""
2630
  "Fixed an issue with taxonomy terms not appearing for Custom Post types "
2631
  "within Form Settings and Dashboard Post Listing"
2632
  msgstr ""
2633
 
2634
- #: admin/html/whats-new.php:1123
2635
  msgid "Various other code optimizations"
2636
  msgstr ""
2637
 
2638
- #: admin/html/whats-new.php:1125 admin/html/whats-new.php:1182
2639
  msgid "Code structure organization and optimization for better performance"
2640
  msgstr ""
2641
 
2642
- #: admin/html/whats-new.php:1134
2643
  msgid "WoooCommerce billing address Sync"
2644
  msgstr ""
2645
 
2646
- #: admin/html/whats-new.php:1136
2647
  msgid ""
2648
  "If an existing customer has previously set his billing address, that will "
2649
  "be imported into WPUF Billing address "
2650
  msgstr ""
2651
 
2652
- #: admin/html/whats-new.php:1139
2653
  msgid "Trial subscription message not showing properly"
2654
  msgstr ""
2655
 
2656
- #: admin/html/whats-new.php:1141
2657
  msgid "Subscriptions with Trial now shows trial notices"
2658
  msgstr ""
2659
 
2660
- #: admin/html/whats-new.php:1144
2661
  msgid "Reset email Key not working"
2662
  msgstr ""
2663
 
2664
- #: admin/html/whats-new.php:1146
2665
  msgid "Reset Email key was not working in some cases"
2666
  msgstr ""
2667
 
2668
- #: admin/html/whats-new.php:1149
2669
  msgid "Post count not showing on the frontend dashboard"
2670
  msgstr ""
2671
 
2672
- #: admin/html/whats-new.php:1151
2673
  msgid ""
2674
  "Dashboard with multiple post type was not showing post counts properly, is "
2675
  "now fixed and shows count for each post type"
2676
  msgstr ""
2677
 
2678
- #: admin/html/whats-new.php:1154
2679
  msgid "Login Redirect showing blank page is fixed"
2680
  msgstr ""
2681
 
2682
- #: admin/html/whats-new.php:1156
2683
  msgid ""
2684
  "If \"Previous Page\" was set for redirection, login redirect was "
2685
  "redirecting to blank page for users who hit login page directly"
2686
  msgstr ""
2687
 
2688
- #: admin/html/whats-new.php:1165
2689
  msgid "Enhanced Login Redirect to redirect users to previous page"
2690
  msgstr ""
2691
 
2692
- #: admin/html/whats-new.php:1167
2693
  msgid ""
2694
  "You can choose Previous Page as Login Redirect page settings now to "
2695
  "redirect users to the page from which they went for Login. "
2696
  msgstr ""
2697
 
2698
- #: admin/html/whats-new.php:1170
2699
  msgid "Email HTML links not Rendreing properly issue is fixed"
2700
  msgstr ""
2701
 
2702
- #: admin/html/whats-new.php:1172
2703
  msgid ""
2704
  "For some clients emails were not rendering the HTML links properly, this is "
2705
  "now fixed"
2706
  msgstr ""
2707
 
2708
- #: admin/html/whats-new.php:1175
2709
  msgid "Form Builder : Form Field's Help text styles not showing properly"
2710
  msgstr ""
2711
 
2712
- #: admin/html/whats-new.php:1177
2713
  msgid "Help texts styling is now fixed and much easier to read and understand"
2714
  msgstr ""
2715
 
2716
- #: admin/html/whats-new.php:1180
2717
  msgid "Various other code improvements"
2718
  msgstr ""
2719
 
2720
- #: admin/html/whats-new.php:1191
2721
  msgid "Dashboard Post Listing now supports multiple post types"
2722
  msgstr ""
2723
 
2724
- #: admin/html/whats-new.php:1193
2725
  msgid ""
2726
  "Now you can show multiple post type in user dashboard using shortcode like "
2727
  "this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
2728
  msgstr ""
2729
 
2730
- #: admin/html/whats-new.php:1196
2731
  msgid "Added Login Redirect Settings"
2732
  msgstr ""
2733
 
2734
- #: admin/html/whats-new.php:1198
2735
  msgid ""
2736
  "You can now set a page from <i>WPUF Settings > Login/Registration > "
2737
  "Redirect after Login</i>. When login redirection is active the user will be "
2738
  "redirected to this page after login."
2739
  msgstr ""
2740
 
2741
- #: admin/html/whats-new.php:1201
2742
  msgid "Image Upload field button text can be changed"
2743
  msgstr ""
2744
 
2745
- #: admin/html/whats-new.php:1203
2746
  msgid ""
2747
  "The upload button text can now be changed for image upload fields which "
2748
  "defaults to \"Select Image\" if not set. "
2749
  msgstr ""
2750
 
2751
- #: admin/html/whats-new.php:1206
2752
  msgid "Multi Step Form styles made compatible with more themes"
2753
  msgstr ""
2754
 
2755
- #: admin/html/whats-new.php:1208
2756
  msgid "Multi Step form can now be styled more easily with other themes "
2757
  msgstr ""
2758
 
2759
- #: admin/html/whats-new.php:1211
2760
  msgid "Required field condition for google map not working is fixed"
2761
  msgstr ""
2762
 
2763
- #: admin/html/whats-new.php:1213
2764
  msgid ""
2765
  "If Google Map field was set as required users were able to submit form "
2766
  "without changing the default value."
2767
  msgstr ""
2768
 
2769
- #: admin/html/whats-new.php:1222
2770
  msgid "Admin form builder is now fully responsive."
2771
  msgstr ""
2772
 
2773
- #: admin/html/whats-new.php:1224
2774
  msgid ""
2775
  "Now you can edit forms from your mobile devices directly. Our improved "
2776
  "responsive layouts of form builder makes it easy for you to build forms on "
2777
  "the go."
2778
  msgstr ""
2779
 
2780
- #: admin/html/whats-new.php:1227
2781
  msgid "Added color schemes for creating attractive form layouts."
2782
  msgstr ""
2783
 
2784
- #: admin/html/whats-new.php:1229
2785
  msgid ""
2786
  "We have added 3 new color schemes for the form layouts which you can choose "
2787
  "from each form's new display settings."
2788
  msgstr ""
2789
 
2790
- #: admin/html/whats-new.php:1232
2791
  msgid "Restrict Free subscription pack to be enabled multiple times "
2792
  msgstr ""
2793
 
2794
- #: admin/html/whats-new.php:1234
2795
  msgid ""
2796
  "Free subscription packs now can only be purchased once and the limit "
2797
  "applies properly"
2798
  msgstr ""
2799
 
2800
- #: admin/html/whats-new.php:1237
2801
  msgid "Various other bug fixes and improvements were made "
2802
  msgstr ""
2803
 
2804
- #: admin/html/whats-new.php:1239
2805
  msgid "Please see the change log to see full details."
2806
  msgstr ""
2807
 
2808
- #: admin/html/whats-new.php:1248
2809
  msgid "Added upgrade function for default category"
2810
  msgstr ""
2811
 
2812
- #: admin/html/whats-new.php:1250
2813
  msgid "Upgrader added to upgrade previously set default post category."
2814
  msgstr ""
2815
 
2816
- #: admin/html/whats-new.php:1253
2817
  msgid "Subscription pack cannot be canceled"
2818
  msgstr ""
2819
 
2820
- #: admin/html/whats-new.php:1255
2821
  msgid ""
2822
  "Fixed recurring subscription pack cannot be canceled from my account page "
2823
  "in subscription details section."
2824
  msgstr ""
2825
 
2826
- #: admin/html/whats-new.php:1258
2827
  msgid "page installer admin notice logic issue"
2828
  msgstr ""
2829
 
2830
- #: admin/html/whats-new.php:1260
2831
  msgid ""
2832
  "Fixed page installer admin notice logic problem due to new payment settings "
2833
  "default value not set."
2834
  msgstr ""
2835
 
2836
- #: admin/html/whats-new.php:1270
2837
  msgid "Setup Wizard"
2838
  msgstr ""
2839
 
2840
- #: admin/html/whats-new.php:1272
2841
  msgid "Setup Wizard added to turn off payment options and install pages."
2842
  msgstr ""
2843
 
2844
- #: admin/html/whats-new.php:1276
2845
  msgid "Multi-select Category"
2846
  msgstr ""
2847
 
2848
- #: admin/html/whats-new.php:1278
2849
  msgid "Add multi-select to default category in post form settings."
2850
  msgstr ""
2851
 
2852
- #: admin/html/whats-new.php:1282
2853
  msgid "Select Text option for Taxonomy"
2854
  msgstr ""
2855
 
2856
- #: admin/html/whats-new.php:1284
2857
  msgid ""
2858
  "Add Select Text option for taxonomy fields. Now you can add default text "
2859
  "with empty value as first option for Taxonomy dropdown."
2860
  msgstr ""
2861
 
2862
- #: admin/html/whats-new.php:1287
2863
  msgid "Taxonomy Checkbox Inline"
2864
  msgstr ""
2865
 
2866
- #: admin/html/whats-new.php:1289
2867
  msgid ""
2868
  "Added checkbox inline option to taxonomy checkbox. You can now display "
2869
  "Taxonomy checkbox fields inline."
2870
  msgstr ""
2871
 
2872
- #: admin/html/whats-new.php:1299
2873
  msgid "Manage schedule for form submission"
2874
  msgstr ""
2875
 
2876
- #: admin/html/whats-new.php:1301
2877
  msgid ""
2878
  "Do not accept form submission if the current date is not between the date "
2879
  "range of the schedule."
2880
  msgstr ""
2881
 
2882
- #: admin/html/whats-new.php:1305
2883
  msgid "Restrict form submission based on the user roles"
2884
  msgstr ""
2885
 
2886
- #: admin/html/whats-new.php:1307
2887
  msgid ""
2888
  "Restrict form submission based on the user roles. Now you can manage user "
2889
  "role base permission on form submission."
2890
  msgstr ""
2891
 
2892
- #: admin/html/whats-new.php:1311
2893
  msgid "Limit how many entries a form will accept"
2894
  msgstr ""
2895
 
2896
- #: admin/html/whats-new.php:1313
2897
  msgid ""
2898
  "Limit how many entries a form will accept and display a custom message when "
2899
  "that limit is reached."
2900
  msgstr ""
2901
 
2902
- #: admin/html/whats-new.php:1317
2903
  msgid "Show/hide Admin Bar"
2904
  msgstr ""
2905
 
2906
- #: admin/html/whats-new.php:1319
2907
  msgid "Control the admin bar visibility based on user roles."
2908
  msgstr ""
2909
 
2910
- #: admin/html/whats-new.php:1323
2911
  msgid "Ajax Login widget"
2912
  msgstr ""
2913
 
2914
- #: admin/html/whats-new.php:1325
2915
  msgid ""
2916
  "Login user is more simple now with Ajax Login Widget. The simple ajax login "
2917
  "form do not required page loading for login."
2918
  msgstr ""
2919
 
2920
- #: admin/html/whats-new.php:1329
2921
  msgid "Form submission with Captcha field"
2922
  msgstr ""
2923
 
2924
- #: admin/html/whats-new.php:1331
2925
  msgid "Form field validation process updated if form submits with captcha field."
2926
  msgstr ""
2927
 
2928
- #: admin/html/whats-new.php:1345
2929
  msgid "What's New in WPUF?"
2930
  msgstr ""
2931
 
@@ -2948,7 +3060,7 @@ msgid "Congratulations!"
2948
  msgstr ""
2949
 
2950
  #: admin/installer.php:84 admin/settings-options.php:24
2951
- #: includes/free/admin/shortcode-button.php:79 wpuf-functions.php:2039
2952
  msgid "Dashboard"
2953
  msgstr ""
2954
 
@@ -2963,7 +3075,7 @@ msgstr ""
2963
 
2964
  #: admin/installer.php:95 class/subscription.php:410 class/subscription.php:430
2965
  #: class/subscription.php:431 class/subscription.php:432
2966
- #: includes/free/admin/shortcode-button.php:99 wpuf-functions.php:2022
2967
  msgid "Subscription"
2968
  msgstr ""
2969
 
@@ -2972,7 +3084,7 @@ msgid "[wpuf_sub_pack]"
2972
  msgstr ""
2973
 
2974
  #: admin/installer.php:96 templates/dashboard/list.php:16
2975
- #: templates/dashboard/posts.php:116
2976
  msgid "Payment"
2977
  msgstr ""
2978
 
@@ -3058,7 +3170,7 @@ msgstr ""
3058
  msgid "Draft"
3059
  msgstr ""
3060
 
3061
- #: admin/posting.php:72 class/asset-loader.php:55 class/render-form.php:1673
3062
  #: wpuf.php:736
3063
  msgid "Are you sure?"
3064
  msgstr ""
@@ -3370,29 +3482,19 @@ msgstr ""
3370
  msgid "WP User Frontend Pro is the most powerful solution for your frontend needs."
3371
  msgstr ""
3372
 
3373
- #: admin/promotion.php:38
3374
- msgid ""
3375
- "Irresistible Black Friday & Cyber Monday Deals. Enjoy Up To 50% OFF on WP "
3376
- "User Frontend Pro."
3377
- msgstr ""
3378
-
3379
- #: admin/promotion.php:38
3380
- msgid "Get Now"
3381
- msgstr ""
3382
-
3383
- #: admin/promotion.php:88
3384
  msgid "Sure! I'd love to!"
3385
  msgstr ""
3386
 
3387
- #: admin/promotion.php:89
3388
  msgid "I've already left a review"
3389
  msgstr ""
3390
 
3391
- #: admin/promotion.php:90
3392
  msgid "Never show again"
3393
  msgstr ""
3394
 
3395
- #: admin/promotion.php:226 includes/class-whats-new.php:107
3396
  msgid "Dismiss this notice."
3397
  msgstr ""
3398
 
@@ -3608,303 +3710,311 @@ msgid "Disable post editing while post in \"pending\" status"
3608
  msgstr ""
3609
 
3610
  #: admin/settings-options.php:247
3611
- msgid "Posts per page"
3612
  msgstr ""
3613
 
3614
  #: admin/settings-options.php:248
3615
- msgid "How many posts will be listed in a page"
3616
  msgstr ""
3617
 
3618
  #: admin/settings-options.php:254
3619
- msgid "Show user bio"
3620
  msgstr ""
3621
 
3622
  #: admin/settings-options.php:255
3623
- msgid "Users biographical info will be shown"
3624
  msgstr ""
3625
 
3626
  #: admin/settings-options.php:261
3627
- msgid "Show post count"
3628
  msgstr ""
3629
 
3630
  #: admin/settings-options.php:262
3631
- msgid "Show how many posts are created by the user"
3632
  msgstr ""
3633
 
3634
  #: admin/settings-options.php:268
3635
- msgid "Show Featured Image"
3636
  msgstr ""
3637
 
3638
  #: admin/settings-options.php:269
 
 
 
 
 
 
 
 
3639
  msgid "Show featured image of the post (Overridden by Shortcode)"
3640
  msgstr ""
3641
 
3642
- #: admin/settings-options.php:274
3643
  msgid "Show Payment Column"
3644
  msgstr ""
3645
 
3646
- #: admin/settings-options.php:275
3647
  msgid "Enable if you want show payment column on posts table"
3648
  msgstr ""
3649
 
3650
- #: admin/settings-options.php:281
3651
  msgid "Featured Image size"
3652
  msgstr ""
3653
 
3654
- #: admin/settings-options.php:288
3655
  msgid "Not logged in users will see this message"
3656
  msgstr ""
3657
 
3658
- #: admin/settings-options.php:297
3659
  msgid "Account Page"
3660
  msgstr ""
3661
 
3662
- #: admin/settings-options.php:298
3663
  msgid "Select the page which contains <code>[wpuf_account]</code> shortcode"
3664
  msgstr ""
3665
 
3666
- #: admin/settings-options.php:304
3667
  msgid "Select Custom Post For Account Page"
3668
  msgstr ""
3669
 
3670
- #: admin/settings-options.php:305
3671
  msgid "Select the post types you want to show on user dashboard."
3672
  msgstr ""
3673
 
3674
- #: admin/settings-options.php:311
3675
  msgid "Active Tab"
3676
  msgstr ""
3677
 
3678
- #: admin/settings-options.php:312
3679
  msgid "Which tab should be set as active by default when opening the account page"
3680
  msgstr ""
3681
 
3682
- #: admin/settings-options.php:318
3683
  msgid "Show Subscriptions"
3684
  msgstr ""
3685
 
3686
- #: admin/settings-options.php:319
3687
  msgid ""
3688
  "Show Subscriptions tab in \"my account\" page where "
3689
  "<code>[wpuf_account]</code> is located"
3690
  msgstr ""
3691
 
3692
- #: admin/settings-options.php:325 includes/class-customizer.php:21
3693
  #: includes/class-customizer.php:65
3694
  msgid "Show Billing Address"
3695
  msgstr ""
3696
 
3697
- #: admin/settings-options.php:326
3698
  msgid "Show billing address in account page."
3699
  msgstr ""
3700
 
3701
- #: admin/settings-options.php:336
3702
  msgid "Auto Login After Registration"
3703
  msgstr ""
3704
 
3705
- #: admin/settings-options.php:337
3706
  msgid "If enabled, users after registration will be logged in to the system"
3707
  msgstr ""
3708
 
3709
- #: admin/settings-options.php:343
3710
  msgid "Login/Registration override"
3711
  msgstr ""
3712
 
3713
- #: admin/settings-options.php:344
3714
  msgid ""
3715
  "If enabled, default login and registration forms will be overridden by WPUF "
3716
  "with pages below"
3717
  msgstr ""
3718
 
3719
- #: admin/settings-options.php:350
3720
  msgid "Registration Page"
3721
  msgstr ""
3722
 
3723
- #: admin/settings-options.php:351
3724
  msgid ""
3725
  "Select the page you want to use as registration page override <em>(should "
3726
  "have shortcode)</em>"
3727
  msgstr ""
3728
 
3729
- #: admin/settings-options.php:357
3730
  msgid "Login Page"
3731
  msgstr ""
3732
 
3733
- #: admin/settings-options.php:358
3734
  msgid "Select the page which contains <code>[wpuf-login]</code> shortcode"
3735
  msgstr ""
3736
 
3737
- #: admin/settings-options.php:364
3738
  msgid "Redirect After Login"
3739
  msgstr ""
3740
 
3741
- #: admin/settings-options.php:365
3742
  msgid "After successfull login, where the page will redirect to"
3743
  msgstr ""
3744
 
3745
- #: admin/settings-options.php:371
3746
  msgid "Default Login Redirect"
3747
  msgstr ""
3748
 
3749
- #: admin/settings-options.php:372
3750
  msgid ""
3751
  "If enabled, users who login using WordPress default login form will be "
3752
  "redirected to the selected page."
3753
  msgstr ""
3754
 
3755
- #: admin/settings-options.php:378
3756
  msgid "reCAPTCHA in Login Form"
3757
  msgstr ""
3758
 
3759
- #: admin/settings-options.php:379
3760
  msgid ""
3761
  "If enabled, users have to verify reCAPTCHA in login page. Also, make sure "
3762
  "that reCAPTCHA is configured properly from <b>General Options</b>"
3763
  msgstr ""
3764
 
3765
- #: admin/settings-options.php:390
3766
  msgid "Enable payments on your site."
3767
  msgstr ""
3768
 
3769
- #: admin/settings-options.php:396
3770
  msgid "Subscription Pack Page"
3771
  msgstr ""
3772
 
3773
- #: admin/settings-options.php:397
3774
  msgid "Select the page where <code>[wpuf_sub_pack]</code> located."
3775
  msgstr ""
3776
 
3777
- #: admin/settings-options.php:403
3778
  msgid "Subscription at registration"
3779
  msgstr ""
3780
 
3781
- #: admin/settings-options.php:404
3782
  msgid "Registration time redirect to subscription page"
3783
  msgstr ""
3784
 
3785
- #: admin/settings-options.php:409
3786
  msgid "Currency"
3787
  msgstr ""
3788
 
3789
- #: admin/settings-options.php:416
3790
  msgid "Currency Position"
3791
  msgstr ""
3792
 
3793
- #: admin/settings-options.php:420
3794
  msgid "Left"
3795
  msgstr ""
3796
 
3797
- #: admin/settings-options.php:421
3798
  msgid "Right"
3799
  msgstr ""
3800
 
3801
- #: admin/settings-options.php:422
3802
  msgid "Left with space"
3803
  msgstr ""
3804
 
3805
- #: admin/settings-options.php:423
3806
  msgid "Right with space"
3807
  msgstr ""
3808
 
3809
- #: admin/settings-options.php:428
3810
  msgid "Thousand Separator"
3811
  msgstr ""
3812
 
3813
- #: admin/settings-options.php:429
3814
  msgid "This sets the thousand separator of displayed prices."
3815
  msgstr ""
3816
 
3817
- #: admin/settings-options.php:437
3818
  msgid "Decimal Separator"
3819
  msgstr ""
3820
 
3821
- #: admin/settings-options.php:438
3822
  msgid "This sets the decimal separator of displayed prices."
3823
  msgstr ""
3824
 
3825
- #: admin/settings-options.php:445
3826
  msgid "Number of Decimals"
3827
  msgstr ""
3828
 
3829
- #: admin/settings-options.php:446
3830
  msgid "This sets the number of decimal points shown in displayed prices."
3831
  msgstr ""
3832
 
3833
- #: admin/settings-options.php:456
3834
  msgid "Enable demo/sandbox mode"
3835
  msgstr ""
3836
 
3837
- #: admin/settings-options.php:457
3838
  msgid "When sandbox mode is active, all payment gateway will be used in demo mode"
3839
  msgstr ""
3840
 
3841
- #: admin/settings-options.php:463
3842
  msgid "Payment Page"
3843
  msgstr ""
3844
 
3845
- #: admin/settings-options.php:464
3846
  msgid "This page will be used to process payment options"
3847
  msgstr ""
3848
 
3849
- #: admin/settings-options.php:471 lib/gateway/bank.php:36
3850
  msgid "After payment users will be redirected here"
3851
  msgstr ""
3852
 
3853
- #: admin/settings-options.php:477
3854
  msgid "Payment Gateways"
3855
  msgstr ""
3856
 
3857
- #: admin/settings-options.php:478
3858
  msgid "Active payment gateways"
3859
  msgstr ""
3860
 
3861
- #: admin/settings-options.php:484
3862
  msgid "Retry Failed Payment"
3863
  msgstr ""
3864
 
3865
- #: admin/settings-options.php:485
3866
  msgid "How many times should retry for failed payment max is 4"
3867
  msgstr ""
3868
 
3869
- #: admin/settings-options.php:500
3870
  msgid "<span class=\"dashicons dashicons-universal-access-alt\"></span> Guest Email"
3871
  msgstr ""
3872
 
3873
- #: admin/settings-options.php:507
3874
  msgid "Guest Email Notification"
3875
  msgstr ""
3876
 
3877
- #: admin/settings-options.php:508
3878
  msgid "Enable Guest Email Notification ."
3879
  msgstr ""
3880
 
3881
- #: admin/settings-options.php:514
3882
  msgid "Guest mail subject"
3883
  msgstr ""
3884
 
3885
- #: admin/settings-options.php:515
3886
  msgid "This sets the subject of the emails sent to guest users"
3887
  msgstr ""
3888
 
3889
- #: admin/settings-options.php:522
3890
  msgid "Guest mail body"
3891
  msgstr ""
3892
 
3893
- #: admin/settings-options.php:523
3894
  msgid ""
3895
  "This sets the body of the emails sent to guest users. Please DON'T edit the "
3896
  "<code>{activation_link}</code> part, you can use {sitename} too."
3897
  msgstr ""
3898
 
3899
- #: admin/settings-options.php:542
3900
  msgid "Post Types"
3901
  msgstr ""
3902
 
3903
- #: admin/settings-options.php:543
3904
  msgid "Select the post types you will allow users to export."
3905
  msgstr ""
3906
 
3907
- #: admin/settings-options.php:569
3908
  msgid ""
3909
  "Select profile/registration forms for user roles. These forms will be used "
3910
  "to populate extra edit profile fields in backend."
@@ -3914,11 +4024,11 @@ msgstr ""
3914
  msgid "Number of subscribers per page:"
3915
  msgstr ""
3916
 
3917
- #: admin/template-post.php:36 includes/fields/class-field-post-content.php:133
3918
  msgid "Enable Image Insertion"
3919
  msgstr ""
3920
 
3921
- #: admin/template-post.php:42 includes/fields/class-field-post-content.php:135
3922
  msgid "Enable image upload in post area"
3923
  msgstr ""
3924
 
@@ -3934,7 +4044,7 @@ msgstr ""
3934
  msgid "Max. file size"
3935
  msgstr ""
3936
 
3937
- #: admin/template-post.php:147 includes/fields/class-abstract-fields.php:428
3938
  msgid "Type"
3939
  msgstr ""
3940
 
@@ -3943,70 +4053,70 @@ msgstr ""
3943
  msgid "Dropdown"
3944
  msgstr ""
3945
 
3946
- #: admin/template-post.php:150 includes/fields/class-abstract-fields.php:432
3947
  #: includes/fields/class-field-multidropdown.php:9
3948
  #: includes/fields/class-field-multidropdown.php:79
3949
  msgid "Multi Select"
3950
  msgstr ""
3951
 
3952
- #: admin/template-post.php:151 includes/fields/class-abstract-fields.php:433
3953
  #: includes/fields/class-field-checkbox.php:9
3954
  msgid "Checkbox"
3955
  msgstr ""
3956
 
3957
- #: admin/template-post.php:152 includes/fields/class-abstract-fields.php:434
3958
  msgid "Text Input"
3959
  msgstr ""
3960
 
3961
- #: admin/template-post.php:153 includes/fields/class-abstract-fields.php:435
3962
  msgid "Ajax"
3963
  msgstr ""
3964
 
3965
- #: admin/template-post.php:158 includes/fields/class-abstract-fields.php:468
3966
  msgid "Order By"
3967
  msgstr ""
3968
 
3969
- #: admin/template-post.php:161 includes/fields/class-abstract-fields.php:472
3970
  msgid "Term ID"
3971
  msgstr ""
3972
 
3973
- #: admin/template-post.php:162 includes/fields/class-abstract-fields.php:473
3974
  msgid "Slug"
3975
  msgstr ""
3976
 
3977
- #: admin/template-post.php:163 includes/fields/class-abstract-fields.php:474
3978
  msgid "Count"
3979
  msgstr ""
3980
 
3981
- #: admin/template-post.php:164 includes/fields/class-abstract-fields.php:475
3982
  msgid "Term Group"
3983
  msgstr ""
3984
 
3985
- #: admin/template-post.php:169 includes/fields/class-abstract-fields.php:484
3986
  msgid "Order"
3987
  msgstr ""
3988
 
3989
- #: admin/template-post.php:171 includes/fields/class-abstract-fields.php:488
3990
  msgid "ASC"
3991
  msgstr ""
3992
 
3993
- #: admin/template-post.php:172 includes/fields/class-abstract-fields.php:489
3994
  msgid "DESC"
3995
  msgstr ""
3996
 
3997
- #: admin/template-post.php:177 includes/fields/class-abstract-fields.php:498
3998
  msgid "Selection Type"
3999
  msgstr ""
4000
 
4001
- #: admin/template-post.php:179 includes/fields/class-abstract-fields.php:501
4002
  msgid "Exclude"
4003
  msgstr ""
4004
 
4005
- #: admin/template-post.php:180 includes/fields/class-abstract-fields.php:502
4006
  msgid "Include"
4007
  msgstr ""
4008
 
4009
- #: admin/template-post.php:181 includes/fields/class-abstract-fields.php:503
4010
  msgid "Child of"
4011
  msgstr ""
4012
 
@@ -4022,7 +4132,7 @@ msgstr ""
4022
  msgid "WooCommerce Attribute"
4023
  msgstr ""
4024
 
4025
- #: admin/template-post.php:197 includes/fields/class-abstract-fields.php:525
4026
  msgid "This taxonomy is a WooCommerce attribute"
4027
  msgstr ""
4028
 
@@ -4030,7 +4140,7 @@ msgstr ""
4030
  msgid "Visibility"
4031
  msgstr ""
4032
 
4033
- #: admin/template-post.php:209 includes/fields/class-abstract-fields.php:536
4034
  msgid "Visible on product page"
4035
  msgstr ""
4036
 
@@ -4121,32 +4231,32 @@ msgid "Add a CSS class name for this field"
4121
  msgstr ""
4122
 
4123
  #: admin/template.php:117 admin/template.php:175
4124
- #: includes/fields/class-abstract-fields.php:564
4125
- #: includes/fields/class-abstract-fields.php:648
4126
  msgid "Placeholder text"
4127
  msgstr ""
4128
 
4129
- #: admin/template.php:118 includes/fields/class-abstract-fields.php:570
4130
- #: includes/fields/class-abstract-fields.php:652
4131
  msgid "Text for HTML5 placeholder attribute"
4132
  msgstr ""
4133
 
4134
  #: admin/template.php:122 admin/template.php:180
4135
- #: includes/fields/class-abstract-fields.php:575
4136
- #: includes/fields/class-abstract-fields.php:660
4137
  msgid "Default value"
4138
  msgstr ""
4139
 
4140
- #: admin/template.php:123 includes/fields/class-abstract-fields.php:581
4141
- #: includes/fields/class-abstract-fields.php:664
4142
  msgid "The default value this field will have"
4143
  msgstr ""
4144
 
4145
- #: admin/template.php:127 includes/fields/class-abstract-fields.php:586
4146
  msgid "Size"
4147
  msgstr ""
4148
 
4149
- #: admin/template.php:128 includes/fields/class-abstract-fields.php:591
4150
  msgid "Size of this input field"
4151
  msgstr ""
4152
 
@@ -4158,30 +4268,30 @@ msgstr ""
4158
  msgid "Numebr of words the author to be restricted in"
4159
  msgstr ""
4160
 
4161
- #: admin/template.php:165 includes/fields/class-abstract-fields.php:630
4162
  msgid "Rows"
4163
  msgstr ""
4164
 
4165
- #: admin/template.php:170 includes/fields/class-abstract-fields.php:639
4166
  #: includes/fields/class-field-column.php:9
4167
  msgid "Columns"
4168
  msgstr ""
4169
 
4170
- #: admin/template.php:185 includes/fields/class-abstract-fields.php:669
4171
  #: includes/fields/class-field-textarea.php:9
4172
- #: includes/fields/class-field-textarea.php:125
4173
  msgid "Textarea"
4174
  msgstr ""
4175
 
4176
- #: admin/template.php:188 includes/fields/class-abstract-fields.php:672
4177
  msgid "Normal"
4178
  msgstr ""
4179
 
4180
- #: admin/template.php:189 includes/fields/class-abstract-fields.php:673
4181
  msgid "Rich textarea"
4182
  msgstr ""
4183
 
4184
- #: admin/template.php:190 includes/fields/class-abstract-fields.php:674
4185
  msgid "Teeny Rich textarea"
4186
  msgstr ""
4187
 
@@ -4190,13 +4300,13 @@ msgid "show values"
4190
  msgstr ""
4191
 
4192
  #: admin/template.php:377 admin/template.php:401 admin/template.php:432
4193
- #: admin/template.php:463 includes/fields/class-abstract-fields.php:612
4194
- #: templates/dashboard/list.php:19 templates/dashboard/posts.php:119
4195
  msgid "Options"
4196
  msgstr ""
4197
 
4198
  #: admin/template.php:417 admin/template.php:448
4199
- #: includes/fields/class-abstract-fields.php:448
4200
  #: includes/fields/class-field-dropdown.php:87
4201
  msgid ""
4202
  "First element of the select dropdown. Leave this empty if you don't want to "
@@ -4204,7 +4314,7 @@ msgid ""
4204
  msgstr ""
4205
 
4206
  #: admin/template.php:427 admin/template.php:458
4207
- #: includes/fields/class-abstract-fields.php:444
4208
  #: includes/fields/class-field-dropdown.php:83
4209
  msgid "Select Text"
4210
  msgstr ""
@@ -4212,7 +4322,7 @@ msgstr ""
4212
  #: admin/template.php:520 admin/template.php:578 admin/template.php:656
4213
  #: class/upload.php:275 includes/fields/class-field-recaptcha.php:147
4214
  #: includes/fields/class-field-sectionbreak.php:55
4215
- #: templates/dashboard/list.php:10 templates/dashboard/posts.php:110
4216
  #: wpuf-functions.php:1024
4217
  msgid "Title"
4218
  msgstr ""
@@ -4288,92 +4398,92 @@ msgstr ""
4288
  msgid "Are you sure you want to cancel your current subscription ?"
4289
  msgstr ""
4290
 
4291
- #: class/frontend-account.php:38
4292
  msgid "Post Submission"
4293
  msgstr ""
4294
 
4295
- #: class/frontend-account.php:39
4296
  msgid "Enable if you want to allow users to submit post from the account page."
4297
  msgstr ""
4298
 
4299
- #: class/frontend-account.php:46
4300
  msgid "Submission Menu Label"
4301
  msgstr ""
4302
 
4303
- #: class/frontend-account.php:47
4304
  msgid "Label for post submission menu"
4305
  msgstr ""
4306
 
4307
- #: class/frontend-account.php:49 class/frontend-account.php:100
4308
  #: includes/class-wcmp-integration.php:127
4309
  #: includes/class-wcmp-integration.php:144
4310
  msgid "Submit Post"
4311
  msgstr ""
4312
 
4313
- #: class/frontend-account.php:54
4314
  msgid "Submission Form"
4315
  msgstr ""
4316
 
4317
- #: class/frontend-account.php:55
4318
  msgid ""
4319
  "Select a post form that will use to submit post by the users from their "
4320
  "account page."
4321
  msgstr ""
4322
 
4323
- #: class/frontend-account.php:242
4324
  msgid "<p>You have not subscribed to any package yet.</p>"
4325
  msgstr ""
4326
 
4327
- #: class/frontend-account.php:250
4328
  msgid "<p>You may have processed your payment, but the pack is not active yet.</p>"
4329
  msgstr ""
4330
 
4331
- #: class/frontend-account.php:267
4332
  #. translators: %s: billing cycle number, %s: billing cycle period
4333
  msgid "For each"
4334
  msgstr ""
4335
 
4336
- #: class/frontend-account.php:335
4337
  msgid "Nonce failure"
4338
  msgstr ""
4339
 
4340
- #: class/frontend-account.php:349
4341
  msgid "First Name is a required field."
4342
  msgstr ""
4343
 
4344
- #: class/frontend-account.php:353
4345
  msgid "Last Name is a required field."
4346
  msgstr ""
4347
 
4348
- #: class/frontend-account.php:357
4349
  msgid "Email is a required field."
4350
  msgstr ""
4351
 
4352
- #: class/frontend-account.php:369
4353
  msgid "Please provide a valid email address."
4354
  msgstr ""
4355
 
4356
- #: class/frontend-account.php:371
4357
  msgid "This email address is already registered."
4358
  msgstr ""
4359
 
4360
- #: class/frontend-account.php:377
4361
  msgid "Please fill out all password fields."
4362
  msgstr ""
4363
 
4364
- #: class/frontend-account.php:380
4365
  msgid "Please enter your current password."
4366
  msgstr ""
4367
 
4368
- #: class/frontend-account.php:383
4369
  msgid "Please re-enter your password."
4370
  msgstr ""
4371
 
4372
- #: class/frontend-account.php:386
4373
  msgid "New passwords do not match."
4374
  msgstr ""
4375
 
4376
- #: class/frontend-account.php:389 class/frontend-account.php:400
4377
  msgid "Your current password is incorrect."
4378
  msgstr ""
4379
 
@@ -4421,7 +4531,7 @@ msgid "You already have activated a free package previously."
4421
  msgstr ""
4422
 
4423
  #: class/payment.php:154 includes/class-customizer.php:56
4424
- #: wpuf-functions.php:2023
4425
  msgid "Billing Address"
4426
  msgstr ""
4427
 
@@ -4526,7 +4636,7 @@ msgstr ""
4526
  #: includes/fields/class-field-featured-image.php:142
4527
  #: includes/free/post-form-templates/the_events_calendar.php:125
4528
  #: includes/free/post-form-templates/the_events_calendar.php:126
4529
- #: templates/dashboard/list.php:7 templates/dashboard/posts.php:107
4530
  msgid "Featured Image"
4531
  msgstr ""
4532
 
@@ -4591,27 +4701,27 @@ msgstr ""
4591
  msgid "Please make sure you've published your form."
4592
  msgstr ""
4593
 
4594
- #: class/render-form.php:1317 includes/free/edit-profile.php:200
4595
  #: templates/registration-form.php:68
4596
  msgid "Confirm Password"
4597
  msgstr ""
4598
 
4599
- #: class/render-form.php:1339 includes/free/edit-profile.php:209
4600
  #: templates/dashboard/edit-profile.php:71
4601
  msgid "Strength indicator"
4602
  msgstr ""
4603
 
4604
- #: class/render-form.php:1401 includes/fields/class-field-post-taxonomy.php:127
4605
  #: includes/fields/class-field-post-taxonomy.php:258
4606
  msgid "-- Select --"
4607
  msgstr ""
4608
 
4609
- #: class/render-form.php:1465 includes/fields/class-field-post-taxonomy.php:66
4610
  msgid "This field is no longer available."
4611
  msgstr ""
4612
 
4613
- #: class/render-form.php:1673 class/transactions-list-table.php:122
4614
- #: class/transactions-list-table.php:199 includes/free/edit-user.php:105
4615
  msgid "Delete"
4616
  msgstr ""
4617
 
@@ -4760,7 +4870,7 @@ msgstr ""
4760
 
4761
  #: class/transactions-list-table.php:44
4762
  #: includes/class-list-table-subscribers.php:44 templates/dashboard/list.php:11
4763
- #: templates/dashboard/posts.php:111
4764
  msgid "Status"
4765
  msgstr ""
4766
 
@@ -4808,19 +4918,25 @@ msgstr ""
4808
  msgid "Date"
4809
  msgstr ""
4810
 
4811
- #: class/transactions-list-table.php:91 wpuf-functions.php:64
 
 
 
 
 
 
4812
  msgid "Pending"
4813
  msgstr ""
4814
 
4815
- #: class/transactions-list-table.php:117 class/transactions-list-table.php:194
4816
  msgid "Accept"
4817
  msgstr ""
4818
 
4819
- #: class/transactions-list-table.php:118 class/transactions-list-table.php:195
4820
  msgid "Reject"
4821
  msgstr ""
4822
 
4823
- #: class/transactions-list-table.php:181
4824
  msgid "No transactions found."
4825
  msgstr ""
4826
 
@@ -4889,50 +5005,50 @@ msgstr ""
4889
  msgid "Country"
4890
  msgstr ""
4891
 
4892
- #: includes/class-billing-address.php:184
4893
- #: templates/dashboard/billing-address.php:74
4894
  msgid "Choose a country"
4895
  msgstr ""
4896
 
4897
- #: includes/class-billing-address.php:203 includes/class-customizer.php:23
4898
- #: includes/class-customizer.php:67 templates/dashboard/billing-address.php:95
4899
- #: templates/dashboard/billing-address.php:96
4900
  msgid "State/Province/Region"
4901
  msgstr ""
4902
 
4903
- #: includes/class-billing-address.php:217
4904
- #: templates/dashboard/billing-address.php:116
4905
  msgid "Choose a state"
4906
  msgstr ""
4907
 
4908
- #: includes/class-billing-address.php:236
4909
- #: templates/dashboard/billing-address.php:139
4910
  msgid "Address Line 1 "
4911
  msgstr ""
4912
 
4913
- #: includes/class-billing-address.php:247
4914
- #: templates/dashboard/billing-address.php:147
4915
  msgid "Address Line 2 "
4916
  msgstr ""
4917
 
4918
- #: includes/class-billing-address.php:258 includes/class-customizer.php:26
4919
  #: includes/class-customizer.php:70 includes/class-privacy.php:253
4920
- #: templates/dashboard/billing-address.php:153
4921
- #: templates/dashboard/billing-address.php:154
4922
  msgid "City"
4923
  msgstr ""
4924
 
4925
- #: includes/class-billing-address.php:268 includes/class-customizer.php:27
4926
  #: includes/class-customizer.php:71
4927
  msgid "Postal Code/ZIP"
4928
  msgstr ""
4929
 
4930
- #: includes/class-billing-address.php:278
4931
- #: templates/dashboard/billing-address.php:172
4932
  msgid "Update Billing Address"
4933
  msgstr ""
4934
 
4935
- #: includes/class-billing-address.php:321
4936
  #: templates/dashboard/billing-address.php:32
4937
  msgid "Billing address is updated."
4938
  msgstr ""
@@ -5054,19 +5170,39 @@ msgstr ""
5054
  msgid "I don't know how to edit this post, I don't have the form ID"
5055
  msgstr ""
5056
 
5057
- #: includes/class-frontend-form-post.php:125
5058
  msgid "You can't edit a post while in pending mode."
5059
  msgstr ""
5060
 
5061
- #: includes/class-frontend-form-post.php:534
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5062
  msgid "Something went wrong"
5063
  msgstr ""
5064
 
5065
- #: includes/class-frontend-form-post.php:555
5066
  msgid "Invalid email address."
5067
  msgstr ""
5068
 
5069
- #: includes/class-frontend-form-post.php:566
5070
  msgid ""
5071
  "You already have an account in our site. Please login to continue.\n"
5072
  "\n"
@@ -5075,33 +5211,33 @@ msgid ""
5075
  "Click 'Cancel' to stay at this page."
5076
  msgstr ""
5077
 
5078
- #: includes/class-frontend-form-post.php:620
5079
- #: includes/class-frontend-render-form.php:327
5080
  msgid "You do not have sufficient permissions to access this form."
5081
  msgstr ""
5082
 
5083
- #: includes/class-frontend-form-post.php:932
5084
  msgid "Email successfully verified. Please Login."
5085
  msgstr ""
5086
 
5087
- #: includes/class-frontend-form-post.php:1059
5088
- #: includes/class-frontend-form-post.php:1065
5089
  msgid ""
5090
  "Thank you for posting on our site. We have sent you an confirmation email. "
5091
  "Please check your inbox!"
5092
  msgstr ""
5093
 
5094
- #: includes/class-frontend-render-form.php:872
5095
  #: includes/free/class-login.php:449
5096
  msgid "Empty reCaptcha Field"
5097
  msgstr ""
5098
 
5099
- #: includes/class-frontend-render-form.php:905
5100
- #: templates/dashboard/posts.php:130
5101
  msgid "Featured"
5102
  msgstr ""
5103
 
5104
- #: includes/class-frontend-render-form.php:910
5105
  msgid "Mark the %s as featured (remaining %d)"
5106
  msgstr ""
5107
 
@@ -5133,11 +5269,6 @@ msgstr ""
5133
  msgid "Expire date"
5134
  msgstr ""
5135
 
5136
- #: includes/class-list-table-subscribers.php:137
5137
- #: templates/dashboard/list.php:81 templates/dashboard/posts.php:181
5138
- msgid "Completed"
5139
- msgstr ""
5140
-
5141
  #: includes/class-login-widget.php:13
5142
  msgid "WPUF Ajax Login"
5143
  msgstr ""
@@ -5178,21 +5309,21 @@ msgstr ""
5178
  msgid "Someone has requested a password reset for the following account:"
5179
  msgstr ""
5180
 
5181
- #: includes/class-login-widget.php:147 includes/free/class-login.php:859
5182
- #: includes/free/class-login.php:971 includes/free/class-registration.php:299
5183
  #. translators: %s: username
5184
  msgid "Username: %s"
5185
  msgstr ""
5186
 
5187
- #: includes/class-login-widget.php:148 includes/free/class-login.php:972
5188
  msgid "If this was a mistake, just ignore this email and nothing will happen."
5189
  msgstr ""
5190
 
5191
- #: includes/class-login-widget.php:149 includes/free/class-login.php:973
5192
  msgid "To reset your password, visit the following address:"
5193
  msgstr ""
5194
 
5195
- #: includes/class-login-widget.php:154 includes/free/class-login.php:984
5196
  #. translators: %s: blogname
5197
  msgid "[%s] Password Reset"
5198
  msgstr ""
@@ -5611,32 +5742,32 @@ msgstr ""
5611
  msgid "The subscription pack has expired. Please buy a pack."
5612
  msgstr ""
5613
 
5614
- #: includes/class-user-subscription.php:319
5615
  #: templates/dashboard/subscription.php:3
5616
  msgid "Subscription Details"
5617
  msgstr ""
5618
 
5619
- #: includes/class-user-subscription.php:321
5620
  #: templates/dashboard/subscription.php:5
5621
  msgid "Subcription Name: "
5622
  msgstr ""
5623
 
5624
- #: includes/class-user-subscription.php:323
5625
  #: templates/dashboard/subscription.php:7
5626
  msgid "Package & billing details: "
5627
  msgstr ""
5628
 
5629
- #: includes/class-user-subscription.php:334
5630
  #: templates/dashboard/subscription.php:20
5631
  msgid "Remaining post: "
5632
  msgstr ""
5633
 
5634
- #: includes/class-user-subscription.php:348
5635
  #: templates/dashboard/subscription.php:36
5636
  msgid "Unlimited"
5637
  msgstr ""
5638
 
5639
- #: includes/class-user-subscription.php:380
5640
  msgid "Change"
5641
  msgstr ""
5642
 
@@ -5749,54 +5880,76 @@ msgstr ""
5749
  msgid "Select option"
5750
  msgstr ""
5751
 
 
 
 
 
5752
  #: includes/fields/class-abstract-fields.php:375
 
 
 
 
 
 
 
 
5753
  msgid "Show Data in Post"
5754
  msgstr ""
5755
 
5756
- #: includes/fields/class-abstract-fields.php:385
5757
  msgid "Select Yes if you want to show the field data in single post."
5758
  msgstr ""
5759
 
5760
- #: includes/fields/class-abstract-fields.php:389
5761
  msgid "Hide Field Label in Post"
5762
  msgstr ""
5763
 
5764
- #: includes/fields/class-abstract-fields.php:399
5765
  msgid "Select Yes if you want to hide the field label in single post."
5766
  msgstr ""
5767
 
5768
- #: includes/fields/class-abstract-fields.php:453
5769
  #: includes/fields/class-field-checkbox.php:71
5770
  #: includes/fields/class-field-radio.php:80
5771
  msgid "Show in inline list"
5772
  msgstr ""
5773
 
5774
- #: includes/fields/class-abstract-fields.php:463
5775
  #: includes/fields/class-field-checkbox.php:81
5776
  #: includes/fields/class-field-radio.php:90
5777
  msgid "Show this option in an inline list"
5778
  msgstr ""
5779
 
5780
- #: includes/fields/class-abstract-fields.php:512
5781
  msgid "Selection Terms"
5782
  msgstr ""
5783
 
5784
- #: includes/fields/class-abstract-fields.php:516
5785
  msgid "Search the terms name. use ⇦ ⇨ for navigate"
5786
  msgstr ""
5787
 
5788
- #: includes/fields/class-abstract-fields.php:617
5789
  msgid "Add options for the form field"
5790
  msgstr ""
5791
 
5792
- #: includes/fields/class-abstract-fields.php:634
5793
  msgid "Number of rows in textarea"
5794
  msgstr ""
5795
 
5796
- #: includes/fields/class-abstract-fields.php:643
5797
  msgid "Number of columns in textarea"
5798
  msgstr ""
5799
 
 
 
 
 
 
 
 
 
 
 
5800
  #: includes/fields/class-field-column.php:70
5801
  msgid "Number of Columns"
5802
  msgstr ""
@@ -6079,31 +6232,31 @@ msgstr ""
6079
  msgid "A user could not be found with this email address."
6080
  msgstr ""
6081
 
6082
- #: includes/free/class-login.php:646
6083
  msgid "Please enter your password."
6084
  msgstr ""
6085
 
6086
- #: includes/free/class-login.php:652
6087
  msgid "Passwords do not match."
6088
  msgstr ""
6089
 
6090
- #: includes/free/class-login.php:700
6091
  msgid "Enter a username or e-mail address."
6092
  msgstr ""
6093
 
6094
- #: includes/free/class-login.php:707
6095
  msgid "There is no user registered with that email address."
6096
  msgstr ""
6097
 
6098
- #: includes/free/class-login.php:724
6099
  msgid "Invalid username or e-mail."
6100
  msgstr ""
6101
 
6102
- #: includes/free/class-login.php:738
6103
  msgid "Password reset is not allowed for this user"
6104
  msgstr ""
6105
 
6106
- #: includes/free/class-login.php:777
6107
  #. translators: %s: activation link
6108
  msgid ""
6109
  "<strong>Your account is not active.</strong><br>Please check your email for "
@@ -6111,65 +6264,69 @@ msgid ""
6111
  "link"
6112
  msgstr ""
6113
 
6114
- #: includes/free/class-login.php:798 includes/free/class-login.php:823
6115
  msgid "Activation URL is not valid"
6116
  msgstr ""
6117
 
6118
- #: includes/free/class-login.php:809
6119
  msgid "Invalid User activation url"
6120
  msgstr ""
6121
 
6122
- #: includes/free/class-login.php:815
6123
  msgid "User already verified"
6124
  msgstr ""
6125
 
6126
- #: includes/free/class-login.php:831 includes/free/class-login.php:919
6127
  msgid "Your account has been activated"
6128
  msgstr ""
6129
 
6130
- #: includes/free/class-login.php:834
6131
  msgid ""
6132
  "Your account has been verified , but you can't login until manually "
6133
  "approved your account by an administrator."
6134
  msgstr ""
6135
 
6136
- #: includes/free/class-login.php:857
6137
  #. translators: %s: blogname
6138
  msgid "[%s] Your username and password info"
6139
  msgstr ""
6140
 
6141
- #: includes/free/class-login.php:860
6142
  msgid "To set your password, visit the following address:"
6143
  msgstr ""
6144
 
6145
- #: includes/free/class-login.php:871
 
 
 
 
 
 
 
 
 
 
 
 
6146
  #. translators: %s: blogname
6147
  msgid "[%s] Account has been activated"
6148
  msgstr ""
6149
 
6150
- #: includes/free/class-login.php:873
6151
  #. translators: %s: username
6152
  msgid "Hi %s,"
6153
  msgstr ""
6154
 
6155
- #: includes/free/class-login.php:874
6156
  msgid "Congrats! Your account has been activated. To login visit the following url:"
6157
  msgstr ""
6158
 
6159
- #: includes/free/class-login.php:876
6160
  msgid "Thanks"
6161
  msgstr ""
6162
 
6163
- #: includes/free/class-login.php:968
6164
- msgid "Someone requested that the password be reset for the following account:"
6165
- msgstr ""
6166
-
6167
- #: includes/free/class-login.php:990
6168
- msgid "The e-mail could not be sent."
6169
- msgstr ""
6170
-
6171
- #: includes/free/class-login.php:990
6172
- msgid "Possible reason: your host may have disabled the mail() function."
6173
  msgstr ""
6174
 
6175
  #: includes/free/class-registration.php:210
@@ -6744,7 +6901,7 @@ msgstr ""
6744
  msgid "Submit & Deactivate"
6745
  msgstr ""
6746
 
6747
- #: lib/class.settings-api.php:368
6748
  msgid "Choose File"
6749
  msgstr ""
6750
 
@@ -6800,16 +6957,16 @@ msgstr ""
6800
  msgid "PayPal API signature"
6801
  msgstr ""
6802
 
6803
- #: templates/dashboard/billing-address.php:138
6804
  msgid "Address Line 1"
6805
  msgstr ""
6806
 
6807
- #: templates/dashboard/billing-address.php:146
6808
  msgid "Address Line 2"
6809
  msgstr ""
6810
 
6811
- #: templates/dashboard/billing-address.php:161
6812
- #: templates/dashboard/billing-address.php:163
6813
  msgid "Postal/ZIP Code"
6814
  msgstr ""
6815
 
@@ -6853,39 +7010,39 @@ msgstr ""
6853
  msgid "Confirm New Password"
6854
  msgstr ""
6855
 
6856
- #: templates/dashboard/list.php:33 templates/dashboard/posts.php:135
6857
  msgid "Featured Image: "
6858
  msgstr ""
6859
 
6860
- #: templates/dashboard/list.php:40 templates/dashboard/posts.php:142
6861
  msgid "No Image"
6862
  msgstr ""
6863
 
6864
- #: templates/dashboard/list.php:50 templates/dashboard/posts.php:152
6865
  msgid "Title: "
6866
  msgstr ""
6867
 
6868
- #: templates/dashboard/list.php:57 templates/dashboard/posts.php:159
6869
  msgid "Permalink to %s"
6870
  msgstr ""
6871
 
6872
- #: templates/dashboard/list.php:66 templates/dashboard/posts.php:168
6873
  msgid "Status: "
6874
  msgstr ""
6875
 
6876
- #: templates/dashboard/list.php:77 templates/dashboard/posts.php:177
6877
  msgid "Not Applicable"
6878
  msgstr ""
6879
 
6880
- #: templates/dashboard/list.php:79 templates/dashboard/posts.php:179
6881
  msgid "Pay Now"
6882
  msgstr ""
6883
 
6884
- #: templates/dashboard/list.php:88 templates/dashboard/posts.php:186
6885
  msgid "Options: "
6886
  msgstr ""
6887
 
6888
- #: templates/dashboard/list.php:121 templates/dashboard/posts.php:217
6889
  msgid "Are you sure to delete?"
6890
  msgstr ""
6891
 
@@ -6893,19 +7050,19 @@ msgstr ""
6893
  msgid "Item Deleted successfully !"
6894
  msgstr ""
6895
 
6896
- #: templates/dashboard/posts.php:175
6897
  msgid "Payment: "
6898
  msgstr ""
6899
 
6900
- #: templates/dashboard/posts.php:238 templates/dashboard.php:102
6901
  msgid "&laquo;"
6902
  msgstr ""
6903
 
6904
- #: templates/dashboard/posts.php:239 templates/dashboard.php:103
6905
  msgid "&raquo;"
6906
  msgstr ""
6907
 
6908
- #: templates/dashboard/posts.php:262 templates/dashboard.php:126
6909
  msgid "No %s found"
6910
  msgstr ""
6911
 
@@ -6925,7 +7082,7 @@ msgstr ""
6925
  msgid "Number of featured item: "
6926
  msgstr ""
6927
 
6928
- #: templates/dashboard/subscription.php:63
6929
  msgid "To cancel the pack, press the following cancel button."
6930
  msgstr ""
6931
 
@@ -7055,231 +7212,231 @@ msgstr ""
7055
  msgid "Directions »"
7056
  msgstr ""
7057
 
7058
- #: wpuf-functions.php:2021
7059
  msgid "Edit Profile"
7060
  msgstr ""
7061
 
7062
- #: wpuf-functions.php:2170
7063
  msgid "United Arab Emirates Dirham"
7064
  msgstr ""
7065
 
7066
- #: wpuf-functions.php:2175
7067
  msgid "Australian Dollars"
7068
  msgstr ""
7069
 
7070
- #: wpuf-functions.php:2180
7071
  msgid "Argentine Peso"
7072
  msgstr ""
7073
 
7074
- #: wpuf-functions.php:2185
7075
  msgid "Bangladeshi Taka"
7076
  msgstr ""
7077
 
7078
- #: wpuf-functions.php:2190
7079
  msgid "Brazilian Real"
7080
  msgstr ""
7081
 
7082
- #: wpuf-functions.php:2195
7083
  msgid "Bulgarian Lev"
7084
  msgstr ""
7085
 
7086
- #: wpuf-functions.php:2200
7087
  msgid "Canadian Dollars"
7088
  msgstr ""
7089
 
7090
- #: wpuf-functions.php:2205
7091
  msgid "Chilean Peso"
7092
  msgstr ""
7093
 
7094
- #: wpuf-functions.php:2210
7095
  msgid "Chinese Yuan"
7096
  msgstr ""
7097
 
7098
- #: wpuf-functions.php:2215
7099
  msgid "Colombian Peso"
7100
  msgstr ""
7101
 
7102
- #: wpuf-functions.php:2220
7103
  msgid "Czech Koruna"
7104
  msgstr ""
7105
 
7106
- #: wpuf-functions.php:2225
7107
  msgid "Danish Krone"
7108
  msgstr ""
7109
 
7110
- #: wpuf-functions.php:2230
7111
  msgid "Dominican Peso"
7112
  msgstr ""
7113
 
7114
- #: wpuf-functions.php:2235
7115
  msgid "Algerian Dinar"
7116
  msgstr ""
7117
 
7118
- #: wpuf-functions.php:2240
7119
  msgid "Euros"
7120
  msgstr ""
7121
 
7122
- #: wpuf-functions.php:2245
7123
  msgid "Hong Kong Dollar"
7124
  msgstr ""
7125
 
7126
- #: wpuf-functions.php:2250
7127
  msgid "Croatia kuna"
7128
  msgstr ""
7129
 
7130
- #: wpuf-functions.php:2255
7131
  msgid "Hungarian Forint"
7132
  msgstr ""
7133
 
7134
- #: wpuf-functions.php:2260
7135
  msgid "Icelandic krona"
7136
  msgstr ""
7137
 
7138
- #: wpuf-functions.php:2265
7139
  msgid "Indonesia Rupiah"
7140
  msgstr ""
7141
 
7142
- #: wpuf-functions.php:2270
7143
  msgid "Indian Rupee"
7144
  msgstr ""
7145
 
7146
- #: wpuf-functions.php:2275
7147
  msgid "Mauritian Rupee"
7148
  msgstr ""
7149
 
7150
- #: wpuf-functions.php:2280
7151
  msgid "Nepali Rupee"
7152
  msgstr ""
7153
 
7154
- #: wpuf-functions.php:2285
7155
  msgid "Israeli Shekel"
7156
  msgstr ""
7157
 
7158
- #: wpuf-functions.php:2290
7159
  msgid "Japanese Yen"
7160
  msgstr ""
7161
 
7162
- #: wpuf-functions.php:2295
7163
  msgid "Lao Kip"
7164
  msgstr ""
7165
 
7166
- #: wpuf-functions.php:2300
7167
  msgid "South Korean Won"
7168
  msgstr ""
7169
 
7170
- #: wpuf-functions.php:2305
7171
  msgid "Malaysian Ringgits"
7172
  msgstr ""
7173
 
7174
- #: wpuf-functions.php:2310
7175
  msgid "Mexican Peso"
7176
  msgstr ""
7177
 
7178
- #: wpuf-functions.php:2315
7179
  msgid "Nigerian Naira"
7180
  msgstr ""
7181
 
7182
- #: wpuf-functions.php:2320
7183
  msgid "Norwegian Krone"
7184
  msgstr ""
7185
 
7186
- #: wpuf-functions.php:2325
7187
  msgid "New Zealand Dollar"
7188
  msgstr ""
7189
 
7190
- #: wpuf-functions.php:2330
7191
  msgid "Namibian dollar"
7192
  msgstr ""
7193
 
7194
- #: wpuf-functions.php:2335
7195
  msgid "Omani Rial"
7196
  msgstr ""
7197
 
7198
- #: wpuf-functions.php:2340
7199
  msgid "Iranian Rial"
7200
  msgstr ""
7201
 
7202
- #: wpuf-functions.php:2345
7203
  msgid "Pakistani Rupee"
7204
  msgstr ""
7205
 
7206
- #: wpuf-functions.php:2350
7207
  msgid "Paraguayan Guaraní"
7208
  msgstr ""
7209
 
7210
- #: wpuf-functions.php:2355
7211
  msgid "Philippine Pesos"
7212
  msgstr ""
7213
 
7214
- #: wpuf-functions.php:2360
7215
  msgid "Polish Zloty"
7216
  msgstr ""
7217
 
7218
- #: wpuf-functions.php:2365
7219
  msgid "Pounds Sterling"
7220
  msgstr ""
7221
 
7222
- #: wpuf-functions.php:2370
7223
  msgid "Romanian Leu"
7224
  msgstr ""
7225
 
7226
- #: wpuf-functions.php:2375
7227
  msgid "Russian Ruble"
7228
  msgstr ""
7229
 
7230
- #: wpuf-functions.php:2380
7231
  msgid "Saudi Riyal"
7232
  msgstr ""
7233
 
7234
- #: wpuf-functions.php:2385
7235
  msgid "Singapore Dollar"
7236
  msgstr ""
7237
 
7238
- #: wpuf-functions.php:2390
7239
  msgid "South African rand"
7240
  msgstr ""
7241
 
7242
- #: wpuf-functions.php:2395
7243
  msgid "Swedish Krona"
7244
  msgstr ""
7245
 
7246
- #: wpuf-functions.php:2400
7247
  msgid "Swiss Franc"
7248
  msgstr ""
7249
 
7250
- #: wpuf-functions.php:2405
7251
  msgid "Taiwan New Dollars"
7252
  msgstr ""
7253
 
7254
- #: wpuf-functions.php:2410
7255
  msgid "Thai Baht"
7256
  msgstr ""
7257
 
7258
- #: wpuf-functions.php:2415
7259
  msgid "Turkish Lira"
7260
  msgstr ""
7261
 
7262
- #: wpuf-functions.php:2420
7263
  msgid "Trinidad and Tobago Dollar"
7264
  msgstr ""
7265
 
7266
- #: wpuf-functions.php:2425
7267
  msgid "US Dollar"
7268
  msgstr ""
7269
 
7270
- #: wpuf-functions.php:2430
7271
  msgid "Vietnamese Dong"
7272
  msgstr ""
7273
 
7274
- #: wpuf-functions.php:2435
7275
  msgid "Egyptian Pound"
7276
  msgstr ""
7277
 
7278
- #: wpuf-functions.php:2440
7279
  msgid "Jordanian dinar"
7280
  msgstr ""
7281
 
7282
- #: wpuf-functions.php:3341
7283
  msgid "None"
7284
  msgstr ""
7285
 
1
+ # Copyright (C) 2022 weDevs
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP User Frontend 3.5.27\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2022-03-16 09:30:00+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
 
 
 
 
14
  "Language: en\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Poedit-Country: United States\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-KeywordsList: "
19
+ "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
20
+ "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
21
  "X-Poedit-Basepath: ../\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
  "X-Poedit-Bookmarks: \n"
24
  "X-Textdomain-Support: yes\n"
25
+ "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
  #. Plugin Name of the plugin/theme
28
  msgid "WP User Frontend"
29
  msgstr ""
30
 
31
+ #: admin/class-admin-settings.php:87 admin/form.php:35
32
  msgid "User Frontend"
33
  msgstr ""
34
 
35
+ #: admin/class-admin-settings.php:89 admin/post-forms-list-table-view.php:4
36
  msgid "Post Forms"
37
  msgstr ""
38
 
39
+ #: admin/class-admin-settings.php:102
40
  msgid "Subscriptions"
41
  msgstr ""
42
 
43
+ #: admin/class-admin-settings.php:108 admin/class-tools.php:358
44
  #: admin/transactions.php:2
45
  msgid "Transactions"
46
  msgstr ""
47
 
48
+ #: admin/class-admin-settings.php:111 admin/tools.php:13
49
  msgid "Tools"
50
  msgstr ""
51
 
52
+ #: admin/class-admin-settings.php:116
53
  msgid "Premium"
54
  msgstr ""
55
 
56
+ #: admin/class-admin-settings.php:118
57
  msgid "Help"
58
  msgstr ""
59
 
60
+ #: admin/class-admin-settings.php:118
61
  msgid "<span style=\"color:#f18500\">Help</span>"
62
  msgstr ""
63
 
64
+ #: admin/class-admin-settings.php:119 admin/class-admin-settings.php:167
65
  #: admin/form-builder/views/form-builder.php:9 includes/setup-wizard.php:125
66
  msgid "Settings"
67
  msgstr ""
68
 
69
+ #: admin/class-admin-settings.php:121 admin/class-admin-subscription.php:204
70
  #: admin/subscribers.php:18
71
  msgid "Subscribers"
72
  msgstr ""
73
 
74
+ #: admin/class-admin-settings.php:464
75
  msgid "Number of items per page:"
76
  msgstr ""
77
 
78
+ #: admin/class-admin-settings.php:495
79
  msgid "Post lock has been cleared"
80
  msgstr ""
81
 
82
+ #: admin/class-admin-settings.php:525
83
  msgid "WPUF Import Forms"
84
  msgstr ""
85
 
86
+ #: admin/class-admin-settings.php:526
87
  msgid "Add JSON file"
88
  msgstr ""
89
 
90
+ #: admin/class-admin-settings.php:527
91
  msgid "Could not import forms."
92
  msgstr ""
93
 
94
+ #: admin/class-admin-settings.php:608
95
  msgid "Missing file_id param"
96
  msgstr ""
97
 
98
+ #: admin/class-admin-settings.php:618
99
  msgid "JSON file not found"
100
  msgstr ""
101
 
102
+ #: admin/class-admin-settings.php:627
103
  msgid "Provided file is not a JSON file."
104
  msgstr ""
105
 
106
+ #: admin/class-admin-settings.php:644
107
  msgid "Forms imported successfully."
108
  msgstr ""
109
 
161
  msgstr ""
162
 
163
  #: admin/class-admin-subscription.php:225
164
+ #: admin/class-admin-subscription.php:618 class/frontend-account.php:264
165
+ #: class/subscription.php:938 includes/class-user-subscription.php:312
166
  #: templates/subscriptions/pack-details.php:24
167
  msgid "Free"
168
  msgstr ""
173
  #: admin/settings-options.php:223 admin/settings-options.php:234
174
  #: admin/template.php:63 class/asset-loader.php:50
175
  #: includes/fields/class-abstract-fields.php:297
176
+ #: includes/fields/class-abstract-fields.php:390
177
+ #: includes/fields/class-abstract-fields.php:404
178
+ #: includes/fields/class-abstract-fields.php:468
179
  #: includes/fields/class-field-checkbox.php:74
180
  #: includes/fields/class-field-radio.php:83 includes/free/form-element.php:499
181
  #: wpuf.php:716
188
  #: admin/settings-options.php:224 admin/settings-options.php:235
189
  #: admin/template.php:64 class/asset-loader.php:51
190
  #: includes/fields/class-abstract-fields.php:298
191
+ #: includes/fields/class-abstract-fields.php:391
192
+ #: includes/fields/class-abstract-fields.php:405
193
+ #: includes/fields/class-abstract-fields.php:469
194
  #: includes/fields/class-field-checkbox.php:75
195
  #: includes/fields/class-field-radio.php:84 includes/free/form-element.php:500
196
  #: wpuf.php:717
197
  msgid "No"
198
  msgstr ""
199
 
200
+ #: admin/class-admin-subscription.php:339 admin/form.php:233
201
  msgid "Payment Settings"
202
  msgstr ""
203
 
234
  msgid "The featured item will be removed if the subscription expires"
235
  msgstr ""
236
 
237
+ #: admin/class-admin-subscription.php:435 admin/form.php:235
238
  #: includes/free/form-element.php:57
239
  msgid "Post Expiration"
240
  msgstr ""
301
  msgid "For each %1$s %2$s"
302
  msgstr ""
303
 
304
+ #: admin/class-admin-subscription.php:623 class/frontend-account.php:270
305
  #. translators: %s: number of installments
306
  msgid ", for %s installments"
307
  msgstr ""
327
  msgstr ""
328
 
329
  #: admin/class-admin-subscription.php:700
330
+ #: includes/class-user-subscription.php:364
331
+ #: templates/dashboard/subscription.php:50
332
  msgid "Expire date:"
333
  msgstr ""
334
 
345
  msgstr ""
346
 
347
  #: admin/class-admin-subscription.php:821
348
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:286
349
  #: class/payment.php:225 class/subscription.php:836
350
  #: includes/class-list-table-subscribers.php:138 lib/appsero/Insights.php:764
351
+ #: templates/dashboard/subscription.php:68
352
  msgid "Cancel"
353
  msgstr ""
354
 
356
  msgid "Select Package:"
357
  msgstr ""
358
 
359
+ #: admin/class-admin-subscription.php:830 admin/settings-options.php:587
360
+ #: wpuf-functions.php:210 wpuf-functions.php:1809 wpuf-functions.php:2057
361
  msgid "&mdash; Select &mdash;"
362
  msgstr ""
363
 
382
  msgstr ""
383
 
384
  #: admin/class-tools.php:43 admin/class-tools.php:106
385
+ #: admin/post-forms-list-table.php:43 class/transactions-list-table.php:95
386
+ #: includes/class-list-table-subscribers.php:136 wpuf-functions.php:3439
387
  msgid "All"
388
  msgstr ""
389
 
562
 
563
  #: admin/form-builder/assets/js/components/form-featured_image/template.php:6
564
  #: admin/form-builder/assets/js/components/form-image_upload/template.php:6
565
+ #: class/render-form.php:1664
566
  #: includes/fields/class-field-featured-image.php:122
567
  #: includes/fields/class-field-image.php:116
568
  #: includes/fields/class-field-image.php:137
570
  msgstr ""
571
 
572
  #: admin/form-builder/assets/js/components/form-post_content/template.php:4
573
+ #: class/render-form.php:1055 includes/fields/class-field-post-content.php:49
574
  msgid "Insert Photo"
575
  msgstr ""
576
 
588
 
589
  #: admin/form-builder/class-wpuf-admin-form-builder-ajax.php:35
590
  #: admin/form-builder/class-wpuf-admin-form-builder-ajax.php:82
591
+ #: admin/promotion.php:214 admin/promotion.php:218 admin/promotion.php:280
592
+ #: admin/promotion.php:284
593
  msgid "Unauthorized operation"
594
  msgstr ""
595
 
601
  msgid "Invalid post type"
602
  msgstr ""
603
 
604
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:281
605
  msgid "Advanced Options"
606
  msgstr ""
607
 
608
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:282
609
  msgid "Are you sure you want to delete this field?"
610
  msgstr ""
611
 
612
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:283
613
  #: admin/posting.php:73 class/asset-loader.php:56 wpuf.php:737
614
  msgid "Yes, delete it"
615
  msgstr ""
616
 
617
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:284
618
  #: admin/posting.php:74 class/asset-loader.php:57 wpuf.php:738
619
  msgid "No, cancel it"
620
  msgstr ""
621
 
622
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:285
623
  msgid "OK"
624
  msgstr ""
625
 
626
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:287
627
  #: includes/free/admin/shortcode-builder.php:70
628
  msgid "Close"
629
  msgstr ""
630
 
631
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:288
632
  msgid "This field must contain at least one choice"
633
  msgstr ""
634
 
635
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:289
636
  #: includes/fields/class-field-checkbox.php:101
637
  #: includes/fields/class-field-dropdown.php:105
638
  #: includes/fields/class-field-multidropdown.php:82
640
  msgid "Option"
641
  msgstr ""
642
 
643
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:290
644
  msgid "Column"
645
  msgstr ""
646
 
647
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:291
648
  msgid "This field must contain at least one column"
649
  msgstr ""
650
 
651
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:292
652
  msgid "is available in Pro version"
653
  msgstr ""
654
 
655
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:293
656
  msgid "Please upgrade to the Pro version to unlock all these awesome features"
657
  msgstr ""
658
 
659
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:294
660
  msgid "Get the Pro version"
661
  msgstr ""
662
 
663
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:295
664
+ #: includes/fields/class-abstract-fields.php:443
665
  msgid "Select"
666
  msgstr ""
667
 
668
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:296
669
  msgid "Saved form data"
670
  msgstr ""
671
 
672
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:297
673
  msgid "You have unsaved changes."
674
  msgstr ""
675
 
676
+ #: admin/form-builder/class-wpuf-admin-form-builder.php:298
677
  #: admin/form-builder/views/form-builder.php:50
678
  msgid "Click to copy shortcode"
679
  msgstr ""
717
  msgid "You do not have sufficient permissions to do this action"
718
  msgstr ""
719
 
720
+ #: admin/form-handler.php:335 admin/form-handler.php:360
721
  msgid "%d form moved to the trash."
722
  msgid_plural "%d forms moved to the trash."
723
  msgstr[0] ""
724
  msgstr[1] ""
725
 
726
+ #: admin/form-handler.php:340 admin/form-handler.php:365
727
  msgid "%d form restored from the trash."
728
  msgid_plural "%d forms restored from the trash."
729
  msgstr[0] ""
730
  msgstr[1] ""
731
 
732
+ #: admin/form-handler.php:345 admin/form-handler.php:370
733
  msgid "%d form permanently deleted."
734
  msgid_plural "%d forms permanently deleted."
735
  msgstr[0] ""
736
  msgstr[1] ""
737
 
738
+ #: admin/form-handler.php:351 admin/form-handler.php:376
739
  msgid "Form duplicated successfully. <a href=\"%s\">View form.</a>"
740
  msgstr ""
741
 
757
  "options when new post created and updated."
758
  msgstr ""
759
 
760
+ #: admin/form.php:49 admin/form.php:69 admin/form.php:71 admin/form.php:109
761
  msgid "Forms"
762
  msgstr ""
763
 
764
+ #: admin/form.php:70 admin/form.php:110
765
  msgid "Form"
766
  msgstr ""
767
 
768
+ #: admin/form.php:72 admin/form.php:112 admin/post-forms-list-table-view.php:8
769
  msgid "Add Form"
770
  msgstr ""
771
 
772
+ #: admin/form.php:73 admin/form.php:113
773
  msgid "Add New Form"
774
  msgstr ""
775
 
776
+ #: admin/form.php:74 admin/form.php:114 admin/installer.php:86
777
  #: admin/post-forms-list-table.php:406 class/subscription.php:435
778
  #: includes/free/admin/shortcode-button.php:87 includes/free/edit-user.php:104
779
  msgid "Edit"
780
  msgstr ""
781
 
782
+ #: admin/form.php:75 admin/form.php:115
783
  msgid "Edit Form"
784
  msgstr ""
785
 
786
+ #: admin/form.php:76 admin/form.php:116
787
  msgid "New Form"
788
  msgstr ""
789
 
790
+ #: admin/form.php:77 admin/form.php:78 admin/form.php:117 admin/form.php:118
791
  msgid "View Form"
792
  msgstr ""
793
 
794
+ #: admin/form.php:79 admin/form.php:119
795
  msgid "Search Form"
796
  msgstr ""
797
 
798
+ #: admin/form.php:80 admin/form.php:120
799
  msgid "No Form Found"
800
  msgstr ""
801
 
802
+ #: admin/form.php:81 admin/form.php:121
803
  msgid "No Form Found in Trash"
804
  msgstr ""
805
 
806
+ #: admin/form.php:82 admin/form.php:122
807
  msgid "Parent Form"
808
  msgstr ""
809
 
810
+ #: admin/form.php:89
811
  msgid "Registraton Forms"
812
  msgstr ""
813
 
814
+ #: admin/form.php:111 includes/free/loader.php:78
815
  msgid "Registration Forms"
816
  msgstr ""
817
 
818
+ #: admin/form.php:197 includes/free/form-element.php:218
819
  #: includes/free/form-element.php:256
820
  msgid "Notification"
821
  msgstr ""
822
 
823
+ #: admin/form.php:230
824
  msgid "Post Settings"
825
  msgstr ""
826
 
827
+ #: admin/form.php:231
828
  msgid "Edit Settings"
829
  msgstr ""
830
 
831
+ #: admin/form.php:232
832
  msgid "Submission Restriction"
833
  msgstr ""
834
 
835
+ #: admin/form.php:234
836
  msgid "Display Settings"
837
  msgstr ""
838
 
839
+ #: admin/form.php:297 admin/form.php:302
840
  msgid "- Select -"
841
  msgstr ""
842
 
843
+ #: admin/form.php:341
844
  msgid "Post Fields"
845
  msgstr ""
846
 
847
+ #: admin/form.php:347
848
  msgid "Taxonomies"
849
  msgstr ""
850
 
851
+ #: admin/form.php:449 admin/html/form-settings-post.php:22
852
+ #: class/render-form.php:761 includes/class-frontend-render-form.php:183
853
  msgid "Save Draft"
854
  msgstr ""
855
 
856
+ #: admin/form.php:568
857
  msgid "Post Forms must have either Post Title, Post Body or Excerpt field"
858
  msgstr ""
859
 
898
  msgid "Payment Options"
899
  msgstr ""
900
 
901
+ #: admin/html/form-settings-payment.php:26 admin/settings-options.php:396
902
  #: includes/setup-wizard.php:301
903
  msgid "Enable Payments"
904
  msgstr ""
963
  msgid "Amount to be charged per post"
964
  msgstr ""
965
 
966
+ #: admin/html/form-settings-payment.php:88 admin/settings-options.php:477
967
  msgid "Payment Success Page"
968
  msgstr ""
969
 
1123
  msgstr ""
1124
 
1125
  #: admin/html/form-submission-restriction.php:11 admin/template-post.php:160
1126
+ #: includes/fields/class-abstract-fields.php:483
1127
  #: includes/free/edit-profile.php:98 templates/registration-form.php:30
1128
  msgid "Name"
1129
  msgstr ""
1214
  msgstr ""
1215
 
1216
  #: admin/html/form-submission-restriction.php:117
1217
+ #: admin/settings-options.php:294
1218
  msgid "Unauthorized Message"
1219
  msgstr ""
1220
 
1437
  msgstr ""
1438
 
1439
  #: admin/html/whats-new.php:8
1440
+ msgid "Email template enhanced for after activation"
1441
+ msgstr ""
1442
+
1443
+ #: admin/html/whats-new.php:12
1444
+ msgid "Read only option for custom field"
1445
+ msgstr ""
1446
+
1447
+ #: admin/html/whats-new.php:16
1448
+ msgid "Editor toolbar exclude option enhanced"
1449
+ msgstr ""
1450
+
1451
+ #: admin/html/whats-new.php:20
1452
+ msgid "Preview option enhanced for user profile"
1453
+ msgstr ""
1454
+
1455
+ #: admin/html/whats-new.php:24
1456
+ msgid "Meta key enhanced for user email notification"
1457
+ msgstr ""
1458
+
1459
+ #: admin/html/whats-new.php:28
1460
+ msgid "Global option for disable post edit on account"
1461
+ msgstr ""
1462
+
1463
+ #: admin/html/whats-new.php:32
1464
+ msgid "Filter for conditional logic for fields added"
1465
+ msgstr ""
1466
+
1467
+ #: admin/html/whats-new.php:36
1468
+ msgid "PHP 8 compatibility handled"
1469
+ msgstr ""
1470
+
1471
+ #: admin/html/whats-new.php:40
1472
+ msgid "Address / Billing address inconsistency handled"
1473
+ msgstr ""
1474
+
1475
+ #: admin/html/whats-new.php:44
1476
+ msgid "Content restriction several issue fixed"
1477
+ msgstr ""
1478
+
1479
+ #: admin/html/whats-new.php:48
1480
+ msgid "Tax calculation properly handled for all areas"
1481
+ msgstr ""
1482
+
1483
+ #: admin/html/whats-new.php:52
1484
+ msgid "Validation added for invalid email and URL formats"
1485
+ msgstr ""
1486
+
1487
+ #: admin/html/whats-new.php:56
1488
+ msgid "Special character password handled for login"
1489
+ msgstr ""
1490
+
1491
+ #: admin/html/whats-new.php:60
1492
+ msgid "Reset password handled for sidebar widget"
1493
+ msgstr ""
1494
+
1495
+ #: admin/html/whats-new.php:64
1496
+ msgid "Required google map issues handled"
1497
+ msgstr ""
1498
+
1499
+ #: admin/html/whats-new.php:68
1500
+ msgid "Translation related issue handled for admin menu"
1501
+ msgstr ""
1502
+
1503
+ #: admin/html/whats-new.php:72
1504
+ msgid "Label & query enhanced for transaction table"
1505
+ msgstr ""
1506
+
1507
+ #: admin/html/whats-new.php:76
1508
+ msgid "Template override for child theme fixed"
1509
+ msgstr ""
1510
+
1511
+ #: admin/html/whats-new.php:80
1512
+ msgid "Custom field modal handled for registration form"
1513
+ msgstr ""
1514
+
1515
+ #: admin/html/whats-new.php:84
1516
+ msgid "Redundant CSS issues handled"
1517
+ msgstr ""
1518
+
1519
+ #: admin/html/whats-new.php:88
1520
+ msgid "Address field inconsistency fixed"
1521
+ msgstr ""
1522
+
1523
+ #: admin/html/whats-new.php:92
1524
+ msgid "Plugin page spin loading issue handled"
1525
+ msgstr ""
1526
+
1527
+ #: admin/html/whats-new.php:96
1528
+ msgid "Warning on exit for draft post fixed"
1529
+ msgstr ""
1530
+
1531
+ #: admin/html/whats-new.php:100
1532
+ msgid "Unlimited expire on admin user profile handled"
1533
+ msgstr ""
1534
+
1535
+ #: admin/html/whats-new.php:104
1536
+ msgid "No value checkbox issue handled"
1537
+ msgstr ""
1538
+
1539
+ #: admin/html/whats-new.php:108
1540
+ msgid "Tag search security Vulnerability handled"
1541
+ msgstr ""
1542
+
1543
+ #: admin/html/whats-new.php:112
1544
+ msgid "Multi dropdown field error handled"
1545
+ msgstr ""
1546
+
1547
+ #: admin/html/whats-new.php:123
1548
+ msgid "Promotion notice enhanced through api"
1549
+ msgstr ""
1550
+
1551
+ #: admin/html/whats-new.php:134
1552
  msgid "Security Vulnerability fixed"
1553
  msgstr ""
1554
 
1555
+ #: admin/html/whats-new.php:145
1556
  msgid "Featured item for subscriber"
1557
  msgstr ""
1558
 
1559
+ #: admin/html/whats-new.php:149
1560
  msgid "Warning added for unsaved form data on frontend"
1561
  msgstr ""
1562
 
1563
+ #: admin/html/whats-new.php:153
1564
  msgid "Settings page search implemented"
1565
  msgstr ""
1566
 
1567
+ #: admin/html/whats-new.php:157
1568
  msgid "Editor added for registration form email template"
1569
  msgstr ""
1570
 
1571
+ #: admin/html/whats-new.php:161
1572
  msgid "Fallback pay per post not working with when draft enabled"
1573
  msgstr ""
1574
 
1575
+ #: admin/html/whats-new.php:165
1576
  msgid "User Dashboard responsive issues fixed"
1577
  msgstr ""
1578
 
1579
+ #: admin/html/whats-new.php:169
1580
  msgid "Showing wrong license expire message handled"
1581
  msgstr ""
1582
 
1583
+ #: admin/html/whats-new.php:173
1584
  msgid "Remove expire cron handled for once daily"
1585
  msgstr ""
1586
 
1587
+ #: admin/html/whats-new.php:177
1588
  msgid "Billing address validation handled"
1589
  msgstr ""
1590
 
1591
+ #: admin/html/whats-new.php:181
1592
  msgid "Promotion notice restricted for WPUF menu"
1593
  msgstr ""
1594
 
1595
+ #: admin/html/whats-new.php:192
1596
  msgid "reCaptcha issue with other plugin handled"
1597
  msgstr ""
1598
 
1599
+ #: admin/html/whats-new.php:196
1600
  msgid "Multiple post type for wpuf dashboard not working fixed"
1601
  msgstr ""
1602
 
1603
+ #: admin/html/whats-new.php:200
1604
  msgid "Billing address ajax request issue handled"
1605
  msgstr ""
1606
 
1607
+ #: admin/html/whats-new.php:204
1608
  msgid "Halloween promotion notice added"
1609
  msgstr ""
1610
 
1611
+ #: admin/html/whats-new.php:215
1612
  msgid "Content restriction for minimum, maximum value enhanced"
1613
  msgstr ""
1614
 
1615
+ #: admin/html/whats-new.php:219
1616
  msgid "New option for redirection after pay per post payment in form setting"
1617
  msgstr ""
1618
 
1619
+ #: admin/html/whats-new.php:223
1620
  msgid "Controller added for various email notification"
1621
  msgstr ""
1622
 
1623
+ #: admin/html/whats-new.php:227
1624
  msgid "Placeholder added for unauth message option"
1625
  msgstr ""
1626
 
1627
+ #: admin/html/whats-new.php:231
1628
  msgid "Subscription Post expiration option change to input field"
1629
  msgstr ""
1630
 
1631
+ #: admin/html/whats-new.php:235
1632
  msgid "Content restriction message translatable"
1633
  msgstr ""
1634
 
1635
+ #: admin/html/whats-new.php:239
1636
  msgid "ACF integration inconsistency handled"
1637
  msgstr ""
1638
 
1639
+ #: admin/html/whats-new.php:243
1640
  msgid "Enable payment checkbox handled for child option"
1641
  msgstr ""
1642
 
1643
+ #: admin/html/whats-new.php:247
1644
  msgid "Broken asset link handled for custom field popup"
1645
  msgstr ""
1646
 
1647
+ #: admin/html/whats-new.php:251
1648
  msgid "Rollback inconsistency for CPT handled"
1649
  msgstr ""
1650
 
1651
+ #: admin/html/whats-new.php:255
1652
  msgid "Login form loaded after resetting password"
1653
  msgstr ""
1654
 
1655
+ #: admin/html/whats-new.php:259
1656
  msgid "Billing address inconsistency handled"
1657
  msgstr ""
1658
 
1659
+ #: admin/html/whats-new.php:263
1660
  msgid "Form duplication on creation handled"
1661
  msgstr ""
1662
 
1663
+ #: admin/html/whats-new.php:267
1664
  msgid "Field Dragging inconsistency fixed"
1665
  msgstr ""
1666
 
1667
+ #: admin/html/whats-new.php:278
1668
  msgid "Google Map field enhanced along with acf google map"
1669
  msgstr ""
1670
 
1671
+ #: admin/html/whats-new.php:282
1672
  msgid "Filter added for dashboard account menu"
1673
  msgstr ""
1674
 
1675
+ #: admin/html/whats-new.php:286
1676
  msgid "Fallback Pay Per Post inconsistency handled"
1677
  msgstr ""
1678
 
1679
+ #: admin/html/whats-new.php:290
1680
  msgid "Google map search field not showing"
1681
  msgstr ""
1682
 
1683
+ #: admin/html/whats-new.php:294
1684
  msgid "Form preview page inconsistency with builder"
1685
  msgstr ""
1686
 
1687
+ #: admin/html/whats-new.php:298
1688
  msgid "Category not showing as hierarchy"
1689
  msgstr ""
1690
 
1691
+ #: admin/html/whats-new.php:302
1692
  msgid "TOC field randering issue with registration form"
1693
  msgstr ""
1694
 
1695
+ #: admin/html/whats-new.php:306
1696
  msgid "Custom plupload filter inconsistency with file upload handled"
1697
  msgstr ""
1698
 
1699
+ #: admin/html/whats-new.php:310
1700
  msgid "Guest Pay Per Post inconsistency handled"
1701
  msgstr ""
1702
 
1703
+ #: admin/html/whats-new.php:314
1704
  msgid "Responsive and font issue handled"
1705
  msgstr ""
1706
 
1707
+ #: admin/html/whats-new.php:325
1708
  msgid "Preview page added for post form and registration form"
1709
  msgstr ""
1710
 
1711
+ #: admin/html/whats-new.php:329
1712
  msgid "Post types menu on account page added"
1713
  msgstr ""
1714
 
1715
+ #: admin/html/whats-new.php:333
1716
  msgid "Dashboard shortcode attributes enhanced"
1717
  msgstr ""
1718
 
1719
+ #: admin/html/whats-new.php:337
1720
  msgid "Account page post type list new design"
1721
  msgstr ""
1722
 
1723
+ #: admin/html/whats-new.php:341
1724
  msgid "Payment page restricted from direct unauthenticated access"
1725
  msgstr ""
1726
 
1727
+ #: admin/html/whats-new.php:345
1728
  msgid "Timepicker conflict with dokan handled"
1729
  msgstr ""
1730
 
1731
+ #: admin/html/whats-new.php:349
1732
  msgid "Trial inconsistency with paypal fixed"
1733
  msgstr ""
1734
 
1735
+ #: admin/html/whats-new.php:353
1736
  msgid "Subscription does not cancel with paypal due to profile missing id"
1737
  msgstr ""
1738
 
1739
+ #: admin/html/whats-new.php:357
1740
  msgid "Subscription email notification inconsistency fixed"
1741
  msgstr ""
1742
 
1743
+ #: admin/html/whats-new.php:361
1744
  msgid "Various issues on payment page for non-logged in user handled"
1745
  msgstr ""
1746
 
1747
+ #: admin/html/whats-new.php:365
1748
  msgid "Column inner field cloning inconsistency fixed"
1749
  msgstr ""
1750
 
1751
+ #: admin/html/whats-new.php:369
1752
  msgid "Popup z-index changed due to other plugin z-index"
1753
  msgstr ""
1754
 
1755
+ #: admin/html/whats-new.php:381
1756
  msgid "Added Mauritian Rupee for currency"
1757
  msgstr ""
1758
 
1759
+ #: admin/html/whats-new.php:385
1760
  msgid "Added eid promotional offer notice"
1761
  msgstr ""
1762
 
1763
+ #: admin/html/whats-new.php:389
1764
  msgid "Multiple google map validation for same form"
1765
  msgstr ""
1766
 
1767
+ #: admin/html/whats-new.php:393
1768
  msgid "Various issues on verification, autologin payments & address field"
1769
  msgstr ""
1770
 
1771
+ #: admin/html/whats-new.php:397
1772
  msgid "Docs update for file & attachments feature which is pro only"
1773
  msgstr ""
1774
 
1775
+ #: admin/html/whats-new.php:408
1776
  msgid "Overflow footer on form builder page"
1777
  msgstr ""
1778
 
1779
+ #: admin/html/whats-new.php:412
1780
  msgid "WordPress 5.7 compatibility"
1781
  msgstr ""
1782
 
1783
+ #: admin/html/whats-new.php:416
1784
  msgid "Limited time promotion for weDevs birthday"
1785
  msgstr ""
1786
 
1787
+ #: admin/html/whats-new.php:427
1788
  msgid "Meta key will not change if label update"
1789
  msgstr ""
1790
 
1791
+ #: admin/html/whats-new.php:431
1792
  msgid "Login redirect empty previous url"
1793
  msgstr ""
1794
 
1795
+ #: admin/html/whats-new.php:435
1796
  msgid "Email doesnt set as username"
1797
  msgstr ""
1798
 
1799
+ #: admin/html/whats-new.php:439
1800
  msgid "Post redirection to payment doesn't work"
1801
  msgstr ""
1802
 
1803
+ #: admin/html/whats-new.php:443
1804
  msgid "Address field not working when used with conditional logic"
1805
  msgstr ""
1806
 
1807
+ #: admin/html/whats-new.php:447
1808
  msgid "Ajax type category child of not working"
1809
  msgstr ""
1810
 
1811
+ #: admin/html/whats-new.php:451
1812
  msgid "Non recurring subscription did not work"
1813
  msgstr ""
1814
 
1815
+ #: admin/html/whats-new.php:462
1816
  msgid "Menu position has chenged due to dokan has same menu position"
1817
  msgstr ""
1818
 
1819
+ #: admin/html/whats-new.php:466
1820
  msgid "Drag and drop not working properly for new field"
1821
  msgstr ""
1822
 
1823
+ #: admin/html/whats-new.php:477
1824
  msgid "QR and math captcha added to pro feature list"
1825
  msgstr ""
1826
 
1827
+ #: admin/html/whats-new.php:481
1828
  msgid "Tooltip for category navigate"
1829
  msgstr ""
1830
 
1831
+ #: admin/html/whats-new.php:485
1832
  msgid "Understandable guest payment notice"
1833
  msgstr ""
1834
 
1835
+ #: admin/html/whats-new.php:489
1836
  msgid "Paypal non recurring pack id does not set"
1837
  msgstr ""
1838
 
1839
+ #: admin/html/whats-new.php:500
1840
  msgid "Once trial subscription is used, it couldn't reset"
1841
  msgstr ""
1842
 
1843
+ #: admin/html/whats-new.php:504
1844
  msgid "Subscription cancel doesn't work"
1845
  msgstr ""
1846
 
1847
+ #: admin/html/whats-new.php:508
1848
  msgid "The tax rate was not calculated with the total amount"
1849
  msgstr ""
1850
 
1851
+ #: admin/html/whats-new.php:512
1852
  msgid "The width of the column field was breaking"
1853
  msgstr ""
1854
 
1855
+ #: admin/html/whats-new.php:516
1856
  msgid "Paypal recurring payment"
1857
  msgstr ""
1858
 
1859
+ #: admin/html/whats-new.php:527
1860
  msgid "Updated codebase to fix timezone mismatch"
1861
  msgstr ""
1862
 
1863
+ #: admin/html/whats-new.php:538
1864
  msgid "Custom html content field's width"
1865
  msgstr ""
1866
 
1867
+ #: admin/html/whats-new.php:542
1868
  msgid "All states of New Zealand are added"
1869
  msgstr ""
1870
 
1871
+ #: admin/html/whats-new.php:553
1872
  msgid "Get appropriate user id when role based conditions are present"
1873
  msgstr ""
1874
 
1875
+ #: admin/html/whats-new.php:557
1876
  msgid "Show Invalid subscription message if wrong pack id passed"
1877
  msgstr ""
1878
 
1879
+ #: admin/html/whats-new.php:561
1880
  msgid "URL field new window not working"
1881
  msgstr ""
1882
 
1883
+ #: admin/html/whats-new.php:565
1884
  msgid "Option label not working when & use"
1885
  msgstr ""
1886
 
1887
+ #: admin/html/whats-new.php:569
1888
  msgid "Ajax type category not showing on edit"
1889
  msgstr ""
1890
 
1891
+ #: admin/html/whats-new.php:573
1892
  msgid "Multiple file image can't select"
1893
  msgstr ""
1894
 
1895
+ #: admin/html/whats-new.php:577
1896
  msgid "Subscription pack PayPal Checkout gets \"Error: Access Denied\""
1897
  msgstr ""
1898
 
1899
+ #: admin/html/whats-new.php:581
1900
  msgid "Conflict image field with acf image field"
1901
  msgstr ""
1902
 
1903
+ #: admin/html/whats-new.php:585
1904
  msgid "Missing Auckland State for New Zealand country"
1905
  msgstr ""
1906
 
1907
+ #: admin/html/whats-new.php:589
1908
  msgid "Added support for WooCommerce product category value replacemen"
1909
  msgstr ""
1910
 
1911
+ #: admin/html/whats-new.php:599
1912
  msgid "Add character restriction feature"
1913
  msgstr ""
1914
 
1915
+ #: admin/html/whats-new.php:603
1916
  msgid "Make sure post author edit link works only in frontend"
1917
  msgstr ""
1918
 
1919
+ #: admin/html/whats-new.php:607
1920
  msgid "Inconsistency in lost password reset email message"
1921
  msgstr ""
1922
 
1923
+ #: admin/html/whats-new.php:611
1924
  msgid "Saving custom taxonomy terms when input type is text"
1925
  msgstr ""
1926
 
1927
+ #: admin/html/whats-new.php:615
1928
  msgid "Taxonomy field JS error in builder"
1929
  msgstr ""
1930
 
1931
+ #: admin/html/whats-new.php:619
1932
  msgid "Showing WPUF edit link for WP default roles"
1933
  msgstr ""
1934
 
1935
+ #: admin/html/whats-new.php:623
1936
  msgid "Upload button unresponsive issue in iOS"
1937
  msgstr ""
1938
 
1939
+ #: admin/html/whats-new.php:633
1940
  msgid "Add post edit link for post authors in single or archive pages"
1941
  msgstr ""
1942
 
1943
+ #: admin/html/whats-new.php:637
1944
  msgid "Enhance post delete message"
1945
  msgstr ""
1946
 
1947
+ #: admin/html/whats-new.php:641
1948
  msgid "Refactor control buttons visibility in form builder"
1949
  msgstr ""
1950
 
1951
+ #: admin/html/whats-new.php:645
1952
  msgid "Add missing colons after field label"
1953
  msgstr ""
1954
 
1955
+ #: admin/html/whats-new.php:649
1956
  msgid "Post edit map capability condition"
1957
  msgstr ""
1958
 
1959
+ #: admin/html/whats-new.php:653
1960
  msgid "Role based permission for accessing a post form"
1961
  msgstr ""
1962
 
1963
+ #: admin/html/whats-new.php:657
1964
  msgid "Section-break field alignment"
1965
  msgstr ""
1966
 
1967
+ #: admin/html/whats-new.php:661
1968
  msgid "Pay per post doesn't work if subscription pack is activated"
1969
  msgstr ""
1970
 
1971
+ #: admin/html/whats-new.php:665
1972
  msgid "Mime type for uploading JSON files"
1973
  msgstr ""
1974
 
1975
+ #: admin/html/whats-new.php:669
1976
  msgid "File upload with same file name"
1977
  msgstr ""
1978
 
1979
+ #: admin/html/whats-new.php:673
1980
  msgid "Post preview missing fields"
1981
  msgstr ""
1982
 
1983
+ #: admin/html/whats-new.php:677
1984
  msgid "Illigal variable declartion"
1985
  msgstr ""
1986
 
1987
+ #: admin/html/whats-new.php:681
1988
  msgid "Featured image updating issue"
1989
  msgstr ""
1990
 
1991
+ #: admin/html/whats-new.php:685
1992
  msgid "Conflict with Phlox theme"
1993
  msgstr ""
1994
 
1995
+ #: admin/html/whats-new.php:689
1996
  msgid "Textarea custom field data sanitization"
1997
  msgstr ""
1998
 
1999
+ #: admin/html/whats-new.php:693
2000
  msgid "exclude_type warning in wpuf_category_checklist"
2001
  msgstr ""
2002
 
2003
+ #: admin/html/whats-new.php:697
2004
  msgid "Category field not showing all child categories for selection type child of"
2005
  msgstr ""
2006
 
2007
+ #: admin/html/whats-new.php:701
2008
  msgid "Conflict between image and file upload custom fields"
2009
  msgstr ""
2010
 
2011
+ #: admin/html/whats-new.php:705
2012
  msgid "Login url when login page is not set"
2013
  msgstr ""
2014
 
2015
+ #: admin/html/whats-new.php:715
2016
  msgid ""
2017
  "Use common names for Ivory Coast, North Korea and Sourth Korea instead of "
2018
  "their official names"
2019
  msgstr ""
2020
 
2021
+ #: admin/html/whats-new.php:719
2022
  msgid "Fix condition to use default avatar"
2023
  msgstr ""
2024
 
2025
+ #: admin/html/whats-new.php:723
2026
  msgid "Make Email and URL fields clickable"
2027
  msgstr ""
2028
 
2029
+ #: admin/html/whats-new.php:727
2030
  msgid "Fix redirect after user login"
2031
  msgstr ""
2032
 
2033
+ #: admin/html/whats-new.php:731
2034
  msgid "Sanitize textarea field data"
2035
  msgstr ""
2036
 
2037
+ #: admin/html/whats-new.php:735
2038
  msgid ""
2039
  "Fix missing colon to email, URL, text and textarea labels when renders "
2040
  "their data"
2041
  msgstr ""
2042
 
2043
+ #: admin/html/whats-new.php:739
2044
  msgid "Prevent showing empty labels for fields that have render_field_data method"
2045
  msgstr ""
2046
 
2047
+ #: admin/html/whats-new.php:749
2048
  msgid "Add Namibian Dollar in currency list"
2049
  msgstr ""
2050
 
2051
+ #: admin/html/whats-new.php:753
2052
  msgid "Add sync values option for option data fields"
2053
  msgstr ""
2054
 
2055
+ #: admin/html/whats-new.php:757
2056
  msgid "Allow uploading image that having filesize meets php ini settings"
2057
  msgstr ""
2058
 
2059
+ #: admin/html/whats-new.php:761
2060
  msgid "Limit the selection of one image at a time"
2061
  msgstr ""
2062
 
2063
+ #: admin/html/whats-new.php:765
2064
  msgid "Use file name and size to generate hash to prevent duplicant image upload"
2065
  msgstr ""
2066
 
2067
+ #: admin/html/whats-new.php:769
2068
  msgid "Sanitize text and textarea field data"
2069
  msgstr ""
2070
 
2071
+ #: admin/html/whats-new.php:773
2072
  msgid ""
2073
  "Show label instead of values for radio, checkbox, dropdown and multiselect "
2074
  "data"
2075
  msgstr ""
2076
 
2077
+ #: admin/html/whats-new.php:777
2078
  msgid "Saving custom taxonomies for type text input"
2079
  msgstr ""
2080
 
2081
+ #: admin/html/whats-new.php:781
2082
  msgid "Admin settings link for recaptcha helper text"
2083
  msgstr ""
2084
 
2085
+ #: admin/html/whats-new.php:785
2086
  msgid "Undefined name property for Custom HTML fields"
2087
  msgstr ""
2088
 
2089
+ #: admin/html/whats-new.php:789
2090
  msgid "Delete attachment process"
2091
  msgstr ""
2092
 
2093
+ #: admin/html/whats-new.php:793
2094
  msgid "Missing billing address in invoice PDF"
2095
  msgstr ""
2096
 
2097
+ #: admin/html/whats-new.php:797
2098
  msgid "Showing country field value in frontend post content"
2099
  msgstr ""
2100
 
2101
+ #: admin/html/whats-new.php:801
2102
  msgid "Avatar size display not complying with admin settings size"
2103
  msgstr ""
2104
 
2105
+ #: admin/html/whats-new.php:805
2106
  msgid "Display default avatars on admin settings discussion page"
2107
  msgstr ""
2108
 
2109
+ #: admin/html/whats-new.php:809
2110
  msgid "Redirect to subscription page at registration"
2111
  msgstr ""
2112
 
2113
+ #: admin/html/whats-new.php:813
2114
  msgid "Error notice regarding registration page redirect"
2115
  msgstr ""
2116
 
2117
+ #: admin/html/whats-new.php:817
2118
  msgid "Escaping html in registration errors"
2119
  msgstr ""
2120
 
2121
+ #: admin/html/whats-new.php:821
2122
  msgid "Default login redirect link"
2123
  msgstr ""
2124
 
2125
+ #: admin/html/whats-new.php:825
2126
  msgid "Implementing default WP login page override option"
2127
  msgstr ""
2128
 
2129
+ #: admin/html/whats-new.php:829
2130
  msgid "Transparent background of autosuggestion dropdown"
2131
  msgstr ""
2132
 
2133
+ #: admin/html/whats-new.php:839
2134
  msgid "Import forms system"
2135
  msgstr ""
2136
 
2137
+ #: admin/html/whats-new.php:843
2138
  msgid "Password reset system"
2139
  msgstr ""
2140
 
2141
+ #: admin/html/whats-new.php:847
2142
  msgid "Updated url validation regex to support modern tlds"
2143
  msgstr ""
2144
 
2145
+ #: admin/html/whats-new.php:851
2146
  msgid "Export WPUF forms individually from admin tools page"
2147
  msgstr ""
2148
 
2149
+ #: admin/html/whats-new.php:855
2150
  msgid "Subscription cycle label translation issue"
2151
  msgstr ""
2152
 
2153
+ #: admin/html/whats-new.php:859
2154
  msgid "ACF integration for checkbox fields"
2155
  msgstr ""
2156
 
2157
+ #: admin/html/whats-new.php:863
2158
  msgid "Illegal string offset warning while updating settings"
2159
  msgstr ""
2160
 
2161
+ #: admin/html/whats-new.php:867
2162
  msgid "Conditional logic for Section Break field"
2163
  msgstr ""
2164
 
2165
+ #: admin/html/whats-new.php:871
2166
  msgid "Subscriptions cannot be deleted from backend"
2167
  msgstr ""
2168
 
2169
+ #: admin/html/whats-new.php:875
2170
  msgid "A regression regarding saving checkbox data"
2171
  msgstr ""
2172
 
2173
+ #: admin/html/whats-new.php:879
2174
  msgid "Default value of multi-select fields is not showing"
2175
  msgstr ""
2176
 
2177
+ #: admin/html/whats-new.php:889
2178
  msgid "Hide post edit option when subscription is expired"
2179
  msgstr ""
2180
 
2181
+ #: admin/html/whats-new.php:891
2182
  msgid "Hide post edit option from users whose subscription pack is expired."
2183
  msgstr ""
2184
 
2185
+ #: admin/html/whats-new.php:894
2186
  msgid "Check files to prevent duplicity in media upload"
2187
  msgstr ""
2188
 
2189
+ #: admin/html/whats-new.php:896
2190
  msgid ""
2191
  "A simple measure has been taken to prevent maliciously flooding the site by "
2192
  "uploading same file multiple times. Though this won't work with already "
2193
  "uploaded medias."
2194
  msgstr ""
2195
 
2196
+ #: admin/html/whats-new.php:899
2197
  msgid "Refactor address fields in Account section"
2198
  msgstr ""
2199
 
2200
+ #: admin/html/whats-new.php:901
2201
  msgid "Address edit section from Account section has been rewritten to improve UX."
2202
  msgstr ""
2203
 
2204
+ #: admin/html/whats-new.php:904
2205
  msgid "Update Paypal payment gateway"
2206
  msgstr ""
2207
 
2208
+ #: admin/html/whats-new.php:906
2209
  msgid "Paypal payment gateway has seen some improvements."
2210
  msgstr ""
2211
 
2212
+ #: admin/html/whats-new.php:909
2213
  msgid "Default Category selection improvements"
2214
  msgstr ""
2215
 
2216
+ #: admin/html/whats-new.php:911
2217
  msgid ""
2218
  "An intuitive way of selecting default category of a selected post type has "
2219
  "been introduced."
2220
  msgstr ""
2221
 
2222
+ #: admin/html/whats-new.php:914
2223
  msgid "Compatibility issue with ACF date time field"
2224
  msgstr ""
2225
 
2226
+ #: admin/html/whats-new.php:916
2227
  msgid "A Compatibility issue with ACF date time field has been addressed."
2228
  msgstr ""
2229
 
2230
+ #: admin/html/whats-new.php:919
2231
  msgid "Media title, caption & description not saving"
2232
  msgstr ""
2233
 
2234
+ #: admin/html/whats-new.php:921
2235
  msgid ""
2236
  "Media title, caption & description were not saving from frontend. They will "
2237
  "now."
2238
  msgstr ""
2239
 
2240
+ #: admin/html/whats-new.php:924
2241
  msgid ""
2242
  "The Events Calendar venue and organizer fields issue in WPUF Custom Fields "
2243
  "metabox"
2244
  msgstr ""
2245
 
2246
+ #: admin/html/whats-new.php:926
2247
  msgid ""
2248
  "A workaround has been introduced to save The Events Calendar Venue and "
2249
  "Organizer fields properly from WPUF Custom Fields metabox."
2250
  msgstr ""
2251
 
2252
+ #: admin/html/whats-new.php:929
2253
  msgid "Checkbox data not saving from WPUF Custom Fields metabox"
2254
  msgstr ""
2255
 
2256
+ #: admin/html/whats-new.php:931
2257
  msgid ""
2258
  "Checkboxe data from WPUF Custom Fields metabox were not saving. It has been "
2259
  "fixed."
2260
  msgstr ""
2261
 
2262
+ #: admin/html/whats-new.php:934
2263
  msgid "Multi-column Repeater field data saving issue"
2264
  msgstr ""
2265
 
2266
+ #: admin/html/whats-new.php:936
2267
  msgid ""
2268
  "Multi-column Repeater field data from a form was not saving. It has been "
2269
  "fixed."
2270
  msgstr ""
2271
 
2272
+ #: admin/html/whats-new.php:939
2273
  msgid "Multistep form conflict with Elementor"
2274
  msgstr ""
2275
 
2276
+ #: admin/html/whats-new.php:941
2277
  msgid "Multistep form had a conflict with Elementor. It has been fixed."
2278
  msgstr ""
2279
 
2280
+ #: admin/html/whats-new.php:944
2281
  msgid "Multiple images showing issue in frontend"
2282
  msgstr ""
2283
 
2284
+ #: admin/html/whats-new.php:946
2285
  msgid "Multiple images in a post were not showing in frontend. Now they will."
2286
  msgstr ""
2287
 
2288
+ #: admin/html/whats-new.php:955
2289
  msgid "Nonce not verify on login"
2290
  msgstr ""
2291
 
2292
+ #: admin/html/whats-new.php:957
2293
  msgid "Return of function wp_verify_nonce() was ignored."
2294
  msgstr ""
2295
 
2296
+ #: admin/html/whats-new.php:966
2297
  msgid "Option to set which tab shows as active on the account page"
2298
  msgstr ""
2299
 
2300
+ #: admin/html/whats-new.php:968
2301
  msgid ""
2302
  "Option to set which tab shows as active on the account page. To configure "
2303
  "this setting navigate to wp-admin->User Frontend->Settings->My "
2304
  "Account->Active Tab "
2305
  msgstr ""
2306
 
2307
+ #: admin/html/whats-new.php:971
2308
  msgid "Unlock option was unavailable after the post being locked"
2309
  msgstr ""
2310
 
2311
+ #: admin/html/whats-new.php:973
2312
  msgid "Unlock option was unavailable after the post being locked."
2313
  msgstr ""
2314
 
2315
+ #: admin/html/whats-new.php:976
2316
  msgid "Gutenberg block of WPUF didn't work on bedrock installation"
2317
  msgstr ""
2318
 
2319
+ #: admin/html/whats-new.php:978
2320
  msgid "Gutenberg block of WPUF didn't work on bedrock installation."
2321
  msgstr ""
2322
 
2323
+ #: admin/html/whats-new.php:981
2324
  msgid "Sending admin payment received email twice"
2325
  msgstr ""
2326
 
2327
+ #: admin/html/whats-new.php:983
2328
  msgid ""
2329
  "After processing payment admin & user was receiving payment received email "
2330
  "twice."
2331
  msgstr ""
2332
 
2333
+ #: admin/html/whats-new.php:986
2334
  msgid ""
2335
  "Add shortcode support to display post information in the Post Expiration "
2336
  "Message"
2337
  msgstr ""
2338
 
2339
+ #: admin/html/whats-new.php:988
2340
  msgid ""
2341
  "Add shortcode support to display post information in the Post Expiration "
2342
  "Message. You can use: <strong>{post_author} {post_url} {blogname} "
2343
  "{post_title} {post_status}</strong>"
2344
  msgstr ""
2345
 
2346
+ #: admin/html/whats-new.php:991
2347
  msgid "Add optin on the setup wizard"
2348
  msgstr ""
2349
 
2350
+ #: admin/html/whats-new.php:993
2351
  msgid ""
2352
  "Added optin on the setup wizard, admin can choose whether he/she wants to "
2353
  "share server environment details (php, mysql, server, WordPress versions), "
2355
  "name and url, admin name and email address. No sensitive data is tracked"
2356
  msgstr ""
2357
 
2358
+ #: admin/html/whats-new.php:1002
2359
  msgid "Post Owner problem"
2360
  msgstr ""
2361
 
2362
+ #: admin/html/whats-new.php:1004
2363
  msgid ""
2364
  "Posts were not assigned to the selected default post owner, this issue has "
2365
  "been fixed."
2366
  msgstr ""
2367
 
2368
+ #: admin/html/whats-new.php:1007
2369
  msgid "Google reCaptcha was not working"
2370
  msgstr ""
2371
 
2372
+ #: admin/html/whats-new.php:1009
2373
  msgid ""
2374
  "Google reCaptcha was not working, users could submit the form without "
2375
  "reCaptcha validation."
2376
  msgstr ""
2377
 
2378
+ #: admin/html/whats-new.php:1018
2379
  msgid "Added column field"
2380
  msgstr ""
2381
 
2382
+ #: admin/html/whats-new.php:1023
2383
  msgid "Unable to render the events on the front-end dashboard"
2384
  msgstr ""
2385
 
2386
+ #: admin/html/whats-new.php:1025
2387
  msgid ""
2388
  "On the frontend dashboard, the submitted events were not showing, you will "
2389
  "get it fixed in this version."
2390
  msgstr ""
2391
 
2392
+ #: admin/html/whats-new.php:1028
2393
  msgid "Page order getting 0(zero) after editing from the frontend"
2394
  msgstr ""
2395
 
2396
+ #: admin/html/whats-new.php:1030
2397
  msgid ""
2398
  "Page order was not saving while editing a post using WPUF form, it has been "
2399
  "fixed."
2400
  msgstr ""
2401
 
2402
+ #: admin/html/whats-new.php:1033
2403
  msgid "Text input field for taxonomies not working"
2404
  msgstr ""
2405
 
2406
+ #: admin/html/whats-new.php:1035
2407
  msgid ""
2408
  "When taxonomy field type is set to `Text Input` then a fatal error was "
2409
  "showing on the frontend, no error with taxonomy field in the latest version."
2410
  msgstr ""
2411
 
2412
+ #: admin/html/whats-new.php:1038
2413
  msgid ""
2414
  "In radio and checkbox field use conditional logic that value does not save "
2415
  "in database"
2416
  msgstr ""
2417
 
2418
+ #: admin/html/whats-new.php:1040
2419
  msgid ""
2420
  "The selected value of radio and checkbox field were not showing while "
2421
  "editing posts from the backend or frontend, you can see the selected value "
2422
  "in this version."
2423
  msgstr ""
2424
 
2425
+ #: admin/html/whats-new.php:1043
2426
  msgid "The args param not working with get_avatar filter"
2427
  msgstr ""
2428
 
2429
+ #: admin/html/whats-new.php:1045
2430
  msgid "The args parameter did not exist with get_avatar filter, which now exists."
2431
  msgstr ""
2432
 
2433
+ #: admin/html/whats-new.php:1048
2434
  msgid "The item in ajax taxonomy field was not selected"
2435
  msgstr ""
2436
 
2437
+ #: admin/html/whats-new.php:1050
2438
  msgid ""
2439
  "When the taxonomy field type is set to Ajax, the submitted terms were not "
2440
  "showing in the backend and frontend which have been fixed."
2441
  msgstr ""
2442
 
2443
+ #: admin/html/whats-new.php:1059
2444
  msgid "Unable to send new user registration email"
2445
  msgstr ""
2446
 
2447
+ #: admin/html/whats-new.php:1061
2448
  msgid ""
2449
  "WP User Frontend default registration form `[wpuf-registration]` was unable "
2450
  "to send the new user registration email."
2451
  msgstr ""
2452
 
2453
+ #: admin/html/whats-new.php:1064
2454
  msgid "WPUF forms block compatibility issue with the latest WP version"
2455
  msgstr ""
2456
 
2457
+ #: admin/html/whats-new.php:1066
2458
  msgid ""
2459
  "With the latest version of WordPress the gutenberg block of WP User "
2460
  "Frontend were not working. In this version, you will get it fixed."
2461
  msgstr ""
2462
 
2463
+ #: admin/html/whats-new.php:1069
2464
  msgid "Page not update where `[wpuf_dashboard]` shortcode exist"
2465
  msgstr ""
2466
 
2467
+ #: admin/html/whats-new.php:1071
2468
  msgid ""
2469
  "While using Gutenberg, the page were not being updated with WPUF shortcode "
2470
  "[wpuf dashboard]"
2471
  msgstr ""
2472
 
2473
+ #: admin/html/whats-new.php:1074
2474
  msgid "Retain default when determining whether to display the admin bar"
2475
  msgstr ""
2476
 
2477
+ #: admin/html/whats-new.php:1076
2478
  msgid ""
2479
  "From the User Frontend Settings, set that Administrator, Editor, Vendor can "
2480
  "see the admin bar. Now, the super admin want, one specific user ( who has "
2484
  "frontend."
2485
  msgstr ""
2486
 
2487
+ #: admin/html/whats-new.php:1079
2488
  msgid "Fatal error when use PHP lower version (5.4 or lower)"
2489
  msgstr ""
2490
 
2491
+ #: admin/html/whats-new.php:1081
2492
  msgid ""
2493
  "It was unable to install WP User Frontend with PHP 5.4 or lower version. "
2494
  "Here is the error details: <br><br><strong>Fatal error: Can't use method "
2496
  "/wp-user-frontend/class/frontend-form-post.php on line 194</strong>"
2497
  msgstr ""
2498
 
2499
+ #: admin/html/whats-new.php:1084
2500
  msgid "Product form was unable to show the single gallery image"
2501
  msgstr ""
2502
 
2503
+ #: admin/html/whats-new.php:1086
2504
  msgid ""
2505
  "When user upload single image for product gallery using WPUF WooCommerce "
2506
  "product form, that image were not showing on the frontend."
2507
  msgstr ""
2508
 
2509
+ #: admin/html/whats-new.php:1095
2510
  msgid "WooCommerce gallery images not getting saved"
2511
  msgstr ""
2512
 
2513
+ #: admin/html/whats-new.php:1097
2514
  msgid ""
2515
  "After releasing version 2.9.3, WooCommerce gallery image field stopped "
2516
  "working. You will get it fixed in this version."
2517
  msgstr ""
2518
 
2519
+ #: admin/html/whats-new.php:1106
2520
  msgid "The Events Calendar Integration Form"
2521
  msgstr ""
2522
 
2523
+ #: admin/html/whats-new.php:1108
2524
  msgid ""
2525
  "Now admin can allow users to create event from the frontend. Currently WPUF "
2526
  "has a one click pre-build event form that has been integrated with The "
2527
  "Events Calendar plugin"
2528
  msgstr ""
2529
 
2530
+ #: admin/html/whats-new.php:1111
2531
  msgid "Post Submission Facility From Account Page"
2532
  msgstr ""
2533
 
2534
+ #: admin/html/whats-new.php:1113
2535
  msgid ""
2536
  "On the frontend account page, added a new menu item named <b>Submit "
2537
  "Post</b>. Now admin can allow users to submit post from their default "
2540
  "you can assign any post form that will use to submit posts."
2541
  msgstr ""
2542
 
2543
+ #: admin/html/whats-new.php:1116
2544
  msgid "Login/Lost Password Link Under Registration Form"
2545
  msgstr ""
2546
 
2547
+ #: admin/html/whats-new.php:1118
2548
  msgid "Added Login/Lost Password link under registration form"
2549
  msgstr ""
2550
 
2551
+ #: admin/html/whats-new.php:1127
2552
  msgid "Added drag and drop image ordering on image upload"
2553
  msgstr ""
2554
 
2555
+ #: admin/html/whats-new.php:1129
2556
  msgid ""
2557
  "Now frontend users can drag & drop the images/files to change the order "
2558
  "while uploading."
2559
  msgstr ""
2560
 
2561
+ #: admin/html/whats-new.php:1132
2562
  msgid "Added reCAPTCHA field in login form"
2563
  msgstr ""
2564
 
2565
+ #: admin/html/whats-new.php:1134
2566
  msgid ""
2567
  "Admin has the option to show reCAPTCHA field in login form. Check the "
2568
  "related settings from <strong>User Frontend > Settings > "
2569
  "Login/Registration</strong>"
2570
  msgstr ""
2571
 
2572
+ #: admin/html/whats-new.php:1137
2573
  msgid "Added preview option in forms"
2574
  msgstr ""
2575
 
2576
+ #: admin/html/whats-new.php:1139
2577
  msgid ""
2578
  "You can see a nice <strong>Preview</strong> button with <strong>Save "
2579
  "Form</strong> button, admin can take a quick look of the form without using "
2580
  "shortcode"
2581
  msgstr ""
2582
 
2583
+ #: admin/html/whats-new.php:1142
2584
  msgid "Fixed hiding “Select Image” button while uploading multiple images."
2585
  msgstr ""
2586
 
2587
+ #: admin/html/whats-new.php:1144
2588
  msgid ""
2589
  "The upload button will not be hidden until the user selects max number of "
2590
  "files "
2591
  msgstr ""
2592
 
2593
+ #: admin/html/whats-new.php:1147
2594
  msgid "Added form limit notice before form submission"
2595
  msgstr ""
2596
 
2597
+ #: admin/html/whats-new.php:1149
2598
  msgid ""
2599
  "Limit notice message was showing after submission, now it is showing when "
2600
  "rendering the form"
2601
  msgstr ""
2602
 
2603
+ #: admin/html/whats-new.php:1152
2604
  msgid "Fixed: default post category not saving"
2605
  msgstr ""
2606
 
2607
+ #: admin/html/whats-new.php:1154
2608
  msgid ""
2609
  "From the form <strong>Settings > Post Settings</strong>, default post "
2610
  "category options were not saving. Now, it's fixed."
2611
  msgstr ""
2612
 
2613
+ #: admin/html/whats-new.php:1157
2614
  msgid ""
2615
  "WPUF dashboard shortcode with form_id attribute was not showing posts "
2616
  "properly"
2617
  msgstr ""
2618
 
2619
+ #: admin/html/whats-new.php:1159
2620
  msgid ""
2621
  "Now you can list posts on the frontend by using <strong>form_id<strong/> "
2622
  "attribute with <strong>[wpuf_dashboard]</strong> shortcode"
2623
  msgstr ""
2624
 
2625
+ #: admin/html/whats-new.php:1168
2626
  msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
2627
  msgstr ""
2628
 
2629
+ #: admin/html/whats-new.php:1170
2630
  msgid ""
2631
  "If you are using other language than English. Please <b>rename</b> your "
2632
  "<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
2633
  "change was made to support translations from translate.wordpress.org"
2634
  msgstr ""
2635
 
2636
+ #: admin/html/whats-new.php:1173
2637
  msgid "Added WP User Frontend Data export and erase functionality."
2638
  msgstr ""
2639
 
2640
+ #: admin/html/whats-new.php:1175
2641
  msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
2642
  msgstr ""
2643
 
2644
+ #: admin/html/whats-new.php:1178
2645
  msgid "Added billing address customizer."
2646
  msgstr ""
2647
 
2648
+ #: admin/html/whats-new.php:1180
2649
  msgid "Added customizer options for billing address in payment page."
2650
  msgstr ""
2651
 
2652
+ #: admin/html/whats-new.php:1183
2653
  msgid "Make the payment page responsive."
2654
  msgstr ""
2655
 
2656
+ #: admin/html/whats-new.php:1185
2657
  msgid "Some css adjustments are made in payment page to make it responsive."
2658
  msgstr ""
2659
 
2660
+ #: admin/html/whats-new.php:1188
2661
  msgid "Fixed image upload issue in Safari."
2662
  msgstr ""
2663
 
2664
+ #: admin/html/whats-new.php:1190
2665
  msgid "Images were not showing after upload in safari, it is fixed now."
2666
  msgstr ""
2667
 
2668
+ #: admin/html/whats-new.php:1193
2669
  msgid "Post update issue after updating or removing post images."
2670
  msgstr ""
2671
 
2672
+ #: admin/html/whats-new.php:1195
2673
  msgid ""
2674
  "Posts cannot be updated after updating or removing post images, it is fixed "
2675
  "now."
2676
  msgstr ""
2677
 
2678
+ #: admin/html/whats-new.php:1204
2679
  msgid "Allow overriding form input styles using theme styling."
2680
  msgstr ""
2681
 
2682
+ #: admin/html/whats-new.php:1206
2683
  msgid "Overriding form input styles using theme style is now possible."
2684
  msgstr ""
2685
 
2686
+ #: admin/html/whats-new.php:1209
2687
  msgid "Fixed Auto Login after registration."
2688
  msgstr ""
2689
 
2690
+ #: admin/html/whats-new.php:1211
2691
  msgid "Auto Login after registration was not working is fixed now."
2692
  msgstr ""
2693
 
2694
+ #: admin/html/whats-new.php:1214
2695
  msgid "Fixed fallback cost calculation"
2696
  msgstr ""
2697
 
2698
+ #: admin/html/whats-new.php:1216
2699
  msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
2700
  msgstr ""
2701
 
2702
+ #: admin/html/whats-new.php:1219
2703
  msgid "Removal of subscription from User Profile gets reverted if updated"
2704
  msgstr ""
2705
 
2706
+ #: admin/html/whats-new.php:1221
2707
  msgid "User subscription deletion gets reverted if updated is fixed."
2708
  msgstr ""
2709
 
2710
+ #: admin/html/whats-new.php:1224
2711
  msgid "Show Free pack users in subscribers list."
2712
  msgstr ""
2713
 
2714
+ #: admin/html/whats-new.php:1226
2715
  msgid "Free pack users were not showing in subscribers list, now they will."
2716
  msgstr ""
2717
 
2718
+ #: admin/html/whats-new.php:1235
2719
  msgid "WP User Frontend Guten Block is added"
2720
  msgstr ""
2721
 
2722
+ #: admin/html/whats-new.php:1237
2723
  msgid ""
2724
  "WPUF Form Block is now available to be used within gutenberg editor with "
2725
  "preview of the form. "
2726
  msgstr ""
2727
 
2728
+ #: admin/html/whats-new.php:1240
2729
  msgid "Advanced Custom Fields plugin compatibility"
2730
  msgstr ""
2731
 
2732
+ #: admin/html/whats-new.php:1242
2733
  msgid "Now all your ACF fields can be used within WPUF Post forms. "
2734
  msgstr ""
2735
 
2736
+ #: admin/html/whats-new.php:1245
2737
  msgid "Taxonomy Terms not showing for custom post types"
2738
  msgstr ""
2739
 
2740
+ #: admin/html/whats-new.php:1247
2741
  msgid ""
2742
  "Fixed an issue with taxonomy terms not appearing for Custom Post types "
2743
  "within Form Settings and Dashboard Post Listing"
2744
  msgstr ""
2745
 
2746
+ #: admin/html/whats-new.php:1250
2747
  msgid "Various other code optimizations"
2748
  msgstr ""
2749
 
2750
+ #: admin/html/whats-new.php:1252 admin/html/whats-new.php:1309
2751
  msgid "Code structure organization and optimization for better performance"
2752
  msgstr ""
2753
 
2754
+ #: admin/html/whats-new.php:1261
2755
  msgid "WoooCommerce billing address Sync"
2756
  msgstr ""
2757
 
2758
+ #: admin/html/whats-new.php:1263
2759
  msgid ""
2760
  "If an existing customer has previously set his billing address, that will "
2761
  "be imported into WPUF Billing address "
2762
  msgstr ""
2763
 
2764
+ #: admin/html/whats-new.php:1266
2765
  msgid "Trial subscription message not showing properly"
2766
  msgstr ""
2767
 
2768
+ #: admin/html/whats-new.php:1268
2769
  msgid "Subscriptions with Trial now shows trial notices"
2770
  msgstr ""
2771
 
2772
+ #: admin/html/whats-new.php:1271
2773
  msgid "Reset email Key not working"
2774
  msgstr ""
2775
 
2776
+ #: admin/html/whats-new.php:1273
2777
  msgid "Reset Email key was not working in some cases"
2778
  msgstr ""
2779
 
2780
+ #: admin/html/whats-new.php:1276
2781
  msgid "Post count not showing on the frontend dashboard"
2782
  msgstr ""
2783
 
2784
+ #: admin/html/whats-new.php:1278
2785
  msgid ""
2786
  "Dashboard with multiple post type was not showing post counts properly, is "
2787
  "now fixed and shows count for each post type"
2788
  msgstr ""
2789
 
2790
+ #: admin/html/whats-new.php:1281
2791
  msgid "Login Redirect showing blank page is fixed"
2792
  msgstr ""
2793
 
2794
+ #: admin/html/whats-new.php:1283
2795
  msgid ""
2796
  "If \"Previous Page\" was set for redirection, login redirect was "
2797
  "redirecting to blank page for users who hit login page directly"
2798
  msgstr ""
2799
 
2800
+ #: admin/html/whats-new.php:1292
2801
  msgid "Enhanced Login Redirect to redirect users to previous page"
2802
  msgstr ""
2803
 
2804
+ #: admin/html/whats-new.php:1294
2805
  msgid ""
2806
  "You can choose Previous Page as Login Redirect page settings now to "
2807
  "redirect users to the page from which they went for Login. "
2808
  msgstr ""
2809
 
2810
+ #: admin/html/whats-new.php:1297
2811
  msgid "Email HTML links not Rendreing properly issue is fixed"
2812
  msgstr ""
2813
 
2814
+ #: admin/html/whats-new.php:1299
2815
  msgid ""
2816
  "For some clients emails were not rendering the HTML links properly, this is "
2817
  "now fixed"
2818
  msgstr ""
2819
 
2820
+ #: admin/html/whats-new.php:1302
2821
  msgid "Form Builder : Form Field's Help text styles not showing properly"
2822
  msgstr ""
2823
 
2824
+ #: admin/html/whats-new.php:1304
2825
  msgid "Help texts styling is now fixed and much easier to read and understand"
2826
  msgstr ""
2827
 
2828
+ #: admin/html/whats-new.php:1307
2829
  msgid "Various other code improvements"
2830
  msgstr ""
2831
 
2832
+ #: admin/html/whats-new.php:1318
2833
  msgid "Dashboard Post Listing now supports multiple post types"
2834
  msgstr ""
2835
 
2836
+ #: admin/html/whats-new.php:1320
2837
  msgid ""
2838
  "Now you can show multiple post type in user dashboard using shortcode like "
2839
  "this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
2840
  msgstr ""
2841
 
2842
+ #: admin/html/whats-new.php:1323
2843
  msgid "Added Login Redirect Settings"
2844
  msgstr ""
2845
 
2846
+ #: admin/html/whats-new.php:1325
2847
  msgid ""
2848
  "You can now set a page from <i>WPUF Settings > Login/Registration > "
2849
  "Redirect after Login</i>. When login redirection is active the user will be "
2850
  "redirected to this page after login."
2851
  msgstr ""
2852
 
2853
+ #: admin/html/whats-new.php:1328
2854
  msgid "Image Upload field button text can be changed"
2855
  msgstr ""
2856
 
2857
+ #: admin/html/whats-new.php:1330
2858
  msgid ""
2859
  "The upload button text can now be changed for image upload fields which "
2860
  "defaults to \"Select Image\" if not set. "
2861
  msgstr ""
2862
 
2863
+ #: admin/html/whats-new.php:1333
2864
  msgid "Multi Step Form styles made compatible with more themes"
2865
  msgstr ""
2866
 
2867
+ #: admin/html/whats-new.php:1335
2868
  msgid "Multi Step form can now be styled more easily with other themes "
2869
  msgstr ""
2870
 
2871
+ #: admin/html/whats-new.php:1338
2872
  msgid "Required field condition for google map not working is fixed"
2873
  msgstr ""
2874
 
2875
+ #: admin/html/whats-new.php:1340
2876
  msgid ""
2877
  "If Google Map field was set as required users were able to submit form "
2878
  "without changing the default value."
2879
  msgstr ""
2880
 
2881
+ #: admin/html/whats-new.php:1349
2882
  msgid "Admin form builder is now fully responsive."
2883
  msgstr ""
2884
 
2885
+ #: admin/html/whats-new.php:1351
2886
  msgid ""
2887
  "Now you can edit forms from your mobile devices directly. Our improved "
2888
  "responsive layouts of form builder makes it easy for you to build forms on "
2889
  "the go."
2890
  msgstr ""
2891
 
2892
+ #: admin/html/whats-new.php:1354
2893
  msgid "Added color schemes for creating attractive form layouts."
2894
  msgstr ""
2895
 
2896
+ #: admin/html/whats-new.php:1356
2897
  msgid ""
2898
  "We have added 3 new color schemes for the form layouts which you can choose "
2899
  "from each form's new display settings."
2900
  msgstr ""
2901
 
2902
+ #: admin/html/whats-new.php:1359
2903
  msgid "Restrict Free subscription pack to be enabled multiple times "
2904
  msgstr ""
2905
 
2906
+ #: admin/html/whats-new.php:1361
2907
  msgid ""
2908
  "Free subscription packs now can only be purchased once and the limit "
2909
  "applies properly"
2910
  msgstr ""
2911
 
2912
+ #: admin/html/whats-new.php:1364
2913
  msgid "Various other bug fixes and improvements were made "
2914
  msgstr ""
2915
 
2916
+ #: admin/html/whats-new.php:1366
2917
  msgid "Please see the change log to see full details."
2918
  msgstr ""
2919
 
2920
+ #: admin/html/whats-new.php:1375
2921
  msgid "Added upgrade function for default category"
2922
  msgstr ""
2923
 
2924
+ #: admin/html/whats-new.php:1377
2925
  msgid "Upgrader added to upgrade previously set default post category."
2926
  msgstr ""
2927
 
2928
+ #: admin/html/whats-new.php:1380
2929
  msgid "Subscription pack cannot be canceled"
2930
  msgstr ""
2931
 
2932
+ #: admin/html/whats-new.php:1382
2933
  msgid ""
2934
  "Fixed recurring subscription pack cannot be canceled from my account page "
2935
  "in subscription details section."
2936
  msgstr ""
2937
 
2938
+ #: admin/html/whats-new.php:1385
2939
  msgid "page installer admin notice logic issue"
2940
  msgstr ""
2941
 
2942
+ #: admin/html/whats-new.php:1387
2943
  msgid ""
2944
  "Fixed page installer admin notice logic problem due to new payment settings "
2945
  "default value not set."
2946
  msgstr ""
2947
 
2948
+ #: admin/html/whats-new.php:1397
2949
  msgid "Setup Wizard"
2950
  msgstr ""
2951
 
2952
+ #: admin/html/whats-new.php:1399
2953
  msgid "Setup Wizard added to turn off payment options and install pages."
2954
  msgstr ""
2955
 
2956
+ #: admin/html/whats-new.php:1403
2957
  msgid "Multi-select Category"
2958
  msgstr ""
2959
 
2960
+ #: admin/html/whats-new.php:1405
2961
  msgid "Add multi-select to default category in post form settings."
2962
  msgstr ""
2963
 
2964
+ #: admin/html/whats-new.php:1409
2965
  msgid "Select Text option for Taxonomy"
2966
  msgstr ""
2967
 
2968
+ #: admin/html/whats-new.php:1411
2969
  msgid ""
2970
  "Add Select Text option for taxonomy fields. Now you can add default text "
2971
  "with empty value as first option for Taxonomy dropdown."
2972
  msgstr ""
2973
 
2974
+ #: admin/html/whats-new.php:1414
2975
  msgid "Taxonomy Checkbox Inline"
2976
  msgstr ""
2977
 
2978
+ #: admin/html/whats-new.php:1416
2979
  msgid ""
2980
  "Added checkbox inline option to taxonomy checkbox. You can now display "
2981
  "Taxonomy checkbox fields inline."
2982
  msgstr ""
2983
 
2984
+ #: admin/html/whats-new.php:1426
2985
  msgid "Manage schedule for form submission"
2986
  msgstr ""
2987
 
2988
+ #: admin/html/whats-new.php:1428
2989
  msgid ""
2990
  "Do not accept form submission if the current date is not between the date "
2991
  "range of the schedule."
2992
  msgstr ""
2993
 
2994
+ #: admin/html/whats-new.php:1432
2995
  msgid "Restrict form submission based on the user roles"
2996
  msgstr ""
2997
 
2998
+ #: admin/html/whats-new.php:1434
2999
  msgid ""
3000
  "Restrict form submission based on the user roles. Now you can manage user "
3001
  "role base permission on form submission."
3002
  msgstr ""
3003
 
3004
+ #: admin/html/whats-new.php:1438
3005
  msgid "Limit how many entries a form will accept"
3006
  msgstr ""
3007
 
3008
+ #: admin/html/whats-new.php:1440
3009
  msgid ""
3010
  "Limit how many entries a form will accept and display a custom message when "
3011
  "that limit is reached."
3012
  msgstr ""
3013
 
3014
+ #: admin/html/whats-new.php:1444
3015
  msgid "Show/hide Admin Bar"
3016
  msgstr ""
3017
 
3018
+ #: admin/html/whats-new.php:1446
3019
  msgid "Control the admin bar visibility based on user roles."
3020
  msgstr ""
3021
 
3022
+ #: admin/html/whats-new.php:1450
3023
  msgid "Ajax Login widget"
3024
  msgstr ""
3025
 
3026
+ #: admin/html/whats-new.php:1452
3027
  msgid ""
3028
  "Login user is more simple now with Ajax Login Widget. The simple ajax login "
3029
  "form do not required page loading for login."
3030
  msgstr ""
3031
 
3032
+ #: admin/html/whats-new.php:1456
3033
  msgid "Form submission with Captcha field"
3034
  msgstr ""
3035
 
3036
+ #: admin/html/whats-new.php:1458
3037
  msgid "Form field validation process updated if form submits with captcha field."
3038
  msgstr ""
3039
 
3040
+ #: admin/html/whats-new.php:1472
3041
  msgid "What's New in WPUF?"
3042
  msgstr ""
3043
 
3060
  msgstr ""
3061
 
3062
  #: admin/installer.php:84 admin/settings-options.php:24
3063
+ #: includes/free/admin/shortcode-button.php:79 wpuf-functions.php:2040
3064
  msgid "Dashboard"
3065
  msgstr ""
3066
 
3075
 
3076
  #: admin/installer.php:95 class/subscription.php:410 class/subscription.php:430
3077
  #: class/subscription.php:431 class/subscription.php:432
3078
+ #: includes/free/admin/shortcode-button.php:99 wpuf-functions.php:2023
3079
  msgid "Subscription"
3080
  msgstr ""
3081
 
3084
  msgstr ""
3085
 
3086
  #: admin/installer.php:96 templates/dashboard/list.php:16
3087
+ #: templates/dashboard/posts.php:106
3088
  msgid "Payment"
3089
  msgstr ""
3090
 
3170
  msgid "Draft"
3171
  msgstr ""
3172
 
3173
+ #: admin/posting.php:72 class/asset-loader.php:55 class/render-form.php:1682
3174
  #: wpuf.php:736
3175
  msgid "Are you sure?"
3176
  msgstr ""
3482
  msgid "WP User Frontend Pro is the most powerful solution for your frontend needs."
3483
  msgstr ""
3484
 
3485
+ #: admin/promotion.php:115
 
 
 
 
 
 
 
 
 
 
3486
  msgid "Sure! I'd love to!"
3487
  msgstr ""
3488
 
3489
+ #: admin/promotion.php:116
3490
  msgid "I've already left a review"
3491
  msgstr ""
3492
 
3493
+ #: admin/promotion.php:117
3494
  msgid "Never show again"
3495
  msgstr ""
3496
 
3497
+ #: admin/promotion.php:253 includes/class-whats-new.php:107
3498
  msgid "Dismiss this notice."
3499
  msgstr ""
3500
 
3710
  msgstr ""
3711
 
3712
  #: admin/settings-options.php:247
3713
+ msgid "Editing Published Post"
3714
  msgstr ""
3715
 
3716
  #: admin/settings-options.php:248
3717
+ msgid "Disable post editing while post in \"publish\" status"
3718
  msgstr ""
3719
 
3720
  #: admin/settings-options.php:254
3721
+ msgid "Posts per page"
3722
  msgstr ""
3723
 
3724
  #: admin/settings-options.php:255
3725
+ msgid "How many posts will be listed in a page"
3726
  msgstr ""
3727
 
3728
  #: admin/settings-options.php:261
3729
+ msgid "Show user bio"
3730
  msgstr ""
3731
 
3732
  #: admin/settings-options.php:262
3733
+ msgid "Users biographical info will be shown"
3734
  msgstr ""
3735
 
3736
  #: admin/settings-options.php:268
3737
+ msgid "Show post count"
3738
  msgstr ""
3739
 
3740
  #: admin/settings-options.php:269
3741
+ msgid "Show how many posts are created by the user"
3742
+ msgstr ""
3743
+
3744
+ #: admin/settings-options.php:275
3745
+ msgid "Show Featured Image"
3746
+ msgstr ""
3747
+
3748
+ #: admin/settings-options.php:276
3749
  msgid "Show featured image of the post (Overridden by Shortcode)"
3750
  msgstr ""
3751
 
3752
+ #: admin/settings-options.php:281
3753
  msgid "Show Payment Column"
3754
  msgstr ""
3755
 
3756
+ #: admin/settings-options.php:282
3757
  msgid "Enable if you want show payment column on posts table"
3758
  msgstr ""
3759
 
3760
+ #: admin/settings-options.php:288
3761
  msgid "Featured Image size"
3762
  msgstr ""
3763
 
3764
+ #: admin/settings-options.php:295
3765
  msgid "Not logged in users will see this message"
3766
  msgstr ""
3767
 
3768
+ #: admin/settings-options.php:304
3769
  msgid "Account Page"
3770
  msgstr ""
3771
 
3772
+ #: admin/settings-options.php:305
3773
  msgid "Select the page which contains <code>[wpuf_account]</code> shortcode"
3774
  msgstr ""
3775
 
3776
+ #: admin/settings-options.php:311
3777
  msgid "Select Custom Post For Account Page"
3778
  msgstr ""
3779
 
3780
+ #: admin/settings-options.php:312
3781
  msgid "Select the post types you want to show on user dashboard."
3782
  msgstr ""
3783
 
3784
+ #: admin/settings-options.php:318
3785
  msgid "Active Tab"
3786
  msgstr ""
3787
 
3788
+ #: admin/settings-options.php:319
3789
  msgid "Which tab should be set as active by default when opening the account page"
3790
  msgstr ""
3791
 
3792
+ #: admin/settings-options.php:325
3793
  msgid "Show Subscriptions"
3794
  msgstr ""
3795
 
3796
+ #: admin/settings-options.php:326
3797
  msgid ""
3798
  "Show Subscriptions tab in \"my account\" page where "
3799
  "<code>[wpuf_account]</code> is located"
3800
  msgstr ""
3801
 
3802
+ #: admin/settings-options.php:332 includes/class-customizer.php:21
3803
  #: includes/class-customizer.php:65
3804
  msgid "Show Billing Address"
3805
  msgstr ""
3806
 
3807
+ #: admin/settings-options.php:333
3808
  msgid "Show billing address in account page."
3809
  msgstr ""
3810
 
3811
+ #: admin/settings-options.php:343
3812
  msgid "Auto Login After Registration"
3813
  msgstr ""
3814
 
3815
+ #: admin/settings-options.php:344
3816
  msgid "If enabled, users after registration will be logged in to the system"
3817
  msgstr ""
3818
 
3819
+ #: admin/settings-options.php:350
3820
  msgid "Login/Registration override"
3821
  msgstr ""
3822
 
3823
+ #: admin/settings-options.php:351
3824
  msgid ""
3825
  "If enabled, default login and registration forms will be overridden by WPUF "
3826
  "with pages below"
3827
  msgstr ""
3828
 
3829
+ #: admin/settings-options.php:357
3830
  msgid "Registration Page"
3831
  msgstr ""
3832
 
3833
+ #: admin/settings-options.php:358
3834
  msgid ""
3835
  "Select the page you want to use as registration page override <em>(should "
3836
  "have shortcode)</em>"
3837
  msgstr ""
3838
 
3839
+ #: admin/settings-options.php:364
3840
  msgid "Login Page"
3841
  msgstr ""
3842
 
3843
+ #: admin/settings-options.php:365
3844
  msgid "Select the page which contains <code>[wpuf-login]</code> shortcode"
3845
  msgstr ""
3846
 
3847
+ #: admin/settings-options.php:371
3848
  msgid "Redirect After Login"
3849
  msgstr ""
3850
 
3851
+ #: admin/settings-options.php:372
3852
  msgid "After successfull login, where the page will redirect to"
3853
  msgstr ""
3854
 
3855
+ #: admin/settings-options.php:378
3856
  msgid "Default Login Redirect"
3857
  msgstr ""
3858
 
3859
+ #: admin/settings-options.php:379
3860
  msgid ""
3861
  "If enabled, users who login using WordPress default login form will be "
3862
  "redirected to the selected page."
3863
  msgstr ""
3864
 
3865
+ #: admin/settings-options.php:385
3866
  msgid "reCAPTCHA in Login Form"
3867
  msgstr ""
3868
 
3869
+ #: admin/settings-options.php:386
3870
  msgid ""
3871
  "If enabled, users have to verify reCAPTCHA in login page. Also, make sure "
3872
  "that reCAPTCHA is configured properly from <b>General Options</b>"
3873
  msgstr ""
3874
 
3875
+ #: admin/settings-options.php:397
3876
  msgid "Enable payments on your site."
3877
  msgstr ""
3878
 
3879
+ #: admin/settings-options.php:403
3880
  msgid "Subscription Pack Page"
3881
  msgstr ""
3882
 
3883
+ #: admin/settings-options.php:404
3884
  msgid "Select the page where <code>[wpuf_sub_pack]</code> located."
3885
  msgstr ""
3886
 
3887
+ #: admin/settings-options.php:410
3888
  msgid "Subscription at registration"
3889
  msgstr ""
3890
 
3891
+ #: admin/settings-options.php:411
3892
  msgid "Registration time redirect to subscription page"
3893
  msgstr ""
3894
 
3895
+ #: admin/settings-options.php:416
3896
  msgid "Currency"
3897
  msgstr ""
3898
 
3899
+ #: admin/settings-options.php:423
3900
  msgid "Currency Position"
3901
  msgstr ""
3902
 
3903
+ #: admin/settings-options.php:427
3904
  msgid "Left"
3905
  msgstr ""
3906
 
3907
+ #: admin/settings-options.php:428
3908
  msgid "Right"
3909
  msgstr ""
3910
 
3911
+ #: admin/settings-options.php:429
3912
  msgid "Left with space"
3913
  msgstr ""
3914
 
3915
+ #: admin/settings-options.php:430
3916
  msgid "Right with space"
3917
  msgstr ""
3918
 
3919
+ #: admin/settings-options.php:435
3920
  msgid "Thousand Separator"
3921
  msgstr ""
3922
 
3923
+ #: admin/settings-options.php:436
3924
  msgid "This sets the thousand separator of displayed prices."
3925
  msgstr ""
3926
 
3927
+ #: admin/settings-options.php:444
3928
  msgid "Decimal Separator"
3929
  msgstr ""
3930
 
3931
+ #: admin/settings-options.php:445
3932
  msgid "This sets the decimal separator of displayed prices."
3933
  msgstr ""
3934
 
3935
+ #: admin/settings-options.php:452
3936
  msgid "Number of Decimals"
3937
  msgstr ""
3938
 
3939
+ #: admin/settings-options.php:453
3940
  msgid "This sets the number of decimal points shown in displayed prices."
3941
  msgstr ""
3942
 
3943
+ #: admin/settings-options.php:463
3944
  msgid "Enable demo/sandbox mode"
3945
  msgstr ""
3946
 
3947
+ #: admin/settings-options.php:464
3948
  msgid "When sandbox mode is active, all payment gateway will be used in demo mode"
3949
  msgstr ""
3950
 
3951
+ #: admin/settings-options.php:470
3952
  msgid "Payment Page"
3953
  msgstr ""
3954
 
3955
+ #: admin/settings-options.php:471
3956
  msgid "This page will be used to process payment options"
3957
  msgstr ""
3958
 
3959
+ #: admin/settings-options.php:478 lib/gateway/bank.php:36
3960
  msgid "After payment users will be redirected here"
3961
  msgstr ""
3962
 
3963
+ #: admin/settings-options.php:484
3964
  msgid "Payment Gateways"
3965
  msgstr ""
3966
 
3967
+ #: admin/settings-options.php:485
3968
  msgid "Active payment gateways"
3969
  msgstr ""
3970
 
3971
+ #: admin/settings-options.php:491
3972
  msgid "Retry Failed Payment"
3973
  msgstr ""
3974
 
3975
+ #: admin/settings-options.php:492
3976
  msgid "How many times should retry for failed payment max is 4"
3977
  msgstr ""
3978
 
3979
+ #: admin/settings-options.php:507
3980
  msgid "<span class=\"dashicons dashicons-universal-access-alt\"></span> Guest Email"
3981
  msgstr ""
3982
 
3983
+ #: admin/settings-options.php:514
3984
  msgid "Guest Email Notification"
3985
  msgstr ""
3986
 
3987
+ #: admin/settings-options.php:515
3988
  msgid "Enable Guest Email Notification ."
3989
  msgstr ""
3990
 
3991
+ #: admin/settings-options.php:521
3992
  msgid "Guest mail subject"
3993
  msgstr ""
3994
 
3995
+ #: admin/settings-options.php:522
3996
  msgid "This sets the subject of the emails sent to guest users"
3997
  msgstr ""
3998
 
3999
+ #: admin/settings-options.php:529
4000
  msgid "Guest mail body"
4001
  msgstr ""
4002
 
4003
+ #: admin/settings-options.php:530
4004
  msgid ""
4005
  "This sets the body of the emails sent to guest users. Please DON'T edit the "
4006
  "<code>{activation_link}</code> part, you can use {sitename} too."
4007
  msgstr ""
4008
 
4009
+ #: admin/settings-options.php:549
4010
  msgid "Post Types"
4011
  msgstr ""
4012
 
4013
+ #: admin/settings-options.php:550
4014
  msgid "Select the post types you will allow users to export."
4015
  msgstr ""
4016
 
4017
+ #: admin/settings-options.php:576
4018
  msgid ""
4019
  "Select profile/registration forms for user roles. These forms will be used "
4020
  "to populate extra edit profile fields in backend."
4024
  msgid "Number of subscribers per page:"
4025
  msgstr ""
4026
 
4027
+ #: admin/template-post.php:36 includes/fields/class-field-post-content.php:143
4028
  msgid "Enable Image Insertion"
4029
  msgstr ""
4030
 
4031
+ #: admin/template-post.php:42 includes/fields/class-field-post-content.php:145
4032
  msgid "Enable image upload in post area"
4033
  msgstr ""
4034
 
4044
  msgid "Max. file size"
4045
  msgstr ""
4046
 
4047
+ #: admin/template-post.php:147 includes/fields/class-abstract-fields.php:440
4048
  msgid "Type"
4049
  msgstr ""
4050
 
4053
  msgid "Dropdown"
4054
  msgstr ""
4055
 
4056
+ #: admin/template-post.php:150 includes/fields/class-abstract-fields.php:444
4057
  #: includes/fields/class-field-multidropdown.php:9
4058
  #: includes/fields/class-field-multidropdown.php:79
4059
  msgid "Multi Select"
4060
  msgstr ""
4061
 
4062
+ #: admin/template-post.php:151 includes/fields/class-abstract-fields.php:445
4063
  #: includes/fields/class-field-checkbox.php:9
4064
  msgid "Checkbox"
4065
  msgstr ""
4066
 
4067
+ #: admin/template-post.php:152 includes/fields/class-abstract-fields.php:446
4068
  msgid "Text Input"
4069
  msgstr ""
4070
 
4071
+ #: admin/template-post.php:153 includes/fields/class-abstract-fields.php:447
4072
  msgid "Ajax"
4073
  msgstr ""
4074
 
4075
+ #: admin/template-post.php:158 includes/fields/class-abstract-fields.php:480
4076
  msgid "Order By"
4077
  msgstr ""
4078
 
4079
+ #: admin/template-post.php:161 includes/fields/class-abstract-fields.php:484
4080
  msgid "Term ID"
4081
  msgstr ""
4082
 
4083
+ #: admin/template-post.php:162 includes/fields/class-abstract-fields.php:485
4084
  msgid "Slug"
4085
  msgstr ""
4086
 
4087
+ #: admin/template-post.php:163 includes/fields/class-abstract-fields.php:486
4088
  msgid "Count"
4089
  msgstr ""
4090
 
4091
+ #: admin/template-post.php:164 includes/fields/class-abstract-fields.php:487
4092
  msgid "Term Group"
4093
  msgstr ""
4094
 
4095
+ #: admin/template-post.php:169 includes/fields/class-abstract-fields.php:496
4096
  msgid "Order"
4097
  msgstr ""
4098
 
4099
+ #: admin/template-post.php:171 includes/fields/class-abstract-fields.php:500
4100
  msgid "ASC"
4101
  msgstr ""
4102
 
4103
+ #: admin/template-post.php:172 includes/fields/class-abstract-fields.php:501
4104
  msgid "DESC"
4105
  msgstr ""
4106
 
4107
+ #: admin/template-post.php:177 includes/fields/class-abstract-fields.php:510
4108
  msgid "Selection Type"
4109
  msgstr ""
4110
 
4111
+ #: admin/template-post.php:179 includes/fields/class-abstract-fields.php:513
4112
  msgid "Exclude"
4113
  msgstr ""
4114
 
4115
+ #: admin/template-post.php:180 includes/fields/class-abstract-fields.php:514
4116
  msgid "Include"
4117
  msgstr ""
4118
 
4119
+ #: admin/template-post.php:181 includes/fields/class-abstract-fields.php:515
4120
  msgid "Child of"
4121
  msgstr ""
4122
 
4132
  msgid "WooCommerce Attribute"
4133
  msgstr ""
4134
 
4135
+ #: admin/template-post.php:197 includes/fields/class-abstract-fields.php:537
4136
  msgid "This taxonomy is a WooCommerce attribute"
4137
  msgstr ""
4138
 
4140
  msgid "Visibility"
4141
  msgstr ""
4142
 
4143
+ #: admin/template-post.php:209 includes/fields/class-abstract-fields.php:548
4144
  msgid "Visible on product page"
4145
  msgstr ""
4146
 
4231
  msgstr ""
4232
 
4233
  #: admin/template.php:117 admin/template.php:175
4234
+ #: includes/fields/class-abstract-fields.php:576
4235
+ #: includes/fields/class-abstract-fields.php:660
4236
  msgid "Placeholder text"
4237
  msgstr ""
4238
 
4239
+ #: admin/template.php:118 includes/fields/class-abstract-fields.php:582
4240
+ #: includes/fields/class-abstract-fields.php:664
4241
  msgid "Text for HTML5 placeholder attribute"
4242
  msgstr ""
4243
 
4244
  #: admin/template.php:122 admin/template.php:180
4245
+ #: includes/fields/class-abstract-fields.php:587
4246
+ #: includes/fields/class-abstract-fields.php:672
4247
  msgid "Default value"
4248
  msgstr ""
4249
 
4250
+ #: admin/template.php:123 includes/fields/class-abstract-fields.php:593
4251
+ #: includes/fields/class-abstract-fields.php:676
4252
  msgid "The default value this field will have"
4253
  msgstr ""
4254
 
4255
+ #: admin/template.php:127 includes/fields/class-abstract-fields.php:598
4256
  msgid "Size"
4257
  msgstr ""
4258
 
4259
+ #: admin/template.php:128 includes/fields/class-abstract-fields.php:603
4260
  msgid "Size of this input field"
4261
  msgstr ""
4262
 
4268
  msgid "Numebr of words the author to be restricted in"
4269
  msgstr ""
4270
 
4271
+ #: admin/template.php:165 includes/fields/class-abstract-fields.php:642
4272
  msgid "Rows"
4273
  msgstr ""
4274
 
4275
+ #: admin/template.php:170 includes/fields/class-abstract-fields.php:651
4276
  #: includes/fields/class-field-column.php:9
4277
  msgid "Columns"
4278
  msgstr ""
4279
 
4280
+ #: admin/template.php:185 includes/fields/class-abstract-fields.php:681
4281
  #: includes/fields/class-field-textarea.php:9
4282
+ #: includes/fields/class-field-textarea.php:122
4283
  msgid "Textarea"
4284
  msgstr ""
4285
 
4286
+ #: admin/template.php:188 includes/fields/class-abstract-fields.php:684
4287
  msgid "Normal"
4288
  msgstr ""
4289
 
4290
+ #: admin/template.php:189 includes/fields/class-abstract-fields.php:685
4291
  msgid "Rich textarea"
4292
  msgstr ""
4293
 
4294
+ #: admin/template.php:190 includes/fields/class-abstract-fields.php:686
4295
  msgid "Teeny Rich textarea"
4296
  msgstr ""
4297
 
4300
  msgstr ""
4301
 
4302
  #: admin/template.php:377 admin/template.php:401 admin/template.php:432
4303
+ #: admin/template.php:463 includes/fields/class-abstract-fields.php:624
4304
+ #: templates/dashboard/list.php:19 templates/dashboard/posts.php:109
4305
  msgid "Options"
4306
  msgstr ""
4307
 
4308
  #: admin/template.php:417 admin/template.php:448
4309
+ #: includes/fields/class-abstract-fields.php:460
4310
  #: includes/fields/class-field-dropdown.php:87
4311
  msgid ""
4312
  "First element of the select dropdown. Leave this empty if you don't want to "
4314
  msgstr ""
4315
 
4316
  #: admin/template.php:427 admin/template.php:458
4317
+ #: includes/fields/class-abstract-fields.php:456
4318
  #: includes/fields/class-field-dropdown.php:83
4319
  msgid "Select Text"
4320
  msgstr ""
4322
  #: admin/template.php:520 admin/template.php:578 admin/template.php:656
4323
  #: class/upload.php:275 includes/fields/class-field-recaptcha.php:147
4324
  #: includes/fields/class-field-sectionbreak.php:55
4325
+ #: templates/dashboard/list.php:10 templates/dashboard/posts.php:100
4326
  #: wpuf-functions.php:1024
4327
  msgid "Title"
4328
  msgstr ""
4398
  msgid "Are you sure you want to cancel your current subscription ?"
4399
  msgstr ""
4400
 
4401
+ #: class/frontend-account.php:39
4402
  msgid "Post Submission"
4403
  msgstr ""
4404
 
4405
+ #: class/frontend-account.php:40
4406
  msgid "Enable if you want to allow users to submit post from the account page."
4407
  msgstr ""
4408
 
4409
+ #: class/frontend-account.php:47
4410
  msgid "Submission Menu Label"
4411
  msgstr ""
4412
 
4413
+ #: class/frontend-account.php:48
4414
  msgid "Label for post submission menu"
4415
  msgstr ""
4416
 
4417
+ #: class/frontend-account.php:50 class/frontend-account.php:101
4418
  #: includes/class-wcmp-integration.php:127
4419
  #: includes/class-wcmp-integration.php:144
4420
  msgid "Submit Post"
4421
  msgstr ""
4422
 
4423
+ #: class/frontend-account.php:55
4424
  msgid "Submission Form"
4425
  msgstr ""
4426
 
4427
+ #: class/frontend-account.php:56
4428
  msgid ""
4429
  "Select a post form that will use to submit post by the users from their "
4430
  "account page."
4431
  msgstr ""
4432
 
4433
+ #: class/frontend-account.php:243
4434
  msgid "<p>You have not subscribed to any package yet.</p>"
4435
  msgstr ""
4436
 
4437
+ #: class/frontend-account.php:251
4438
  msgid "<p>You may have processed your payment, but the pack is not active yet.</p>"
4439
  msgstr ""
4440
 
4441
+ #: class/frontend-account.php:268
4442
  #. translators: %s: billing cycle number, %s: billing cycle period
4443
  msgid "For each"
4444
  msgstr ""
4445
 
4446
+ #: class/frontend-account.php:340
4447
  msgid "Nonce failure"
4448
  msgstr ""
4449
 
4450
+ #: class/frontend-account.php:354
4451
  msgid "First Name is a required field."
4452
  msgstr ""
4453
 
4454
+ #: class/frontend-account.php:358
4455
  msgid "Last Name is a required field."
4456
  msgstr ""
4457
 
4458
+ #: class/frontend-account.php:362
4459
  msgid "Email is a required field."
4460
  msgstr ""
4461
 
4462
+ #: class/frontend-account.php:374
4463
  msgid "Please provide a valid email address."
4464
  msgstr ""
4465
 
4466
+ #: class/frontend-account.php:376
4467
  msgid "This email address is already registered."
4468
  msgstr ""
4469
 
4470
+ #: class/frontend-account.php:382
4471
  msgid "Please fill out all password fields."
4472
  msgstr ""
4473
 
4474
+ #: class/frontend-account.php:385
4475
  msgid "Please enter your current password."
4476
  msgstr ""
4477
 
4478
+ #: class/frontend-account.php:388
4479
  msgid "Please re-enter your password."
4480
  msgstr ""
4481
 
4482
+ #: class/frontend-account.php:391
4483
  msgid "New passwords do not match."
4484
  msgstr ""
4485
 
4486
+ #: class/frontend-account.php:394 class/frontend-account.php:405
4487
  msgid "Your current password is incorrect."
4488
  msgstr ""
4489
 
4531
  msgstr ""
4532
 
4533
  #: class/payment.php:154 includes/class-customizer.php:56
4534
+ #: wpuf-functions.php:2024
4535
  msgid "Billing Address"
4536
  msgstr ""
4537
 
4636
  #: includes/fields/class-field-featured-image.php:142
4637
  #: includes/free/post-form-templates/the_events_calendar.php:125
4638
  #: includes/free/post-form-templates/the_events_calendar.php:126
4639
+ #: templates/dashboard/list.php:7 templates/dashboard/posts.php:97
4640
  msgid "Featured Image"
4641
  msgstr ""
4642
 
4701
  msgid "Please make sure you've published your form."
4702
  msgstr ""
4703
 
4704
+ #: class/render-form.php:1326 includes/free/edit-profile.php:200
4705
  #: templates/registration-form.php:68
4706
  msgid "Confirm Password"
4707
  msgstr ""
4708
 
4709
+ #: class/render-form.php:1348 includes/free/edit-profile.php:209
4710
  #: templates/dashboard/edit-profile.php:71
4711
  msgid "Strength indicator"
4712
  msgstr ""
4713
 
4714
+ #: class/render-form.php:1410 includes/fields/class-field-post-taxonomy.php:127
4715
  #: includes/fields/class-field-post-taxonomy.php:258
4716
  msgid "-- Select --"
4717
  msgstr ""
4718
 
4719
+ #: class/render-form.php:1474 includes/fields/class-field-post-taxonomy.php:66
4720
  msgid "This field is no longer available."
4721
  msgstr ""
4722
 
4723
+ #: class/render-form.php:1682 class/transactions-list-table.php:141
4724
+ #: class/transactions-list-table.php:211 includes/free/edit-user.php:105
4725
  msgid "Delete"
4726
  msgstr ""
4727
 
4870
 
4871
  #: class/transactions-list-table.php:44
4872
  #: includes/class-list-table-subscribers.php:44 templates/dashboard/list.php:11
4873
+ #: templates/dashboard/posts.php:101
4874
  msgid "Status"
4875
  msgstr ""
4876
 
4918
  msgid "Date"
4919
  msgstr ""
4920
 
4921
+ #: class/transactions-list-table.php:102
4922
+ #: includes/class-list-table-subscribers.php:137
4923
+ #: templates/dashboard/list.php:81 templates/dashboard/posts.php:187
4924
+ msgid "Completed"
4925
+ msgstr ""
4926
+
4927
+ #: class/transactions-list-table.php:109 wpuf-functions.php:64
4928
  msgid "Pending"
4929
  msgstr ""
4930
 
4931
+ #: class/transactions-list-table.php:136 class/transactions-list-table.php:214
4932
  msgid "Accept"
4933
  msgstr ""
4934
 
4935
+ #: class/transactions-list-table.php:137 class/transactions-list-table.php:215
4936
  msgid "Reject"
4937
  msgstr ""
4938
 
4939
+ #: class/transactions-list-table.php:200
4940
  msgid "No transactions found."
4941
  msgstr ""
4942
 
5005
  msgid "Country"
5006
  msgstr ""
5007
 
5008
+ #: includes/class-billing-address.php:185
5009
+ #: templates/dashboard/billing-address.php:69
5010
  msgid "Choose a country"
5011
  msgstr ""
5012
 
5013
+ #: includes/class-billing-address.php:204 includes/class-customizer.php:23
5014
+ #: includes/class-customizer.php:67 templates/dashboard/billing-address.php:90
5015
+ #: templates/dashboard/billing-address.php:91
5016
  msgid "State/Province/Region"
5017
  msgstr ""
5018
 
5019
+ #: includes/class-billing-address.php:218
5020
+ #: templates/dashboard/billing-address.php:111
5021
  msgid "Choose a state"
5022
  msgstr ""
5023
 
5024
+ #: includes/class-billing-address.php:237
5025
+ #: templates/dashboard/billing-address.php:134
5026
  msgid "Address Line 1 "
5027
  msgstr ""
5028
 
5029
+ #: includes/class-billing-address.php:248
5030
+ #: templates/dashboard/billing-address.php:142
5031
  msgid "Address Line 2 "
5032
  msgstr ""
5033
 
5034
+ #: includes/class-billing-address.php:259 includes/class-customizer.php:26
5035
  #: includes/class-customizer.php:70 includes/class-privacy.php:253
5036
+ #: templates/dashboard/billing-address.php:148
5037
+ #: templates/dashboard/billing-address.php:149
5038
  msgid "City"
5039
  msgstr ""
5040
 
5041
+ #: includes/class-billing-address.php:269 includes/class-customizer.php:27
5042
  #: includes/class-customizer.php:71
5043
  msgid "Postal Code/ZIP"
5044
  msgstr ""
5045
 
5046
+ #: includes/class-billing-address.php:279
5047
+ #: templates/dashboard/billing-address.php:167
5048
  msgid "Update Billing Address"
5049
  msgstr ""
5050
 
5051
+ #: includes/class-billing-address.php:322
5052
  #: templates/dashboard/billing-address.php:32
5053
  msgid "Billing address is updated."
5054
  msgstr ""
5170
  msgid "I don't know how to edit this post, I don't have the form ID"
5171
  msgstr ""
5172
 
5173
+ #: includes/class-frontend-form-post.php:126
5174
  msgid "You can't edit a post while in pending mode."
5175
  msgstr ""
5176
 
5177
+ #: includes/class-frontend-form-post.php:130
5178
+ msgid "You're not allowed to edit this post."
5179
+ msgstr ""
5180
+
5181
+ #: includes/class-frontend-form-post.php:333
5182
+ msgid "Minimum %d character is required for %s"
5183
+ msgstr ""
5184
+
5185
+ #: includes/class-frontend-form-post.php:337
5186
+ msgid "Maximum %d character is allowed for %s"
5187
+ msgstr ""
5188
+
5189
+ #: includes/class-frontend-form-post.php:344
5190
+ msgid "Minimum %d word is required for %s"
5191
+ msgstr ""
5192
+
5193
+ #: includes/class-frontend-form-post.php:348
5194
+ msgid "Maximum %d word is allowed for %s"
5195
+ msgstr ""
5196
+
5197
+ #: includes/class-frontend-form-post.php:575
5198
  msgid "Something went wrong"
5199
  msgstr ""
5200
 
5201
+ #: includes/class-frontend-form-post.php:596
5202
  msgid "Invalid email address."
5203
  msgstr ""
5204
 
5205
+ #: includes/class-frontend-form-post.php:607
5206
  msgid ""
5207
  "You already have an account in our site. Please login to continue.\n"
5208
  "\n"
5211
  "Click 'Cancel' to stay at this page."
5212
  msgstr ""
5213
 
5214
+ #: includes/class-frontend-form-post.php:661
5215
+ #: includes/class-frontend-render-form.php:320
5216
  msgid "You do not have sufficient permissions to access this form."
5217
  msgstr ""
5218
 
5219
+ #: includes/class-frontend-form-post.php:974
5220
  msgid "Email successfully verified. Please Login."
5221
  msgstr ""
5222
 
5223
+ #: includes/class-frontend-form-post.php:1101
5224
+ #: includes/class-frontend-form-post.php:1107
5225
  msgid ""
5226
  "Thank you for posting on our site. We have sent you an confirmation email. "
5227
  "Please check your inbox!"
5228
  msgstr ""
5229
 
5230
+ #: includes/class-frontend-render-form.php:865
5231
  #: includes/free/class-login.php:449
5232
  msgid "Empty reCaptcha Field"
5233
  msgstr ""
5234
 
5235
+ #: includes/class-frontend-render-form.php:898
5236
+ #: templates/dashboard/posts.php:120
5237
  msgid "Featured"
5238
  msgstr ""
5239
 
5240
+ #: includes/class-frontend-render-form.php:903
5241
  msgid "Mark the %s as featured (remaining %d)"
5242
  msgstr ""
5243
 
5269
  msgid "Expire date"
5270
  msgstr ""
5271
 
 
 
 
 
 
5272
  #: includes/class-login-widget.php:13
5273
  msgid "WPUF Ajax Login"
5274
  msgstr ""
5309
  msgid "Someone has requested a password reset for the following account:"
5310
  msgstr ""
5311
 
5312
+ #: includes/class-login-widget.php:147 includes/free/class-login.php:872
5313
+ #: includes/free/class-login.php:972 includes/free/class-registration.php:299
5314
  #. translators: %s: username
5315
  msgid "Username: %s"
5316
  msgstr ""
5317
 
5318
+ #: includes/class-login-widget.php:148 includes/free/class-login.php:973
5319
  msgid "If this was a mistake, just ignore this email and nothing will happen."
5320
  msgstr ""
5321
 
5322
+ #: includes/class-login-widget.php:149 includes/free/class-login.php:974
5323
  msgid "To reset your password, visit the following address:"
5324
  msgstr ""
5325
 
5326
+ #: includes/class-login-widget.php:154 includes/free/class-login.php:985
5327
  #. translators: %s: blogname
5328
  msgid "[%s] Password Reset"
5329
  msgstr ""
5742
  msgid "The subscription pack has expired. Please buy a pack."
5743
  msgstr ""
5744
 
5745
+ #: includes/class-user-subscription.php:322
5746
  #: templates/dashboard/subscription.php:3
5747
  msgid "Subscription Details"
5748
  msgstr ""
5749
 
5750
+ #: includes/class-user-subscription.php:324
5751
  #: templates/dashboard/subscription.php:5
5752
  msgid "Subcription Name: "
5753
  msgstr ""
5754
 
5755
+ #: includes/class-user-subscription.php:326
5756
  #: templates/dashboard/subscription.php:7
5757
  msgid "Package & billing details: "
5758
  msgstr ""
5759
 
5760
+ #: includes/class-user-subscription.php:337
5761
  #: templates/dashboard/subscription.php:20
5762
  msgid "Remaining post: "
5763
  msgstr ""
5764
 
5765
+ #: includes/class-user-subscription.php:351
5766
  #: templates/dashboard/subscription.php:36
5767
  msgid "Unlimited"
5768
  msgstr ""
5769
 
5770
+ #: includes/class-user-subscription.php:383
5771
  msgid "Change"
5772
  msgstr ""
5773
 
5880
  msgid "Select option"
5881
  msgstr ""
5882
 
5883
+ #: includes/fields/class-abstract-fields.php:372
5884
+ msgid "Read Only"
5885
+ msgstr ""
5886
+
5887
  #: includes/fields/class-abstract-fields.php:375
5888
+ msgid "Make this field read only "
5889
+ msgstr ""
5890
+
5891
+ #: includes/fields/class-abstract-fields.php:379
5892
+ msgid "Read only"
5893
+ msgstr ""
5894
+
5895
+ #: includes/fields/class-abstract-fields.php:387
5896
  msgid "Show Data in Post"
5897
  msgstr ""
5898
 
5899
+ #: includes/fields/class-abstract-fields.php:397
5900
  msgid "Select Yes if you want to show the field data in single post."
5901
  msgstr ""
5902
 
5903
+ #: includes/fields/class-abstract-fields.php:401
5904
  msgid "Hide Field Label in Post"
5905
  msgstr ""
5906
 
5907
+ #: includes/fields/class-abstract-fields.php:411
5908
  msgid "Select Yes if you want to hide the field label in single post."
5909
  msgstr ""
5910
 
5911
+ #: includes/fields/class-abstract-fields.php:465
5912
  #: includes/fields/class-field-checkbox.php:71
5913
  #: includes/fields/class-field-radio.php:80
5914
  msgid "Show in inline list"
5915
  msgstr ""
5916
 
5917
+ #: includes/fields/class-abstract-fields.php:475
5918
  #: includes/fields/class-field-checkbox.php:81
5919
  #: includes/fields/class-field-radio.php:90
5920
  msgid "Show this option in an inline list"
5921
  msgstr ""
5922
 
5923
+ #: includes/fields/class-abstract-fields.php:524
5924
  msgid "Selection Terms"
5925
  msgstr ""
5926
 
5927
+ #: includes/fields/class-abstract-fields.php:528
5928
  msgid "Search the terms name. use ⇦ ⇨ for navigate"
5929
  msgstr ""
5930
 
5931
+ #: includes/fields/class-abstract-fields.php:629
5932
  msgid "Add options for the form field"
5933
  msgstr ""
5934
 
5935
+ #: includes/fields/class-abstract-fields.php:646
5936
  msgid "Number of rows in textarea"
5937
  msgstr ""
5938
 
5939
+ #: includes/fields/class-abstract-fields.php:655
5940
  msgid "Number of columns in textarea"
5941
  msgstr ""
5942
 
5943
+ #: includes/fields/class-abstract-fields.php:694
5944
+ msgid "Select buttons to exclude"
5945
+ msgstr ""
5946
+
5947
+ #: includes/fields/class-abstract-fields.php:701
5948
+ msgid ""
5949
+ "Select button for exclude from frontend. Search button name. use ⇦ ⇨ for "
5950
+ "navigate"
5951
+ msgstr ""
5952
+
5953
  #: includes/fields/class-field-column.php:70
5954
  msgid "Number of Columns"
5955
  msgstr ""
6232
  msgid "A user could not be found with this email address."
6233
  msgstr ""
6234
 
6235
+ #: includes/free/class-login.php:659
6236
  msgid "Please enter your password."
6237
  msgstr ""
6238
 
6239
+ #: includes/free/class-login.php:665
6240
  msgid "Passwords do not match."
6241
  msgstr ""
6242
 
6243
+ #: includes/free/class-login.php:713
6244
  msgid "Enter a username or e-mail address."
6245
  msgstr ""
6246
 
6247
+ #: includes/free/class-login.php:720
6248
  msgid "There is no user registered with that email address."
6249
  msgstr ""
6250
 
6251
+ #: includes/free/class-login.php:737
6252
  msgid "Invalid username or e-mail."
6253
  msgstr ""
6254
 
6255
+ #: includes/free/class-login.php:751
6256
  msgid "Password reset is not allowed for this user"
6257
  msgstr ""
6258
 
6259
+ #: includes/free/class-login.php:790
6260
  #. translators: %s: activation link
6261
  msgid ""
6262
  "<strong>Your account is not active.</strong><br>Please check your email for "
6264
  "link"
6265
  msgstr ""
6266
 
6267
+ #: includes/free/class-login.php:811 includes/free/class-login.php:836
6268
  msgid "Activation URL is not valid"
6269
  msgstr ""
6270
 
6271
+ #: includes/free/class-login.php:822
6272
  msgid "Invalid User activation url"
6273
  msgstr ""
6274
 
6275
+ #: includes/free/class-login.php:828
6276
  msgid "User already verified"
6277
  msgstr ""
6278
 
6279
+ #: includes/free/class-login.php:844 includes/free/class-login.php:920
6280
  msgid "Your account has been activated"
6281
  msgstr ""
6282
 
6283
+ #: includes/free/class-login.php:847
6284
  msgid ""
6285
  "Your account has been verified , but you can't login until manually "
6286
  "approved your account by an administrator."
6287
  msgstr ""
6288
 
6289
+ #: includes/free/class-login.php:870
6290
  #. translators: %s: blogname
6291
  msgid "[%s] Your username and password info"
6292
  msgstr ""
6293
 
6294
+ #: includes/free/class-login.php:873
6295
  msgid "To set your password, visit the following address:"
6296
  msgstr ""
6297
 
6298
+ #: includes/free/class-login.php:969
6299
+ msgid "Someone requested that the password be reset for the following account:"
6300
+ msgstr ""
6301
+
6302
+ #: includes/free/class-login.php:991
6303
+ msgid "The e-mail could not be sent."
6304
+ msgstr ""
6305
+
6306
+ #: includes/free/class-login.php:991
6307
+ msgid "Possible reason: your host may have disabled the mail() function."
6308
+ msgstr ""
6309
+
6310
+ #: includes/free/class-login.php:1111
6311
  #. translators: %s: blogname
6312
  msgid "[%s] Account has been activated"
6313
  msgstr ""
6314
 
6315
+ #: includes/free/class-login.php:1113
6316
  #. translators: %s: username
6317
  msgid "Hi %s,"
6318
  msgstr ""
6319
 
6320
+ #: includes/free/class-login.php:1114
6321
  msgid "Congrats! Your account has been activated. To login visit the following url:"
6322
  msgstr ""
6323
 
6324
+ #: includes/free/class-login.php:1116
6325
  msgid "Thanks"
6326
  msgstr ""
6327
 
6328
+ #: includes/free/class-login.php:1142
6329
+ msgid " Login "
 
 
 
 
 
 
 
 
6330
  msgstr ""
6331
 
6332
  #: includes/free/class-registration.php:210
6901
  msgid "Submit & Deactivate"
6902
  msgstr ""
6903
 
6904
+ #: lib/class.settings-api.php:369
6905
  msgid "Choose File"
6906
  msgstr ""
6907
 
6957
  msgid "PayPal API signature"
6958
  msgstr ""
6959
 
6960
+ #: templates/dashboard/billing-address.php:133
6961
  msgid "Address Line 1"
6962
  msgstr ""
6963
 
6964
+ #: templates/dashboard/billing-address.php:141
6965
  msgid "Address Line 2"
6966
  msgstr ""
6967
 
6968
+ #: templates/dashboard/billing-address.php:156
6969
+ #: templates/dashboard/billing-address.php:158
6970
  msgid "Postal/ZIP Code"
6971
  msgstr ""
6972
 
7010
  msgid "Confirm New Password"
7011
  msgstr ""
7012
 
7013
+ #: templates/dashboard/list.php:33 templates/dashboard/posts.php:125
7014
  msgid "Featured Image: "
7015
  msgstr ""
7016
 
7017
+ #: templates/dashboard/list.php:40 templates/dashboard/posts.php:132
7018
  msgid "No Image"
7019
  msgstr ""
7020
 
7021
+ #: templates/dashboard/list.php:50 templates/dashboard/posts.php:142
7022
  msgid "Title: "
7023
  msgstr ""
7024
 
7025
+ #: templates/dashboard/list.php:57 templates/dashboard/posts.php:149
7026
  msgid "Permalink to %s"
7027
  msgstr ""
7028
 
7029
+ #: templates/dashboard/list.php:66 templates/dashboard/posts.php:158
7030
  msgid "Status: "
7031
  msgstr ""
7032
 
7033
+ #: templates/dashboard/list.php:77 templates/dashboard/posts.php:183
7034
  msgid "Not Applicable"
7035
  msgstr ""
7036
 
7037
+ #: templates/dashboard/list.php:79 templates/dashboard/posts.php:185
7038
  msgid "Pay Now"
7039
  msgstr ""
7040
 
7041
+ #: templates/dashboard/list.php:88 templates/dashboard/posts.php:192
7042
  msgid "Options: "
7043
  msgstr ""
7044
 
7045
+ #: templates/dashboard/list.php:104 templates/dashboard/posts.php:206
7046
  msgid "Are you sure to delete?"
7047
  msgstr ""
7048
 
7050
  msgid "Item Deleted successfully !"
7051
  msgstr ""
7052
 
7053
+ #: templates/dashboard/posts.php:181
7054
  msgid "Payment: "
7055
  msgstr ""
7056
 
7057
+ #: templates/dashboard/posts.php:227 templates/dashboard.php:112
7058
  msgid "&laquo;"
7059
  msgstr ""
7060
 
7061
+ #: templates/dashboard/posts.php:228 templates/dashboard.php:113
7062
  msgid "&raquo;"
7063
  msgstr ""
7064
 
7065
+ #: templates/dashboard/posts.php:251 templates/dashboard.php:136
7066
  msgid "No %s found"
7067
  msgstr ""
7068
 
7082
  msgid "Number of featured item: "
7083
  msgstr ""
7084
 
7085
+ #: templates/dashboard/subscription.php:64
7086
  msgid "To cancel the pack, press the following cancel button."
7087
  msgstr ""
7088
 
7212
  msgid "Directions »"
7213
  msgstr ""
7214
 
7215
+ #: wpuf-functions.php:2022
7216
  msgid "Edit Profile"
7217
  msgstr ""
7218
 
7219
+ #: wpuf-functions.php:2269
7220
  msgid "United Arab Emirates Dirham"
7221
  msgstr ""
7222
 
7223
+ #: wpuf-functions.php:2274
7224
  msgid "Australian Dollars"
7225
  msgstr ""
7226
 
7227
+ #: wpuf-functions.php:2279
7228
  msgid "Argentine Peso"
7229
  msgstr ""
7230
 
7231
+ #: wpuf-functions.php:2284
7232
  msgid "Bangladeshi Taka"
7233
  msgstr ""
7234
 
7235
+ #: wpuf-functions.php:2289
7236
  msgid "Brazilian Real"
7237
  msgstr ""
7238
 
7239
+ #: wpuf-functions.php:2294
7240
  msgid "Bulgarian Lev"
7241
  msgstr ""
7242
 
7243
+ #: wpuf-functions.php:2299
7244
  msgid "Canadian Dollars"
7245
  msgstr ""
7246
 
7247
+ #: wpuf-functions.php:2304
7248
  msgid "Chilean Peso"
7249
  msgstr ""
7250
 
7251
+ #: wpuf-functions.php:2309
7252
  msgid "Chinese Yuan"
7253
  msgstr ""
7254
 
7255
+ #: wpuf-functions.php:2314
7256
  msgid "Colombian Peso"
7257
  msgstr ""
7258
 
7259
+ #: wpuf-functions.php:2319
7260
  msgid "Czech Koruna"
7261
  msgstr ""
7262
 
7263
+ #: wpuf-functions.php:2324
7264
  msgid "Danish Krone"
7265
  msgstr ""
7266
 
7267
+ #: wpuf-functions.php:2329
7268
  msgid "Dominican Peso"
7269
  msgstr ""
7270
 
7271
+ #: wpuf-functions.php:2334
7272
  msgid "Algerian Dinar"
7273
  msgstr ""
7274
 
7275
+ #: wpuf-functions.php:2339
7276
  msgid "Euros"
7277
  msgstr ""
7278
 
7279
+ #: wpuf-functions.php:2344
7280
  msgid "Hong Kong Dollar"
7281
  msgstr ""
7282
 
7283
+ #: wpuf-functions.php:2349
7284
  msgid "Croatia kuna"
7285
  msgstr ""
7286
 
7287
+ #: wpuf-functions.php:2354
7288
  msgid "Hungarian Forint"
7289
  msgstr ""
7290
 
7291
+ #: wpuf-functions.php:2359
7292
  msgid "Icelandic krona"
7293
  msgstr ""
7294
 
7295
+ #: wpuf-functions.php:2364
7296
  msgid "Indonesia Rupiah"
7297
  msgstr ""
7298
 
7299
+ #: wpuf-functions.php:2369
7300
  msgid "Indian Rupee"
7301
  msgstr ""
7302
 
7303
+ #: wpuf-functions.php:2374
7304
  msgid "Mauritian Rupee"
7305
  msgstr ""
7306
 
7307
+ #: wpuf-functions.php:2379
7308
  msgid "Nepali Rupee"
7309
  msgstr ""
7310
 
7311
+ #: wpuf-functions.php:2384
7312
  msgid "Israeli Shekel"
7313
  msgstr ""
7314
 
7315
+ #: wpuf-functions.php:2389
7316
  msgid "Japanese Yen"
7317
  msgstr ""
7318
 
7319
+ #: wpuf-functions.php:2394
7320
  msgid "Lao Kip"
7321
  msgstr ""
7322
 
7323
+ #: wpuf-functions.php:2399
7324
  msgid "South Korean Won"
7325
  msgstr ""
7326
 
7327
+ #: wpuf-functions.php:2404
7328
  msgid "Malaysian Ringgits"
7329
  msgstr ""
7330
 
7331
+ #: wpuf-functions.php:2409
7332
  msgid "Mexican Peso"
7333
  msgstr ""
7334
 
7335
+ #: wpuf-functions.php:2414
7336
  msgid "Nigerian Naira"
7337
  msgstr ""
7338
 
7339
+ #: wpuf-functions.php:2419
7340
  msgid "Norwegian Krone"
7341
  msgstr ""
7342
 
7343
+ #: wpuf-functions.php:2424
7344
  msgid "New Zealand Dollar"
7345
  msgstr ""
7346
 
7347
+ #: wpuf-functions.php:2429
7348
  msgid "Namibian dollar"
7349
  msgstr ""
7350
 
7351
+ #: wpuf-functions.php:2434
7352
  msgid "Omani Rial"
7353
  msgstr ""
7354
 
7355
+ #: wpuf-functions.php:2439
7356
  msgid "Iranian Rial"
7357
  msgstr ""
7358
 
7359
+ #: wpuf-functions.php:2444
7360
  msgid "Pakistani Rupee"
7361
  msgstr ""
7362
 
7363
+ #: wpuf-functions.php:2449
7364
  msgid "Paraguayan Guaraní"
7365
  msgstr ""
7366
 
7367
+ #: wpuf-functions.php:2454
7368
  msgid "Philippine Pesos"
7369
  msgstr ""
7370
 
7371
+ #: wpuf-functions.php:2459
7372
  msgid "Polish Zloty"
7373
  msgstr ""
7374
 
7375
+ #: wpuf-functions.php:2464
7376
  msgid "Pounds Sterling"
7377
  msgstr ""
7378
 
7379
+ #: wpuf-functions.php:2469
7380
  msgid "Romanian Leu"
7381
  msgstr ""
7382
 
7383
+ #: wpuf-functions.php:2474
7384
  msgid "Russian Ruble"
7385
  msgstr ""
7386
 
7387
+ #: wpuf-functions.php:2479
7388
  msgid "Saudi Riyal"
7389
  msgstr ""
7390
 
7391
+ #: wpuf-functions.php:2484
7392
  msgid "Singapore Dollar"
7393
  msgstr ""
7394
 
7395
+ #: wpuf-functions.php:2489
7396
  msgid "South African rand"
7397
  msgstr ""
7398
 
7399
+ #: wpuf-functions.php:2494
7400
  msgid "Swedish Krona"
7401
  msgstr ""
7402
 
7403
+ #: wpuf-functions.php:2499
7404
  msgid "Swiss Franc"
7405
  msgstr ""
7406
 
7407
+ #: wpuf-functions.php:2504
7408
  msgid "Taiwan New Dollars"
7409
  msgstr ""
7410
 
7411
+ #: wpuf-functions.php:2509
7412
  msgid "Thai Baht"
7413
  msgstr ""
7414
 
7415
+ #: wpuf-functions.php:2514
7416
  msgid "Turkish Lira"
7417
  msgstr ""
7418
 
7419
+ #: wpuf-functions.php:2519
7420
  msgid "Trinidad and Tobago Dollar"
7421
  msgstr ""
7422
 
7423
+ #: wpuf-functions.php:2524
7424
  msgid "US Dollar"
7425
  msgstr ""
7426
 
7427
+ #: wpuf-functions.php:2529
7428
  msgid "Vietnamese Dong"
7429
  msgstr ""
7430
 
7431
+ #: wpuf-functions.php:2534
7432
  msgid "Egyptian Pound"
7433
  msgstr ""
7434
 
7435
+ #: wpuf-functions.php:2539
7436
  msgid "Jordanian dinar"
7437
  msgstr ""
7438
 
7439
+ #: wpuf-functions.php:3440
7440
  msgid "None"
7441
  msgstr ""
7442
 
lib/class.settings-api.php CHANGED
@@ -339,9 +339,10 @@ class WeDevs_Settings_API {
339
  echo '<div style="max-width: ' . $size . ';">';
340
 
341
  $editor_settings = array(
342
- 'teeny' => true,
343
- 'textarea_name' => $args['section'] . '[' . $args['id'] . ']',
344
- 'textarea_rows' => 10
 
345
  );
346
 
347
  if ( isset( $args['options'] ) && is_array( $args['options'] ) ) {
339
  echo '<div style="max-width: ' . $size . ';">';
340
 
341
  $editor_settings = array(
342
+ 'teeny' => true,
343
+ 'textarea_name' => $args['section'] . '[' . $args['id'] . ']',
344
+ 'textarea_rows' => 10,
345
+ 'media_buttons' => false
346
  );
347
 
348
  if ( isset( $args['options'] ) && is_array( $args['options'] ) ) {
lib/gateway/bank.php CHANGED
@@ -26,7 +26,7 @@ class WPUF_Gateway_Bank {
26
  $options[] = [
27
  'name' => 'gate_instruct_bank',
28
  'label' => __( 'Bank Instruction', 'wp-user-frontend' ),
29
- 'type' => 'textarea',
30
  'default' => 'Make your payment directly into our bank account.',
31
  ];
32
 
@@ -61,9 +61,9 @@ class WPUF_Gateway_Bank {
61
  $data['price'] = WPUF_Coupons::init()->discount( $data['price'], $_POST['coupon_id'], $data['item_number'] );
62
  }
63
 
64
- $data['subtotal'] = $data['price'];
65
- $data['price'] = apply_filters( 'wpuf_payment_amount', $data['price'] );
66
- $data['tax'] = floatval( $data['price'] ) - floatval( $data['subtotal'] );
67
 
68
  if ( $order_id ) {
69
  update_post_meta( $order_id, '_data', $data );
26
  $options[] = [
27
  'name' => 'gate_instruct_bank',
28
  'label' => __( 'Bank Instruction', 'wp-user-frontend' ),
29
+ 'type' => 'wysiwyg',
30
  'default' => 'Make your payment directly into our bank account.',
31
  ];
32
 
61
  $data['price'] = WPUF_Coupons::init()->discount( $data['price'], $_POST['coupon_id'], $data['item_number'] );
62
  }
63
 
64
+ $data['cost'] = apply_filters( 'wpuf_payment_amount', $data['price'] ); //price with tax from pro
65
+ $data['tax'] = floatval( $data['cost'] ) - floatval( $data['price'] );
66
+ $data['subtotal'] = $data['price'] + $data['tax'];
67
 
68
  if ( $order_id ) {
69
  update_post_meta( $order_id, '_data', $data );
lib/gateway/paypal.php CHANGED
@@ -130,7 +130,7 @@ class WPUF_Paypal {
130
  $options[] = [
131
  'name' => 'gate_instruct_paypal',
132
  'label' => __( 'PayPal Instruction', 'wp-user-frontend' ),
133
- 'type' => 'textarea',
134
  'default' => "Pay via PayPal; you can pay with your credit card if you don't have a PayPal account",
135
  ];
136
 
130
  $options[] = [
131
  'name' => 'gate_instruct_paypal',
132
  'label' => __( 'PayPal Instruction', 'wp-user-frontend' ),
133
+ 'type' => 'wysiwyg',
134
  'default' => "Pay via PayPal; you can pay with your credit card if you don't have a PayPal account",
135
  ];
136
 
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: tareq1988, nizamuddinbabu, wedevs
3
  Donate link: https://tareq.co/donate/
4
  Tags: Forms, registration, profile-builder, login, membership, frontend-post
5
  Requires at least: 4.0
6
- Tested up to: 5.8.2
7
  Requires PHP: 5.6
8
- Stable tag: 3.5.26
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -262,6 +262,36 @@ This page is for the purpose of editing posts. You shouldn't access this page di
262
  First you need to go to the dashboard, then when you click "edit", you'll be
263
  redirected to the edit page with that post id. Then you'll see the edit post form.
264
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
265
  == Changelog ==
266
  = v3.5.23 (18 Nov, 2021) =
267
 
3
  Donate link: https://tareq.co/donate/
4
  Tags: Forms, registration, profile-builder, login, membership, frontend-post
5
  Requires at least: 4.0
6
+ Tested up to: 5.9.2
7
  Requires PHP: 5.6
8
+ Stable tag: 3.5.27
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
262
  First you need to go to the dashboard, then when you click "edit", you'll be
263
  redirected to the edit page with that post id. Then you'll see the edit post form.
264
 
265
+ = v3.5.27 (15 Mar, 2022) =
266
+
267
+ * Enhancement - Email template enhanced for after activation
268
+ * Enhancement - Read only option for custom field
269
+ * Enhancement - Editor toolbar exclude option enhanced
270
+ * Enhancement - Preview option enhanced for user profile
271
+ * Enhancement - Meta key enhanced for user email notification
272
+ * Enhancement - Global option for disable post edit on account
273
+ * Enhancement - Filter for conditional logic for fields added
274
+ * Fix - PHP 8 compatibility handled
275
+ * Fix - Address / Billing address inconsistency handled
276
+ * Fix - Content restriction several issue fixed
277
+ * Fix - Tax calculation properly handled for all areas
278
+ * Fix - Validation added for invalid email and URL formats
279
+ * Fix - Special character password handled for login
280
+ * Fix - Reset password handled for sidebar widget
281
+ * Fix - Required google map issues handled
282
+ * Fix - Translation related issue handled for admin menu
283
+ * Fix - Label & query enhanced for transaction table
284
+ * Fix - Template override for child theme fixed
285
+ * Fix - Custom field modal handled for registration form
286
+ * Fix - Redundant CSS issues handled
287
+ * Fix - Address field inconsistency fixed
288
+ * Fix - Plugin page spin loading issue handled
289
+ * Fix - Warning on exit for draft post fixed
290
+ * Fix - Unlimited expire on admin user profile handled
291
+ * Fix - No value checkbox issue handled
292
+ * Fix - Tag search security Vulnerability handled
293
+ * Fix - Multi dropdown field error handled
294
+
295
  == Changelog ==
296
  = v3.5.23 (18 Nov, 2021) =
297
 
templates/dashboard.php CHANGED
@@ -35,6 +35,7 @@
35
  $meta_name = [];
36
  $meta_id = [];
37
  $meta_key = [];
 
38
 
39
  if ( !empty( $meta ) ) {
40
  $arr = explode( ',', $meta );
@@ -91,9 +92,18 @@
91
  } else {
92
  $subs_expired = false;
93
  }
 
 
 
 
 
 
 
 
 
94
  ?>
95
 
96
- <?php include WPUF_ROOT . '/templates/dashboard/list.php'; ?>
97
  <div class="wpuf-pagination">
98
  <?php
99
  $pagination = paginate_links( [
35
  $meta_name = [];
36
  $meta_id = [];
37
  $meta_key = [];
38
+ $template_args = [];
39
 
40
  if ( !empty( $meta ) ) {
41
  $arr = explode( ',', $meta );
92
  } else {
93
  $subs_expired = false;
94
  }
95
+
96
+ $template_args['post_type'] = $post_type;
97
+ $template_args['featured_img'] = $featured_img;
98
+ $template_args['featured_img_size'] = $featured_img_size;
99
+ $template_args['enable_payment'] = $enable_payment;
100
+ $template_args['payment_column'] = $payment_column;
101
+ $template_args['args'] = $args;
102
+ $template_args['dashboard_query'] = $dashboard_query;
103
+ $template_args['subs_expired'] = $subs_expired;
104
  ?>
105
 
106
+ <?php wpuf_load_template( 'dashboard/list.php', $template_args ); ?>
107
  <div class="wpuf-pagination">
108
  <?php
109
  $pagination = paginate_links( [
templates/dashboard/billing-address.php CHANGED
@@ -52,13 +52,8 @@ if ( isset( $_POST['update_billing_address'] ) ) {
52
  <label class="wpuf-fields wpuf-label"><?php esc_html_e( 'Country', 'wp-user-frontend' ); ?><span
53
  class="required">*</span></label>
54
  <?php
55
- //Inconsistency with keys, remap keys, Back compat with keys
56
- if ( array_key_exists('billing_country', $address_fields ) ){
57
- foreach ( $address_fields as $key => $val ) {
58
- unset( $address_fields[$key] );
59
- $address_fields[str_replace('billing_','',$key)] = $val;
60
- }
61
- }
62
 
63
  $selected['country'] = ! ( empty( $address_fields['country'] ) ) ? $address_fields['country'] : 'US';
64
 
52
  <label class="wpuf-fields wpuf-label"><?php esc_html_e( 'Country', 'wp-user-frontend' ); ?><span
53
  class="required">*</span></label>
54
  <?php
55
+
56
+ $address_fields = wpuf_map_address_fields( $address_fields );
 
 
 
 
 
57
 
58
  $selected['country'] = ! ( empty( $address_fields['country'] ) ) ? $address_fields['country'] : 'US';
59
 
templates/dashboard/list.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="items-table-container">
2
- <table class="items-table <?php echo esc_attr( $post_type ); ?>">
3
  <thead>
4
  <tr class="items-list-header">
5
  <?php
@@ -87,33 +87,16 @@
87
 
88
  <td data-label="<?php esc_attr_e( 'Options: ', 'wp-user-frontend' ); ?>" class="data-column">
89
  <?php
90
- if ( wpuf_get_option( 'enable_post_edit', 'wpuf_dashboard', 'yes' ) == 'yes' ) {
91
- $disable_pending_edit = wpuf_get_option( 'disable_pending_edit', 'wpuf_dashboard', 'on' );
92
- $edit_page = (int) wpuf_get_option( 'edit_page_id', 'wpuf_frontend_posting' );
93
- $url = add_query_arg( ['pid' => $post->ID], get_permalink( $edit_page ) );
94
-
95
- $show_edit = true;
96
-
97
- if ( 'pending' === $post->post_status && 'on' === $disable_pending_edit ) {
98
- $show_edit = false;
99
- }
100
-
101
- if ( ( 'draft' === $post->post_status || 'pending' === $post->post_status ) && ( ! empty( $payment_status ) && 'completed' === $payment_status ) ) {
102
- $show_edit = false;
103
- }
104
-
105
- if ( $subs_expired ) {
106
- $show_edit = false;
107
- }
108
-
109
- if ( $show_edit ) {
110
  ?>
111
  <a class="wpuf-posts-options wpuf-posts-edit" href="<?php echo esc_url( wp_nonce_url( $url, 'wpuf_edit' ) ); ?>">
112
  <img src="<?php echo WPUF_ASSET_URI . '/images/edit.svg'; ?>" alt="Edit">
113
  </a>
114
  <?php
115
  }
116
- } ?>
117
 
118
  <?php
119
  if ( 'yes' === wpuf_get_option( 'enable_post_del', 'wpuf_dashboard', 'yes' ) ) {
1
  <div class="items-table-container">
2
+ <table class="items-table <?php echo implode( ' ', array_map('esc_attr', $post_type ) ); ?>">
3
  <thead>
4
  <tr class="items-list-header">
5
  <?php
87
 
88
  <td data-label="<?php esc_attr_e( 'Options: ', 'wp-user-frontend' ); ?>" class="data-column">
89
  <?php
90
+ if ( wpuf_is_post_editable( $post ) ) {
91
+ $edit_page = (int) wpuf_get_option( 'edit_page_id', 'wpuf_frontend_posting' );
92
+ $url = add_query_arg( [ 'pid' => $post->ID ], get_permalink( $edit_page ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  ?>
94
  <a class="wpuf-posts-options wpuf-posts-edit" href="<?php echo esc_url( wp_nonce_url( $url, 'wpuf_edit' ) ); ?>">
95
  <img src="<?php echo WPUF_ASSET_URI . '/images/edit.svg'; ?>" alt="Edit">
96
  </a>
97
  <?php
98
  }
99
+ ?>
100
 
101
  <?php
102
  if ( 'yes' === wpuf_get_option( 'enable_post_del', 'wpuf_dashboard', 'yes' ) ) {
templates/dashboard/posts.php CHANGED
@@ -87,16 +87,6 @@ $post_type_obj = get_post_type_object( $post_type );
87
  $featured_img_size = wpuf_get_option( 'ft_img_size', 'wpuf_dashboard' );
88
  $payment_column = wpuf_get_option( 'show_payment_column', 'wpuf_dashboard', 'on' );
89
  $enable_payment = wpuf_get_option( 'enable_payment', 'wpuf_payment', 'on' );
90
- $current_user = wpuf_get_user();
91
- $user_subscription = new WPUF_User_Subscription( $current_user );
92
- $user_sub = $user_subscription->current_pack();
93
- $sub_id = $current_user->subscription()->current_pack_id();
94
-
95
- if ( $sub_id ) {
96
- $subs_expired = $user_subscription->expired();
97
- } else {
98
- $subs_expired = false;
99
- }
100
  ?>
101
  <div class="items-table-container">
102
  <table class="items-table <?php echo esc_attr( $post_type ); ?>" cellpadding="0" cellspacing="0">
@@ -166,7 +156,23 @@ $post_type_obj = get_post_type_object( $post_type );
166
  <?php }?>
167
  </td>
168
  <td data-label="<?php esc_attr_e( 'Status: ', 'wp-user-frontend' ); ?>" class="data-column">
169
- <?php wpuf_show_post_status( $post->post_status ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
  </td>
171
 
172
  <?php do_action( 'wpuf_account_posts_row_col', $args, $post ); ?>
@@ -185,31 +191,14 @@ $post_type_obj = get_post_type_object( $post_type );
185
 
186
  <td data-label="<?php esc_attr_e( 'Options: ', 'wp-user-frontend' ); ?>" class="data-column">
187
  <?php
188
- if ( wpuf_get_option( 'enable_post_edit', 'wpuf_dashboard', 'yes' ) == 'yes' ) {
189
- $disable_pending_edit = wpuf_get_option( 'disable_pending_edit', 'wpuf_dashboard', 'on' );
190
- $edit_page = (int) wpuf_get_option( 'edit_page_id', 'wpuf_frontend_posting' );
191
- $url = add_query_arg( ['pid' => $post->ID], get_permalink( $edit_page ) );
192
-
193
- $show_edit = true;
194
-
195
- if ( $post->post_status == 'pending' && $disable_pending_edit == 'on' ) {
196
- $show_edit = false;
197
- }
198
-
199
- if ( ( $post->post_status == 'draft' || $post->post_status == 'pending' ) && ( !empty( $payment_status ) && $payment_status != 'completed' ) ) {
200
- $show_edit = false;
201
- }
202
-
203
- if ( $subs_expired ) {
204
- $show_edit = false;
205
- }
206
-
207
- if ( $show_edit ) {
208
  ?>
209
  <a class="wpuf-posts-options wpuf-posts-edit" href="<?php echo esc_url( wp_nonce_url( $url, 'wpuf_edit' ) ); ?>"><svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.2175 0.232507L14.0736 2.08857C14.3836 2.39858 14.3836 2.90335 14.0736 3.21336L12.6189 4.66802L9.63808 1.68716L11.0927 0.232507C11.4027 -0.0775022 11.9075 -0.0775022 12.2175 0.232507ZM0 14.3061V11.3253L8.7955 2.52974L11.7764 5.5106L2.98086 14.3061H0Z" fill="#B7C4E7"/></svg></a>
210
  <?php
211
  }
212
- } ?>
213
 
214
  <?php
215
  if ( wpuf_get_option( 'enable_post_del', 'wpuf_dashboard', 'yes' ) == 'yes' ) {
87
  $featured_img_size = wpuf_get_option( 'ft_img_size', 'wpuf_dashboard' );
88
  $payment_column = wpuf_get_option( 'show_payment_column', 'wpuf_dashboard', 'on' );
89
  $enable_payment = wpuf_get_option( 'enable_payment', 'wpuf_payment', 'on' );
 
 
 
 
 
 
 
 
 
 
90
  ?>
91
  <div class="items-table-container">
92
  <table class="items-table <?php echo esc_attr( $post_type ); ?>" cellpadding="0" cellspacing="0">
156
  <?php }?>
157
  </td>
158
  <td data-label="<?php esc_attr_e( 'Status: ', 'wp-user-frontend' ); ?>" class="data-column">
159
+ <?php
160
+ $current_post_status = $post->post_status;
161
+ if ( 'publish' === $current_post_status ) {
162
+ $link_text = esc_html( 'View', 'wp-user-frontend' );
163
+ $the_link = get_permalink();
164
+ } else {
165
+ $link_text = esc_html( 'Preview', 'wp-user-frontend' );
166
+ $the_link = get_preview_post_link();
167
+ }
168
+ wpuf_show_post_status( $current_post_status );
169
+ echo apply_filters( 'wpuf_preview_link_separator', ' | ');
170
+ printf(
171
+ '<a href="%s" target="_blank">%s</a>',
172
+ $the_link,
173
+ $link_text
174
+ );
175
+ ?>
176
  </td>
177
 
178
  <?php do_action( 'wpuf_account_posts_row_col', $args, $post ); ?>
191
 
192
  <td data-label="<?php esc_attr_e( 'Options: ', 'wp-user-frontend' ); ?>" class="data-column">
193
  <?php
194
+ if ( wpuf_is_post_editable( $post ) ) {
195
+ $edit_page = (int) wpuf_get_option( 'edit_page_id', 'wpuf_frontend_posting' );
196
+ $url = add_query_arg( [ 'pid' => $post->ID ], get_permalink( $edit_page ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  ?>
198
  <a class="wpuf-posts-options wpuf-posts-edit" href="<?php echo esc_url( wp_nonce_url( $url, 'wpuf_edit' ) ); ?>"><svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.2175 0.232507L14.0736 2.08857C14.3836 2.39858 14.3836 2.90335 14.0736 3.21336L12.6189 4.66802L9.63808 1.68716L11.0927 0.232507C11.4027 -0.0775022 11.9075 -0.0775022 12.2175 0.232507ZM0 14.3061V11.3253L8.7955 2.52974L11.7764 5.5106L2.98086 14.3061H0Z" fill="#B7C4E7"/></svg></a>
199
  <?php
200
  }
201
+ ?>
202
 
203
  <?php
204
  if ( wpuf_get_option( 'enable_post_del', 'wpuf_dashboard', 'yes' ) == 'yes' ) {
templates/dashboard/subscription.php CHANGED
@@ -20,23 +20,24 @@
20
  <strong><?php esc_html_e( 'Remaining post: ', 'wp-user-frontend' ); ?></strong>
21
  <?php
22
  $i = 0;
 
 
 
23
 
24
- foreach ( $user_sub['posts'] as $key => $value ) {
25
- $value = intval( $value );
 
26
 
27
- if ( $value === 0 ) {
28
- continue;
29
- }
30
-
31
- $post_type_obj = get_post_type_object( $key );
32
 
33
- if ( ! $post_type_obj ) {
34
- continue;
 
 
 
 
 
35
  }
36
- $value = ( $value == '-1' ) ? __( 'Unlimited', 'wp-user-frontend' ) : $value; ?>
37
- <div><?php echo esc_html( $post_type_obj->labels->name ) . ': ' . esc_html( $value ); ?></div>
38
- <?php
39
- $i ++;
40
  }
41
  echo $i ? '' : esc_attr( $i );
42
  ?>
20
  <strong><?php esc_html_e( 'Remaining post: ', 'wp-user-frontend' ); ?></strong>
21
  <?php
22
  $i = 0;
23
+ if ( ! empty( $user_sub['posts'] ) ) {
24
+ foreach ( $user_sub['posts'] as $key => $value ) {
25
+ $value = intval( $value );
26
 
27
+ if ( $value === 0 ) {
28
+ continue;
29
+ }
30
 
31
+ $post_type_obj = get_post_type_object( $key );
 
 
 
 
32
 
33
+ if ( ! $post_type_obj ) {
34
+ continue;
35
+ }
36
+ $value = ( $value == '-1' ) ? __( 'Unlimited', 'wp-user-frontend' ) : $value; ?>
37
+ <div><?php echo esc_html( $post_type_obj->labels->name ) . ': ' . esc_html( $value ); ?></div>
38
+ <?php
39
+ $i ++;
40
  }
 
 
 
 
41
  }
42
  echo $i ? '' : esc_attr( $i );
43
  ?>
wpuf-functions.php CHANGED
@@ -1508,7 +1508,7 @@ function wpufe_ajax_tag_search() {
1508
  global $wpdb;
1509
 
1510
  $taxonomy = isset( $_GET['tax'] ) ? sanitize_text_field( wp_unslash( $_GET['tax'] ) ) : '';
1511
- $term_ids = isset( $_GET['term_ids'] ) ? sanitize_text_field( wp_unslash( $_GET['term_ids'] ) ) : '';
1512
  $tax = get_taxonomy( $taxonomy );
1513
 
1514
  if ( ! $tax ) {
@@ -1540,7 +1540,7 @@ function wpufe_ajax_tag_search() {
1540
  } else {
1541
  $results = $wpdb->get_col( $wpdb->prepare( "SELECT t.name FROM $wpdb->term_taxonomy AS tt INNER JOIN $wpdb->terms AS t ON tt.term_id = t.term_id WHERE tt.taxonomy = %s AND t.name LIKE (%s)", $taxonomy, '%' . $wpdb->esc_like( $s ) . '%' ) );
1542
  }
1543
- echo esc_html( join( $results, "\n" ) );
1544
  wp_die();
1545
  }
1546
 
@@ -1601,10 +1601,11 @@ function wpuf_load_template( $file, $args = [] ) {
1601
  * lods from pro plugin folder
1602
  *
1603
  * @since 3.1.11
 
1604
  *
1605
  * @param string $file file name or path to file
1606
  */
1607
- function wpuf_load_pro_template( $file, $args = [] ) {
1608
  //phpcs:ignore
1609
  if ( $args && is_array( $args ) ) {
1610
  extract( $args );
@@ -1623,7 +1624,7 @@ function wpuf_load_pro_template( $file, $args = [] ) {
1623
  include $wpuf_pro_dir . $file;
1624
  }
1625
  }
1626
- }
1627
 
1628
  /**
1629
  * Helper function for formatting date field
@@ -2035,7 +2036,7 @@ function wpuf_get_account_sections() {
2035
  }
2036
 
2037
  $sections = array_merge(
2038
- // dashboard should be the first item
2039
  [ 'dashboard' => __( 'Dashboard', 'wp-user-frontend' ) ],
2040
  $cpt_sections,
2041
  $sections
@@ -2064,13 +2065,13 @@ function wpuf_get_account_sections_list( $post_type = 'page' ) {
2064
  return $array;
2065
  }
2066
  /**
2067
- * Get all transactions
2068
  *
2069
  * @since 2.4.2
2070
  *
2071
  * @return array
2072
  */
2073
- function wpuf_get_transactions( $args = [] ) {
2074
  global $wpdb;
2075
 
2076
  $defaults = [
@@ -2134,12 +2135,20 @@ function wpuf_get_pending_transactions( $args = [] ) {
2134
  foreach ( $transactions as $transaction ) {
2135
  $info = get_post_meta( $transaction->ID, '_data', true );
2136
 
 
 
 
 
 
 
 
2137
  $items[] = (object) [
2138
  'id' => $transaction->ID,
2139
  'user_id' => $info['user_info']['id'],
2140
  'status' => 'pending',
2141
- 'cost' => $info['price'],
2142
- 'tax' => isset( $info['tax'] ) ? $info['tax'] : 0,
 
2143
  'post_id' => ( $info['type'] === 'post' ) ? $info['item_number'] : 0,
2144
  'pack_id' => ( $info['type'] === 'pack' ) ? $info['item_number'] : 0,
2145
  'payer_first_name' => $info['user_info']['first_name'],
@@ -2156,6 +2165,96 @@ function wpuf_get_pending_transactions( $args = [] ) {
2156
  return $items;
2157
  }
2158
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2159
  /**
2160
  * Get full list of currency codes.
2161
  *
@@ -2562,17 +2661,17 @@ function wpuf_trim_zeros( $price ) {
2562
  */
2563
  function wpuf_format_price( $price, $formated = true, $args = [] ) {
2564
 
2565
- $price_args = apply_filters(
2566
- 'wpuf_price_args', wp_parse_args(
2567
- $args, [
2568
- 'currency' => $formated ? wpuf_get_currency( 'symbol' ) : '',
2569
- 'decimal_separator' => wpuf_get_price_decimal_separator(),
2570
- 'thousand_separator' => $formated ? wpuf_get_price_thousand_separator() : '',
2571
- 'decimals' => wpuf_get_price_decimals(),
2572
- 'price_format' => get_wpuf_price_format(),
2573
- ]
2574
- )
2575
- );
2576
 
2577
  $currency = $price_args['currency'];
2578
  $decimal_separator = $price_args['decimal_separator'];
@@ -3561,27 +3660,9 @@ function wpuf_ajax_get_states_field() {
3561
  'options' => $states,
3562
  'show_option_all' => false,
3563
  'show_option_none' => false,
3564
- 'data' => [ 'required' => 'yes', 'type' => 'select' ],
3565
- ];
3566
-
3567
- $allowed_html = [
3568
- 'select' => [
3569
- 'class' => [],
3570
- 'name' => [],
3571
- 'id' => [],
3572
- 'data-placeholder' => [],
3573
- 'data-required' => [],
3574
- 'data-type' => [],
3575
- ],
3576
- 'option' => [
3577
- 'value' => [],
3578
- 'class' => [],
3579
- 'id' => [],
3580
- 'selected' => []
3581
- ],
3582
  ];
3583
 
3584
- $response = wp_kses( wpuf_select( $args ), $allowed_html );
3585
  } else {
3586
  $response = 'nostates';
3587
  }
@@ -3746,11 +3827,11 @@ function wpuf_show_form_schedule_message( $form_id ) {
3746
  echo wp_kses_post( '<div class="wpuf-message">' . $form_settings['form_expired_message'] . '</div>' );
3747
  }
3748
  ?>
3749
- <script>
3750
- jQuery( function($) {
3751
- $(".wpuf-submit-button").attr("disabled", "disabled");
3752
- });
3753
- </script>
3754
  <?php
3755
  return;
3756
  }
@@ -3987,7 +4068,7 @@ function wpuf_recursive_sanitize_text_field($arr){
3987
  /**
3988
  * Determine page after payment success
3989
  *
3990
- * @since WPUF_PRO
3991
  *
3992
  * @param $data
3993
  *
@@ -4012,3 +4093,298 @@ function wpuf_payment_success_page( $data ){
4012
 
4013
  return $redirect_page;
4014
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1508
  global $wpdb;
1509
 
1510
  $taxonomy = isset( $_GET['tax'] ) ? sanitize_text_field( wp_unslash( $_GET['tax'] ) ) : '';
1511
+ $term_ids = ! empty( $_GET['term_ids'] ) ? sanitize_key( wp_unslash( $_GET['term_ids'] ) ) : '';
1512
  $tax = get_taxonomy( $taxonomy );
1513
 
1514
  if ( ! $tax ) {
1540
  } else {
1541
  $results = $wpdb->get_col( $wpdb->prepare( "SELECT t.name FROM $wpdb->term_taxonomy AS tt INNER JOIN $wpdb->terms AS t ON tt.term_id = t.term_id WHERE tt.taxonomy = %s AND t.name LIKE (%s)", $taxonomy, '%' . $wpdb->esc_like( $s ) . '%' ) );
1542
  }
1543
+ echo esc_html( join( "\n", $results ) );
1544
  wp_die();
1545
  }
1546
 
1601
  * lods from pro plugin folder
1602
  *
1603
  * @since 3.1.11
1604
+ * @since 3.5.27_PRO function moved to pro
1605
  *
1606
  * @param string $file file name or path to file
1607
  */
1608
+ /*function wpuf_load_pro_template( $file, $args = [] ) {
1609
  //phpcs:ignore
1610
  if ( $args && is_array( $args ) ) {
1611
  extract( $args );
1624
  include $wpuf_pro_dir . $file;
1625
  }
1626
  }
1627
+ }*/
1628
 
1629
  /**
1630
  * Helper function for formatting date field
2036
  }
2037
 
2038
  $sections = array_merge(
2039
+ // dashboard should be the first item
2040
  [ 'dashboard' => __( 'Dashboard', 'wp-user-frontend' ) ],
2041
  $cpt_sections,
2042
  $sections
2065
  return $array;
2066
  }
2067
  /**
2068
+ * Get all completed transactions
2069
  *
2070
  * @since 2.4.2
2071
  *
2072
  * @return array
2073
  */
2074
+ function wpuf_get_completed_transactions( $args = [] ) {
2075
  global $wpdb;
2076
 
2077
  $defaults = [
2135
  foreach ( $transactions as $transaction ) {
2136
  $info = get_post_meta( $transaction->ID, '_data', true );
2137
 
2138
+ if ( ! $info ) {
2139
+ continue;
2140
+ }
2141
+
2142
+ $tax = ! empty( $info['tax'] ) ? $info['tax'] : 0;
2143
+ $subtotal = ! empty( $info['cost'] ) ? $info['cost'] : $info['price'];
2144
+
2145
  $items[] = (object) [
2146
  'id' => $transaction->ID,
2147
  'user_id' => $info['user_info']['id'],
2148
  'status' => 'pending',
2149
+ 'subtotal' => $subtotal,
2150
+ 'cost' => $subtotal - $tax,
2151
+ 'tax' => $tax,
2152
  'post_id' => ( $info['type'] === 'post' ) ? $info['item_number'] : 0,
2153
  'pack_id' => ( $info['type'] === 'pack' ) ? $info['item_number'] : 0,
2154
  'payer_first_name' => $info['user_info']['first_name'],
2165
  return $items;
2166
  }
2167
 
2168
+ /**
2169
+ * Get all pending and completed transactions
2170
+ *
2171
+ * @since 3.5.27
2172
+ *
2173
+ * @param $args
2174
+ *
2175
+ * @return array
2176
+ */
2177
+ function wpuf_get_all_transactions( $args = [] ) {
2178
+ global $wpdb;
2179
+ $transaction_table = $wpdb->prefix . 'wpuf_transaction';
2180
+
2181
+ $defaults = [
2182
+ 'number' => 20,
2183
+ 'offset' => 0,
2184
+ 'orderby' => 'id',
2185
+ 'order' => 'DESC',
2186
+ 'count' => false,
2187
+ ];
2188
+
2189
+ $orderby_keys = ['id', 'status', 'created'];
2190
+ $order_keys = ['asc', 'desc'];
2191
+
2192
+ $args = wp_parse_args( $args, $defaults );
2193
+
2194
+ if ( $args['count'] ) {
2195
+ return ( int ) $wpdb->get_var(
2196
+ "SELECT SUM(AllCount)
2197
+ FROM ((SELECT COUNT(*) AS AllCount FROM {$transaction_table})
2198
+ UNION ALL
2199
+ (SELECT COUNT(*) AS AllCount FROM {$wpdb->posts}
2200
+ WHERE post_type = 'wpuf_order'
2201
+ AND post_status IN('pending', 'publish'))) AS post_table"
2202
+ );
2203
+ }
2204
+
2205
+ $orderby = in_array( $args['orderby'], $orderby_keys ) ? $args['orderby'] : 'id';
2206
+ $sorting_order = in_array( $args['order'], $order_keys ) ? $args['order'] : 'DESC';
2207
+ $offset = ( int ) sanitize_key( $args['offset'] );
2208
+ $number = ( int ) sanitize_key( $args['number'] );
2209
+
2210
+ // get all the completed transaction from transaction table
2211
+ // and pending transaction from post table
2212
+ $transactions = $wpdb->get_results(
2213
+ $wpdb->prepare(
2214
+ "(SELECT id, user_id, status, tax, cost, post_id, pack_id, payer_first_name, payer_last_name, payer_email, payment_type, transaction_id, created FROM {$transaction_table})
2215
+ UNION ALL
2216
+ (SELECT ID AS id, post_author AS user_id, null AS status, null AS tax, null AS cost, ID as post_id, null AS pack_id, null AS payer_first_name, null AS payer_last_name, null AS payer_email, null AS payment_type, 0 AS transaction_id, post_date AS created FROM {$wpdb->posts}
2217
+ WHERE post_type = %s)
2218
+ ORDER BY {$orderby} {$sorting_order}
2219
+ LIMIT %d, %d",
2220
+ 'wpuf_order', $offset, $number
2221
+ )
2222
+ );
2223
+
2224
+ if ( ! $transactions ) {
2225
+ return;
2226
+ }
2227
+
2228
+ foreach ( $transactions as $transaction ) {
2229
+ if ( $transaction->status ) {
2230
+ continue;
2231
+ }
2232
+
2233
+ // get metadata for pending transactions
2234
+ $info = get_post_meta( $transaction->id, '_data', true );
2235
+ $payment_method = isset( $info['post_data']['wpuf_payment_method'] ) ? $info['post_data']['wpuf_payment_method'] : '';
2236
+
2237
+ $type = isset( $info['type'] ) ? $info['type'] : '';
2238
+ $item_number = isset( $info['item_number'] ) ? $info['item_number'] : 0;
2239
+
2240
+ // attach data to pending transactions
2241
+ $transaction->user_id = isset( $info['user_info']['id'] ) ? $info['user_info']['id'] : 0;
2242
+ $transaction->status = 'pending';
2243
+ $transaction->cost = isset( $info['price'] ) ? $info['price'] : 0;
2244
+ $transaction->tax = isset( $info['tax'] ) ? $info['tax'] : 0;
2245
+ $transaction->post_id = ( 'post' === $type ) ? $item_number : 0;
2246
+ $transaction->pack_id = ( 'pack' === $type ) ? $item_number : 0;
2247
+ $transaction->payer_first_name = isset( $info['user_info']['first_name'] ) ? $info['user_info']['first_name'] : '';
2248
+ $transaction->payer_last_name = isset( $info['user_info']['last_name'] ) ? $info['user_info']['last_name'] : '';
2249
+ $transaction->payer_email = isset( $info['user_info']['email'] ) ? $info['user_info']['email'] : '';
2250
+ $transaction->payment_type = ( 'bank' === $payment_method ) ? 'Bank/Manual' : ucwords( $payment_method );
2251
+ $transaction->transaction_id = 0;
2252
+ $transaction->created = isset( $info['date'] ) ? $info['date'] : '';
2253
+ }
2254
+
2255
+ return $transactions;
2256
+ }
2257
+
2258
  /**
2259
  * Get full list of currency codes.
2260
  *
2661
  */
2662
  function wpuf_format_price( $price, $formated = true, $args = [] ) {
2663
 
2664
+ $price_args = apply_filters(
2665
+ 'wpuf_price_args', wp_parse_args(
2666
+ $args, [
2667
+ 'currency' => $formated ? wpuf_get_currency( 'symbol' ) : '',
2668
+ 'decimal_separator' => wpuf_get_price_decimal_separator(),
2669
+ 'thousand_separator' => $formated ? wpuf_get_price_thousand_separator() : '',
2670
+ 'decimals' => wpuf_get_price_decimals(),
2671
+ 'price_format' => get_wpuf_price_format(),
2672
+ ]
2673
+ )
2674
+ );
2675
 
2676
  $currency = $price_args['currency'];
2677
  $decimal_separator = $price_args['decimal_separator'];
3660
  'options' => $states,
3661
  'show_option_all' => false,
3662
  'show_option_none' => false,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3663
  ];
3664
 
3665
+ $response = wpuf_select( $args );
3666
  } else {
3667
  $response = 'nostates';
3668
  }
3827
  echo wp_kses_post( '<div class="wpuf-message">' . $form_settings['form_expired_message'] . '</div>' );
3828
  }
3829
  ?>
3830
+ <script>
3831
+ jQuery( function($) {
3832
+ $(".wpuf-submit-button").attr("disabled", "disabled");
3833
+ });
3834
+ </script>
3835
  <?php
3836
  return;
3837
  }
4068
  /**
4069
  * Determine page after payment success
4070
  *
4071
+ * @since 3.5.27_PRO
4072
  *
4073
  * @param $data
4074
  *
4093
 
4094
  return $redirect_page;
4095
  }
4096
+
4097
+ /**
4098
+ * Function current_datetime() compatibility for wp version < 5.3
4099
+ *
4100
+ * @since 3.5.27
4101
+ *
4102
+ * @return DateTimeImmutable
4103
+ */
4104
+ function wpuf_current_datetime() {
4105
+ if ( function_exists( 'current_datetime' ) ) {
4106
+ return current_datetime();
4107
+ }
4108
+
4109
+ return new DateTimeImmutable( 'now', wpuf_wp_timezone() );
4110
+ }
4111
+
4112
+ /**
4113
+ * Function wp_timezone() compatibility for wp version < 5.3
4114
+ *
4115
+ * @since 3.5.27
4116
+ *
4117
+ * @return DateTimeZone
4118
+ */
4119
+ function wpuf_wp_timezone() {
4120
+ if ( function_exists( 'wp_timezone' ) ) {
4121
+ return wp_timezone();
4122
+ }
4123
+
4124
+ return new DateTimeZone( wpuf_wp_timezone_string() );
4125
+ }
4126
+
4127
+ /**
4128
+ * Function wp_timezone_string() compatibility for wp version < 5.3
4129
+ *
4130
+ * @since 3.5.27
4131
+ *
4132
+ * @return string
4133
+ */
4134
+ function wpuf_timezone_string() {
4135
+ if ( function_exists( 'wp_timezone_string' ) ) {
4136
+ return wp_timezone_string();
4137
+ }
4138
+
4139
+ $timezone_string = get_option( 'timezone_string' );
4140
+
4141
+ if ( $timezone_string ) {
4142
+ return $timezone_string;
4143
+ }
4144
+
4145
+ $offset = (float) get_option( 'gmt_offset' );
4146
+ $hours = (int) $offset;
4147
+ $minutes = ( $offset - $hours );
4148
+
4149
+ $sign = ( $offset < 0 ) ? '-' : '+';
4150
+ $abs_hour = abs( $hours );
4151
+ $abs_mins = abs( $minutes * 60 );
4152
+ $tz_offset = sprintf( '%s%02d:%02d', $sign, $abs_hour, $abs_mins );
4153
+
4154
+ return $tz_offset;
4155
+ }
4156
+
4157
+ /*
4158
+ * Editor toolbar primary button list
4159
+ *
4160
+ * @param string $type
4161
+ *
4162
+ * @return array
4163
+ */
4164
+ function wpuf_get_editor_buttons( $type = 'rich' ){
4165
+ $common = [
4166
+ 'bold' => 'bold',
4167
+ 'italic' => 'italic',
4168
+ 'bullist' => 'bullist',
4169
+ 'numlist' => 'numlist',
4170
+ 'blockquote' => 'blockquote',
4171
+ 'alignleft' => 'alignleft',
4172
+ 'aligncenter' => 'aligncenter',
4173
+ 'alignright' => 'alignright',
4174
+ 'link' => 'link',
4175
+ ];
4176
+
4177
+ $rich = [
4178
+ 'formatselect' => 'formatselect',
4179
+ 'wp_more' => 'wp_more',
4180
+ 'spellchecker' => 'spellchecker',
4181
+ ];
4182
+
4183
+ $teeny = [
4184
+ 'underline' => 'underline',
4185
+ 'strikethrough' => 'strikethrough',
4186
+ 'undo' => 'undo',
4187
+ 'redo' => 'redo',
4188
+ 'fullscreen' => 'fullscreen',
4189
+ ];
4190
+
4191
+ return 'rich' === $type || 'yes' === $type ? array_merge( $rich, $common ) : array_merge( $common, $teeny );
4192
+
4193
+ }
4194
+
4195
+ /**
4196
+ * Filter editor buttons
4197
+ *
4198
+ * @param $field_settings
4199
+ *
4200
+ * @return array
4201
+ */
4202
+ function wpuf_filter_editor_toolbar( $field_settings ){
4203
+ $tinymce_settings = [];
4204
+
4205
+ if ( ! empty( $field_settings['text_editor_control'] ) ) {
4206
+ $exclude_button = $field_settings['text_editor_control'];
4207
+
4208
+ $tinymce_settings['toolbar1'] = implode(
4209
+ ',', array_filter(
4210
+ wpuf_get_editor_buttons( $field_settings['rich'] ), function ( $key ) use ( $exclude_button ) {
4211
+ return ! in_array( $key, $exclude_button, true );
4212
+ }, ARRAY_FILTER_USE_KEY
4213
+ )
4214
+ );
4215
+ }
4216
+
4217
+ return ! empty( $tinymce_settings['toolbar1'] ) ? $tinymce_settings : [];
4218
+ }
4219
+
4220
+ /**
4221
+ * Inconsistency with keys, remap keys, Back compat with keys
4222
+ *
4223
+ * @param $address_fields
4224
+ *
4225
+ * @return array
4226
+ */
4227
+ function wpuf_map_address_fields( $address_fields ) {
4228
+ if ( array_key_exists( 'billing_country', $address_fields ) ) {
4229
+ foreach ( $address_fields as $key => $val ) {
4230
+ unset( $address_fields[$key] );
4231
+ $address_fields[str_replace( ['billing_', 'line1', 'line2', 'zip'], ['', 'line_1', 'line_2', 'zip_code'], $key ) ] = $val;
4232
+ }
4233
+ }
4234
+
4235
+ return $address_fields;
4236
+ }
4237
+
4238
+ /**
4239
+ * Retrieves paginated links for queried pages
4240
+ * uses WordPress paginate_links() function for the final output
4241
+ *
4242
+ * @since 3.5.27_PRO
4243
+ *
4244
+ * @param int $total_items
4245
+ * @param int $per_page
4246
+ * @param array $pagination_args
4247
+ *
4248
+ * @return string
4249
+ */
4250
+ function wpuf_pagination( $total_items, $per_page, $pagination_args = [] ) {
4251
+ $pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 1;
4252
+ $num_of_pages = ceil( $total_items / $per_page );
4253
+
4254
+ $defaults = [
4255
+ 'base' => add_query_arg( 'pagenum', '%#%' ),
4256
+ 'format' => '',
4257
+ 'prev_text' => '<svg width="10" height="16" viewBox="0 0 10 16" fill="none" xmlns="http://www.w3.org/2000/svg">
4258
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.248874 7.05115L7.19193 0.244361C7.35252 0.086801 7.56688 0 7.79545 0C8.02403 0 8.23839 0.086801 8.39898 0.244361L8.91029 0.745519C9.243 1.07208 9.243 1.60283 8.91029 1.9289L3.08003 7.64483L8.91675 13.3671C9.07734 13.5247 9.166 13.7347 9.166 13.9587C9.166 14.1829 9.07734 14.3929 8.91675 14.5506L8.40545 15.0517C8.24474 15.2092 8.0305 15.296 7.80192 15.296C7.57335 15.296 7.35898 15.2092 7.1984 15.0517L0.248874 8.23864C0.0879093 8.08058 -0.000500916 7.86955 2.13498e-06 7.64521C-0.000500916 7.42 0.0879093 7.20909 0.248874 7.05115Z" fill="#545D7A"/>
4259
+ </svg>',
4260
+ 'next_text' => '<svg width="10" height="16" viewBox="0 0 10 16" fill="none" xmlns="http://www.w3.org/2000/svg">
4261
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M8.97963 7.05115L2.03657 0.244361C1.87599 0.086801 1.66162 0 1.43305 0C1.20448 0 0.99011 0.086801 0.829525 0.244361L0.318217 0.745519C-0.0144943 1.07208 -0.0144943 1.60283 0.318217 1.9289L6.14847 7.64483L0.311748 13.3671C0.151164 13.5247 0.0625 13.7347 0.0625 13.9587C0.0625 14.1829 0.151164 14.3929 0.311748 14.5506L0.823056 15.0517C0.983767 15.2092 1.19801 15.296 1.42658 15.296C1.65515 15.296 1.86952 15.2092 2.0301 15.0517L8.97963 8.23864C9.14059 8.08058 9.229 7.86955 9.2285 7.64521C9.229 7.42 9.14059 7.20909 8.97963 7.05115Z" fill="#545D7A"/>
4262
+ </svg>',
4263
+ 'total' => $num_of_pages,
4264
+ 'current' => $pagenum,
4265
+ ];
4266
+
4267
+ $args = wp_parse_args( $pagination_args, $defaults );
4268
+
4269
+ $page_links = paginate_links( $args );
4270
+
4271
+ if ( $page_links ) {
4272
+ return '<div class="wpuf-pagination">' . $page_links . '</div>';
4273
+ }
4274
+ }
4275
+
4276
+ /**
4277
+ * Remove conditional from form builder for selected fields
4278
+ *
4279
+ * @param $settings
4280
+ *
4281
+ * @return array
4282
+ */
4283
+ function wpuf_unset_conditional( $settings ) {
4284
+ $remove_cond_field = [ 'action_hook', 'step_start' ];
4285
+
4286
+ $field_settings = array_map(
4287
+ function ( $field ) use ( $remove_cond_field ) {
4288
+ if ( in_array( $field['template'], $remove_cond_field, true ) ) {
4289
+ $index = array_filter(
4290
+ $field['settings'], function ( $settings ) {
4291
+ return $settings['name'] === 'wpuf_cond';
4292
+ }
4293
+ );
4294
+
4295
+ unset( $field['settings'][ array_keys( $index )[0] ] );
4296
+ }
4297
+
4298
+ return $field;
4299
+ }, $settings['field_settings']
4300
+ );
4301
+
4302
+ $settings['field_settings'] = $field_settings;
4303
+
4304
+ return $settings;
4305
+ }
4306
+
4307
+ /**
4308
+ * Check if current post is editable
4309
+ *
4310
+ * @param $post
4311
+ *
4312
+ * @since 3.5.27
4313
+ *
4314
+ * @return bool
4315
+ */
4316
+ function wpuf_is_post_editable( $post ) {
4317
+ $show_edit = false;
4318
+
4319
+ $current_user = wpuf_get_user();
4320
+ $user_subscription = new WPUF_User_Subscription( $current_user );
4321
+ $user_sub = $user_subscription->current_pack();
4322
+ $sub_id = $current_user->subscription()->current_pack_id();
4323
+
4324
+ if ( $sub_id ) {
4325
+ $subs_expired = $user_subscription->expired();
4326
+ } else {
4327
+ $subs_expired = false;
4328
+ }
4329
+
4330
+ if ( wpuf_get_option( 'enable_post_edit', 'wpuf_dashboard', 'yes' ) == 'yes' ) {
4331
+ $disable_pending_edit = wpuf_get_option( 'disable_pending_edit', 'wpuf_dashboard', 'on' );
4332
+ $disable_publish_edit = wpuf_get_option( 'disable_publish_edit', 'wpuf_dashboard', 'off' );
4333
+
4334
+ $show_edit = true;
4335
+ if ( ( 'pending' === $post->post_status && 'on' === $disable_pending_edit ) || ( 'publish' === $post->post_status && 'off' !== $disable_publish_edit ) ) {
4336
+ $show_edit = false;
4337
+ }
4338
+
4339
+ if ( ( $post->post_status == 'draft' || $post->post_status == 'pending' ) && ( ! empty( $payment_status ) && $payment_status != 'completed' ) ) {
4340
+ $show_edit = false;
4341
+ }
4342
+
4343
+ if ( $subs_expired ) {
4344
+ $show_edit = false;
4345
+ }
4346
+ }
4347
+
4348
+ return $show_edit;
4349
+ }
4350
+
4351
+ /**
4352
+ * Get an array of available image sizes with height and weight
4353
+ *
4354
+ * @since 3.5.27
4355
+ *
4356
+ * @param $size string size of the image. thumbnail, medium, large etc.
4357
+ *
4358
+ * @return array single image size returned if parameter size is passed
4359
+ * full array of all the sizes will return otherwise
4360
+ */
4361
+ function wpuf_get_image_sizes_array( $size = '' ) {
4362
+ $additional_image_sizes = wp_get_additional_image_sizes();
4363
+ $intermediate_image_sizes = get_intermediate_image_sizes();
4364
+ $sizes = [];
4365
+
4366
+ // Create the full array with sizes and crop info
4367
+ foreach ( $intermediate_image_sizes as $_size ) {
4368
+ if ( in_array( $_size, [ 'thumbnail', 'medium', 'large', 'medium_large' ], true ) ) {
4369
+ $sizes[ $_size ]['width'] = get_option( $_size . '_size_w' );
4370
+ $sizes[ $_size ]['height'] = get_option( $_size . '_size_h' );
4371
+ $sizes[ $_size ]['crop'] = (bool) get_option( $_size . '_crop' );
4372
+ } elseif ( isset( $additional_image_sizes[ $_size ] ) ) {
4373
+ $sizes[ $_size ] = [
4374
+ 'width' => $additional_image_sizes[ $_size ]['width'],
4375
+ 'height' => $additional_image_sizes[ $_size ]['height'],
4376
+ 'crop' => $additional_image_sizes[ $_size ]['crop'],
4377
+ ];
4378
+ }
4379
+ }
4380
+
4381
+ // Get only 1 size if found
4382
+ if ( $size ) {
4383
+ if ( isset( $sizes[ $size ] ) ) {
4384
+ return $sizes[ $size ];
4385
+ } else {
4386
+ return false;
4387
+ }
4388
+ }
4389
+ return $sizes;
4390
+ }
wpuf.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP User Frontend
4
  Plugin URI: https://wordpress.org/plugins/wp-user-frontend/
5
  Description: Create, edit, delete, manages your post, pages or custom post types from frontend. Create registration forms, frontend profile and more...
6
  Author: weDevs
7
- Version: 3.5.26
8
  Author URI: https://wedevs.com/?utm_source=WPUF_Author_URI
9
  License: GPL2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -12,7 +12,7 @@ Text Domain: wp-user-frontend
12
  Domain Path: /languages
13
  */
14
 
15
- define( 'WPUF_VERSION', '3.5.26' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', __DIR__ );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
@@ -354,9 +354,9 @@ final class WP_User_Frontend {
354
  $this->container['customize'] = new WPUF_Customizer_Options();
355
  $this->container['log'] = new WPUF_Log();
356
 
357
- if ( class_exists( 'WeDevs_Dokan' ) ) {
358
- $this->container['dokan_integration'] = new WPUF_Dokan_Integration();
359
- }
360
 
361
  if ( class_exists( 'WCMp' ) ) {
362
  $this->container['wcmp_integration'] = new WPUF_WCMp_Integration();
4
  Plugin URI: https://wordpress.org/plugins/wp-user-frontend/
5
  Description: Create, edit, delete, manages your post, pages or custom post types from frontend. Create registration forms, frontend profile and more...
6
  Author: weDevs
7
+ Version: 3.5.27
8
  Author URI: https://wedevs.com/?utm_source=WPUF_Author_URI
9
  License: GPL2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
  Domain Path: /languages
13
  */
14
 
15
+ define( 'WPUF_VERSION', '3.5.27' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', __DIR__ );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
354
  $this->container['customize'] = new WPUF_Customizer_Options();
355
  $this->container['log'] = new WPUF_Log();
356
 
357
+ add_action( 'dokan_loaded', function () {
358
+ $this->container['dokan_integration'] = new WPUF_Dokan_Integration();
359
+ } );
360
 
361
  if ( class_exists( 'WCMp' ) ) {
362
  $this->container['wcmp_integration'] = new WPUF_WCMp_Integration();