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

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.18
Comparing to
See all releases

Code changes from version 3.5.17 to 3.5.18

admin/html/whats-new.php CHANGED
@@ -1,5 +1,52 @@
1
  <?php
2
  $changelog = [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  [
4
  'version' => 'Version 3.5.17',
5
  'released' => '2021-06-08',
1
  <?php
2
  $changelog = [
3
+ [
4
+ 'version' => 'Version 3.5.18',
5
+ 'released' => '2021-07-06',
6
+ 'changes' => [
7
+
8
+ [
9
+ 'title' => __( 'Google Map field enhanced along with acf google map', 'wp-user-frontend' ),
10
+ 'type' => 'Enhancement',
11
+ ],
12
+ [
13
+ 'title' => __( 'Filter added for dashboard account menu', 'wp-user-frontend' ),
14
+ 'type' => 'Enhancement',
15
+ ],
16
+ [
17
+ 'title' => __( 'Fallback Pay Per Post inconsistency handled', 'wp-user-frontend' ),
18
+ 'type' => 'Fix',
19
+ ],
20
+ [
21
+ 'title' => __( 'Google map search field not showing', 'wp-user-frontend' ),
22
+ 'type' => 'Fix',
23
+ ],
24
+ [
25
+ 'title' => __( 'Form preview page inconsistency with builder', 'wp-user-frontend' ),
26
+ 'type' => 'Fix',
27
+ ],
28
+ [
29
+ 'title' => __( 'Category not showing as hierarchy', 'wp-user-frontend' ),
30
+ 'type' => 'Fix',
31
+ ],
32
+ [
33
+ 'title' => __( 'TOC field randering issue with registration form', 'wp-user-frontend' ),
34
+ 'type' => 'Fix',
35
+ ],
36
+ [
37
+ 'title' => __( 'Custom plupload filter inconsistency with file upload handled', 'wp-user-frontend' ),
38
+ 'type' => 'Fix',
39
+ ],
40
+ [
41
+ 'title' => __( 'Guest Pay Per Post inconsistency handled', 'wp-user-frontend' ),
42
+ 'type' => 'Fix',
43
+ ],
44
+ [
45
+ 'title' => __( 'Responsive and font issue handled', 'wp-user-frontend' ),
46
+ 'type' => 'Fix',
47
+ ],
48
+ ],
49
+ ],
50
  [
51
  'version' => 'Version 3.5.17',
52
  'released' => '2021-06-08',
admin/settings-options.php CHANGED
@@ -569,7 +569,7 @@ function wpuf_settings_field_profile( $form ) {
569
  <th scrope="row"><?php echo esc_attr( $name ); ?></th>
570
  <td>
571
  <select name="wpuf_profile[roles][<?php echo esc_attr( $role ); ?>]">
572
- <option value=""><?php esc_html_e( ' - select - ', 'wp-user-frontend' ); ?></option>
573
  <?php foreach ( $forms as $form ) { ?>
574
  <option value="<?php echo esc_attr( $form->ID ); ?>"<?php selected( $current, $form->ID ); ?>><?php echo esc_html( $form->post_title ); ?></option>
575
  <?php } ?>
569
  <th scrope="row"><?php echo esc_attr( $name ); ?></th>
570
  <td>
571
  <select name="wpuf_profile[roles][<?php echo esc_attr( $role ); ?>]">
572
+ <option value=""><?php esc_html_e( '&mdash; Select &mdash;', 'wp-user-frontend' ); ?></option>
573
  <?php foreach ( $forms as $form ) { ?>
574
  <option value="<?php echo esc_attr( $form->ID ); ?>"<?php selected( $current, $form->ID ); ?>><?php echo esc_html( $form->post_title ); ?></option>
575
  <?php } ?>
assets/css/frontend-forms.css CHANGED
@@ -1,6 +1,6 @@
1
  /* DivTable.com */
2
  body {
3
- font-family: 'Open Sans', sans-serif !important;
4
  /* css for timepicker */
5
  /** author info **/
6
  /** jQuery Suggest **/
@@ -1218,7 +1218,7 @@ body .wpuf-form .required {
1218
  border: 0;
1219
  }
1220
  body .wpuf-dashboard-container {
1221
- font-family: 'Open Sans', sans-serif !important;
1222
  max-width: 85rem !important;
1223
  /*Responsive css for post table*/
1224
  }
@@ -1475,6 +1475,9 @@ body .wpuf-form-google-map-container input[type="text"].wpuf-google-map-search {
1475
  body .wpuf-form-google-map-container.hide-search-box .gm-style input[type="text"].wpuf-google-map-search {
1476
  display: none;
1477
  }
 
 
 
1478
  body .dokan-dashboard-content.dokan-wpuf-dashboard h2.page-head {
1479
  display: none;
1480
  }
@@ -1801,3 +1804,6 @@ body .wpuf-attachment-upload-filelist + .moxie-shim {
1801
  margin-top: 10px;
1802
  cursor: pointer;
1803
  }
 
 
 
1
  /* DivTable.com */
2
  body {
3
+ font-family: 'Open Sans', sans-serif;
4
  /* css for timepicker */
5
  /** author info **/
6
  /** jQuery Suggest **/
1218
  border: 0;
1219
  }
1220
  body .wpuf-dashboard-container {
1221
+ font-family: 'Open Sans', sans-serif;
1222
  max-width: 85rem !important;
1223
  /*Responsive css for post table*/
1224
  }
1475
  body .wpuf-form-google-map-container.hide-search-box .gm-style input[type="text"].wpuf-google-map-search {
1476
  display: none;
1477
  }
1478
+ body .wpuf-form-google-map-container.show-search-box .gm-style input[type="text"].wpuf-google-map-search {
1479
+ display: block;
1480
+ }
1481
  body .dokan-dashboard-content.dokan-wpuf-dashboard h2.page-head {
1482
  display: none;
1483
  }
1804
  margin-top: 10px;
1805
  cursor: pointer;
1806
  }
1807
+ .wpuf-el.terms_and_conditions label > input[type=checkbox] {
1808
+ width: 0 !important;
1809
+ }
assets/js/upload.js CHANGED
@@ -145,14 +145,18 @@
145
  },
146
 
147
  uploaded: function (up, file, response) {
148
- // var res = $.parseJSON(response.response);
 
 
 
 
 
149
  var self = this;
150
 
151
  $('#' + file.id + " b").html("100%");
152
  $('#' + file.id).remove();
153
 
154
- if(response.response !== 'error') {
155
-
156
  this.perFileCount++;
157
  this.UploadedFiles++;
158
  var $container = $('#' + this.container).find('.wpuf-attachment-list');
@@ -166,10 +170,12 @@
166
  }
167
 
168
  } else {
169
- alert(response.error);
170
 
 
171
  this.count -= 1;
172
  this.showHide();
 
173
  }
174
 
175
  var uploaded = this.UploadedFiles,
145
  },
146
 
147
  uploaded: function (up, file, response) {
148
+ try {
149
+ var res = $.parseJSON(response.response);
150
+ }catch (e) {
151
+ var text = true;
152
+ }
153
+
154
  var self = this;
155
 
156
  $('#' + file.id + " b").html("100%");
157
  $('#' + file.id).remove();
158
 
159
+ if( text ) {
 
160
  this.perFileCount++;
161
  this.UploadedFiles++;
162
  var $container = $('#' + this.container).find('.wpuf-attachment-list');
170
  }
171
 
172
  } else {
173
+ alert(res.data.replace( /(<([^>]+)>)/ig, ''));
174
 
175
+ up.files.pop();
176
  this.count -= 1;
177
  this.showHide();
178
+
179
  }
180
 
181
  var uploaded = this.UploadedFiles,
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){var e=this;if(a("#"+c.id+" b").html("100%"),a("#"+c.id).remove(),"error"!==d.response){this.perFileCount++,this.UploadedFiles++;var f=a("#"+this.container).find(".wpuf-attachment-list");if(f.append(d.response),this.perFileCount>this.max){var g=a(".wpuf-image-wrap:last a.attachment-delete",f).data("attach-id");e.removeExtraAttachment(g),a(".wpuf-image-wrap",f).last().remove(),this.perFileCount--}}else alert(d.error),this.count-=1,this.showHide();var h=this.UploadedFiles,i=b.files.length;this.count>=this.max&&a("#"+this.container).find(".file-selector").hide(),i===h&&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;this.count>=this.max&&a("#"+this.container).find(".file-selector").hide(),k===j&&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/less/frontend-forms.less CHANGED
@@ -5,7 +5,7 @@
5
  @mediaMD: 1200px;
6
  /* DivTable.com */
7
  body {
8
- font-family: 'Open Sans', sans-serif !important;
9
  #wpfooter {
10
  position: fixed !important
11
  }
@@ -1371,7 +1371,7 @@ body.rtl{
1371
  }
1372
  }
1373
  .wpuf-dashboard-container {
1374
- font-family: 'Open Sans', sans-serif !important;
1375
  max-width: 85rem !important;
1376
  .clearfix();
1377
  .wpuf-dashboard-navigation {
@@ -1678,6 +1678,12 @@ input[type="text"].wpuf-google-map-search {
1678
  display: none;
1679
  }
1680
  }
 
 
 
 
 
 
1681
  }
1682
 
1683
  .dokan-dashboard-content{
@@ -2085,3 +2091,6 @@ ul.wpuf-form{
2085
  #wpuf-delete-msg span{
2086
  margin-top: 10px;cursor: pointer
2087
  }
 
 
 
5
  @mediaMD: 1200px;
6
  /* DivTable.com */
7
  body {
8
+ font-family: 'Open Sans', sans-serif;
9
  #wpfooter {
10
  position: fixed !important
11
  }
1371
  }
1372
  }
1373
  .wpuf-dashboard-container {
1374
+ font-family: 'Open Sans', sans-serif;
1375
  max-width: 85rem !important;
1376
  .clearfix();
1377
  .wpuf-dashboard-navigation {
1678
  display: none;
1679
  }
1680
  }
1681
+ &.show-search-box {
1682
+
1683
+ .gm-style input[type="text"].wpuf-google-map-search {
1684
+ display: block;
1685
+ }
1686
+ }
1687
  }
1688
 
1689
  .dokan-dashboard-content{
2091
  #wpuf-delete-msg span{
2092
  margin-top: 10px;cursor: pointer
2093
  }
2094
+ .wpuf-el.terms_and_conditions label > input[type=checkbox]{
2095
+ width: 0 !important;
2096
+ }
changelog.txt CHANGED
@@ -1,3 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  = v3.5.17 (08 Jun, 2021) =
2
 
3
  * Enhancement - Preview page added for post form and registration form
1
+ = v3.5.18 (06 Jul, 2021) =
2
+
3
+ * Enhancement - Google Map field enhanced along with acf google map
4
+ * Enhancement - Filter added for dashboard account menu
5
+ * Fix - Fallback Pay Per Post inconsistency handled
6
+ * Fix - Google map search field not showing
7
+ * Fix - Form preview page inconsistency with builder
8
+ * Fix - Category not showing as hierarchy
9
+ * Fix - TOC field rendering issue with registration form
10
+ * Fix - Custom plupload filter inconsistency with file upload handled
11
+ * Fix - Guest Pay Per Post inconsistency handled
12
+ * Fix - Responsive and font issue handled
13
+
14
  = v3.5.17 (08 Jun, 2021) =
15
 
16
  * Enhancement - Preview page added for post form and registration form
class/frontend-account.php CHANGED
@@ -106,10 +106,7 @@ class WPUF_Frontend_Account {
106
  if ( $allow_post_submission === 'on' ) {
107
  $sections = array_merge(
108
  $sections, [
109
- [
110
- 'slug' => 'submit-post',
111
- 'label' => $submission_label,
112
- ],
113
  ]
114
  );
115
  }
@@ -160,35 +157,12 @@ class WPUF_Frontend_Account {
160
  if ( is_user_logged_in() ) {
161
  $default_active_tab = wpuf_get_option( 'account_page_active_tab', 'wpuf_my_account', 'dashboard' );
162
  $section = isset( $_REQUEST['section'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['section'] ) ) : $default_active_tab;
163
- $allowed_posts = $this->get_allowed_cpt();
164
- if ( '' !== $allowed_posts ) {
165
- add_filter(
166
- 'wpuf_account_sections', function ( $account_sections ) use ( $allowed_posts ) {
167
- foreach ( $allowed_posts as $post_type ) {
168
- $cpt['slug'] = $post_type;
169
- $cpt['label'] = ucfirst( $post_type ) . 's';
170
- array_splice( $account_sections, 1, 0, [ $cpt ] );
171
- }
172
- return $account_sections;
173
- }
174
- );
175
- } else {
176
- add_filter(
177
- 'wpuf_account_sections', function ( $account_sections ) {
178
- $post['slug'] = 'post';
179
- $post['label'] = __( 'Posts', 'wp-user-frontend' );
180
- array_splice( $account_sections, 1, 0, [ $post ] );
181
- return $account_sections;
182
- }
183
- );
184
- }
185
-
186
  $sections = wpuf_get_account_sections();
187
  $current_section = [];
188
 
189
- foreach ( $sections as $account_section ) {
190
- if ( $section === $account_section['slug'] ) {
191
- $current_section = $account_section;
192
  break;
193
  }
194
  }
106
  if ( $allow_post_submission === 'on' ) {
107
  $sections = array_merge(
108
  $sections, [
109
+ 'submit-post' => $submission_label,
 
 
 
110
  ]
111
  );
112
  }
157
  if ( is_user_logged_in() ) {
158
  $default_active_tab = wpuf_get_option( 'account_page_active_tab', 'wpuf_my_account', 'dashboard' );
159
  $section = isset( $_REQUEST['section'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['section'] ) ) : $default_active_tab;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  $sections = wpuf_get_account_sections();
161
  $current_section = [];
162
 
163
+ foreach ( $sections as $slug => $label ) {
164
+ if ( $section === $slug ) {
165
+ $current_section = $slug;
166
  break;
167
  }
168
  }
class/frontend-dashboard.php CHANGED
@@ -203,7 +203,7 @@ class WPUF_Frontend_Dashboard {
203
  //check, if the requested user is the post author
204
  $maybe_delete = get_post( $pid );
205
 
206
- if ( ( $maybe_delete->post_author === $userdata->ID ) || current_user_can( 'delete_others_pages' ) ) {
207
  wp_trash_post( $pid );
208
 
209
  //redirect
@@ -214,7 +214,7 @@ class WPUF_Frontend_Dashboard {
214
  wp_redirect( $redirect );
215
  exit;
216
  } else {
217
- echo wp_kses_post( '<div class="error">' . __( 'You are not the post author. Cheeting huh!', 'wp-user-frontend' ) . '</div>' );
218
  }
219
  }
220
  }
203
  //check, if the requested user is the post author
204
  $maybe_delete = get_post( $pid );
205
 
206
+ if ( ( $maybe_delete->post_author == $userdata->ID ) || current_user_can( 'delete_others_pages' ) ) {
207
  wp_trash_post( $pid );
208
 
209
  //redirect
214
  wp_redirect( $redirect );
215
  exit;
216
  } else {
217
+ echo wp_kses_post( '<div class="error">' . __( 'You are not the post author. Cheating huh!', 'wp-user-frontend' ) . '</div>' );
218
  }
219
  }
220
  }
class/payment.php CHANGED
@@ -66,9 +66,12 @@ class WPUF_Payment {
66
 
67
  $pay_page = intval( wpuf_get_option( 'payment_page', 'wpuf_payment' ) );
68
  $billing_amount = 0;
69
- $action = isset( $_REQUEST['action'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['action'] ) ) : '';
70
 
71
- if ( ! is_user_logged_in() && $action === 'wpuf_pay' ) {
 
 
 
 
72
  /* translators: %s: login url */
73
  printf( esc_html( __( 'This page is restricted. Please %s to view this page.', 'wp-user-frontend' ) ), wp_loginout( '', false ) );
74
 
@@ -82,8 +85,6 @@ class WPUF_Payment {
82
  }
83
 
84
  if ( $post->ID === $pay_page && $action === 'wpuf_pay' ) {
85
- $get_type = isset( $_REQUEST['type'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['type'] ) ) : '';
86
- $type = ( $get_type === 'post' ) ? 'post' : 'pack';
87
  $post_id = isset( $_REQUEST['post_id'] ) ? intval( wp_unslash( $_REQUEST['post_id'] ) ) : 0;
88
  $pack_id = isset( $_REQUEST['pack_id'] ) ? intval( wp_unslash( $_REQUEST['pack_id'] ) ) : 0;
89
  $is_free = false;
@@ -146,7 +147,7 @@ class WPUF_Payment {
146
  <?php $pay_page_style = ''; ?>
147
  <div class="wpuf-bill-addr-wrap wpuf-pay-col">
148
  <?php
149
- if ( wpuf_get_option( 'show_address', 'wpuf_address_options', false ) ) {
150
  $pay_page_style = 'vertical-align:top; margin-left: 20px; display: inline-block;';
151
  ?>
152
  <div class="wpuf-bill-addr-info">
66
 
67
  $pay_page = intval( wpuf_get_option( 'payment_page', 'wpuf_payment' ) );
68
  $billing_amount = 0;
 
69
 
70
+ $action = isset( $_REQUEST['action'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['action'] ) ) : '';
71
+ $get_type = isset( $_REQUEST['type'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['type'] ) ) : '';
72
+ $type = ( $get_type === 'post' ) ? 'post' : 'pack';
73
+
74
+ if ( ! is_user_logged_in() && $action === 'wpuf_pay' && $type !== 'post' ) {
75
  /* translators: %s: login url */
76
  printf( esc_html( __( 'This page is restricted. Please %s to view this page.', 'wp-user-frontend' ) ), wp_loginout( '', false ) );
77
 
85
  }
86
 
87
  if ( $post->ID === $pay_page && $action === 'wpuf_pay' ) {
 
 
88
  $post_id = isset( $_REQUEST['post_id'] ) ? intval( wp_unslash( $_REQUEST['post_id'] ) ) : 0;
89
  $pack_id = isset( $_REQUEST['pack_id'] ) ? intval( wp_unslash( $_REQUEST['pack_id'] ) ) : 0;
90
  $is_free = false;
147
  <?php $pay_page_style = ''; ?>
148
  <div class="wpuf-bill-addr-wrap wpuf-pay-col">
149
  <?php
150
+ if ( wpuf_get_option( 'show_address', 'wpuf_address_options', false ) && is_user_logged_in() ) {
151
  $pay_page_style = 'vertical-align:top; margin-left: 20px; display: inline-block;';
152
  ?>
153
  <div class="wpuf-bill-addr-info">
class/subscription.php CHANGED
@@ -1249,7 +1249,7 @@ class WPUF_Subscription {
1249
  /**
1250
  * Reset trials data if used once
1251
  *
1252
- * @since WPUF_PRO
1253
  *
1254
  * @param $sub_meta
1255
  *
@@ -1268,7 +1268,7 @@ class WPUF_Subscription {
1268
  /**
1269
  * Add daily cron for non recur subscritpion
1270
  *
1271
- * @since WPUF_PRO
1272
  *
1273
  * @return void
1274
  */
@@ -1281,7 +1281,7 @@ class WPUF_Subscription {
1281
  /**
1282
  * Cancel non recurring subs if expired
1283
  *
1284
- * @since WPUF_PRO
1285
  *
1286
  * @return void
1287
  */
1249
  /**
1250
  * Reset trials data if used once
1251
  *
1252
+ * @since 3.5.14
1253
  *
1254
  * @param $sub_meta
1255
  *
1268
  /**
1269
  * Add daily cron for non recur subscritpion
1270
  *
1271
+ * @since 3.5.14
1272
  *
1273
  * @return void
1274
  */
1281
  /**
1282
  * Cancel non recurring subs if expired
1283
  *
1284
+ * @since 3.5.14
1285
  *
1286
  * @return void
1287
  */
class/upload.php CHANGED
@@ -138,39 +138,41 @@ class WPUF_Upload {
138
  $response['html'] = self::attach_html( $attach['attach_id'], $field_type, $form_id );
139
  }
140
 
141
- echo wp_kses( $response['html'], [
142
- 'li' => [
143
- 'class' => []
144
- ],
145
- 'div' => [
146
- 'class' => []
147
- ],
148
- 'img' => [
149
- 'src' => [],
150
- 'alt' => [],
151
- 'class' => [],
152
- ],
153
- 'input' => [
154
- 'type' => [],
155
- 'name' => [],
156
- 'value' => [],
157
- 'placeholder' => []
158
- ],
159
- 'textarea' => [
160
- 'name' => [],
161
- 'placeholder' => []
162
- ],
163
- 'a' => [
164
- 'href' => [],
165
- 'class' => [],
166
- 'data-attach-id' => [],
167
- ],
168
- 'span' => [
169
- 'class' => []
 
 
170
  ]
171
- ] );
172
  } else {
173
- echo wp_kses_post( $attach['error'] );
174
  }
175
 
176
  exit;
@@ -187,7 +189,10 @@ class WPUF_Upload {
187
  $check_duplicate = $this->duplicate_upload( $upload_data );
188
 
189
  if ( isset( $check_duplicate['duplicate'] ) && $check_duplicate['duplicate'] ) {
190
- return [ 'success' => true, 'attach_id' => $check_duplicate['duplicate'] ];
 
 
 
191
  }
192
 
193
  $uploaded_file = wp_handle_upload( $upload_data, [ 'test_form' => false ] );
@@ -211,10 +216,16 @@ class WPUF_Upload {
211
  wp_update_attachment_metadata( $attach_id, $attach_data );
212
  update_post_meta( $attach_id, 'wpuf_file_hash', $upload_hash );
213
 
214
- return [ 'success' => true, 'attach_id' => $attach_id ];
 
 
 
215
  }
216
 
217
- return [ 'success' => false, 'error' => $uploaded_file['error'] ];
 
 
 
218
  }
219
 
220
  public static function attach_html( $attach_id, $type = null, $form_id = null ) {
@@ -305,10 +316,12 @@ class WPUF_Upload {
305
  }
306
 
307
  public function associate_file( $attach_id, $post_id ) {
308
- wp_update_post( [
309
- 'ID' => $attach_id,
310
- 'post_parent' => $post_id,
311
- ] );
 
 
312
  }
313
 
314
  public function insert_image() {
138
  $response['html'] = self::attach_html( $attach['attach_id'], $field_type, $form_id );
139
  }
140
 
141
+ echo wp_kses(
142
+ $response['html'], [
143
+ 'li' => [
144
+ 'class' => [],
145
+ ],
146
+ 'div' => [
147
+ 'class' => [],
148
+ ],
149
+ 'img' => [
150
+ 'src' => [],
151
+ 'alt' => [],
152
+ 'class' => [],
153
+ ],
154
+ 'input' => [
155
+ 'type' => [],
156
+ 'name' => [],
157
+ 'value' => [],
158
+ 'placeholder' => [],
159
+ ],
160
+ 'textarea' => [
161
+ 'name' => [],
162
+ 'placeholder' => [],
163
+ ],
164
+ 'a' => [
165
+ 'href' => [],
166
+ 'class' => [],
167
+ 'data-attach-id' => [],
168
+ ],
169
+ 'span' => [
170
+ 'class' => [],
171
+ ],
172
  ]
173
+ );
174
  } else {
175
+ wp_send_json_error( $attach['error'], 200 );
176
  }
177
 
178
  exit;
189
  $check_duplicate = $this->duplicate_upload( $upload_data );
190
 
191
  if ( isset( $check_duplicate['duplicate'] ) && $check_duplicate['duplicate'] ) {
192
+ return [
193
+ 'success' => true,
194
+ 'attach_id' => $check_duplicate['duplicate'],
195
+ ];
196
  }
197
 
198
  $uploaded_file = wp_handle_upload( $upload_data, [ 'test_form' => false ] );
216
  wp_update_attachment_metadata( $attach_id, $attach_data );
217
  update_post_meta( $attach_id, 'wpuf_file_hash', $upload_hash );
218
 
219
+ return [
220
+ 'success' => true,
221
+ 'attach_id' => $attach_id,
222
+ ];
223
  }
224
 
225
+ return [
226
+ 'success' => false,
227
+ 'error' => $uploaded_file['error'],
228
+ ];
229
  }
230
 
231
  public static function attach_html( $attach_id, $type = null, $form_id = null ) {
316
  }
317
 
318
  public function associate_file( $attach_id, $post_id ) {
319
+ wp_update_post(
320
+ [
321
+ 'ID' => $attach_id,
322
+ 'post_parent' => $post_id,
323
+ ]
324
+ );
325
  }
326
 
327
  public function insert_image() {
includes/class-frontend-form-post.php CHANGED
@@ -1086,9 +1086,6 @@ class WPUF_Frontend_Form extends WPUF_Frontend_Render_Form {
1086
  //now redirect the user
1087
  $response = apply_filters( 'wpuf_edit_post_redirect', $response, $post_id, $form_id, $this->form_settings );
1088
  } else {
1089
- //now perform some post related actions
1090
- do_action( 'wpuf_add_post_after_insert', $post_id, $form_id, $this->form_settings, $meta_vars ); // plugin API to extend the functionality
1091
-
1092
  // send mail notification
1093
  if ( isset( $this->form_settings['notification'] ) && $this->form_settings['notification']['new'] === 'on' ) {
1094
  $mail_body = $this->prepare_mail_body( $this->form_settings['notification']['new_body'], $post_author, $post_id );
@@ -1102,6 +1099,9 @@ class WPUF_Frontend_Form extends WPUF_Frontend_Render_Form {
1102
 
1103
  //redirect the user
1104
  $response = apply_filters( 'wpuf_add_post_redirect', $response, $post_id, $form_id, $this->form_settings );
 
 
 
1105
  }
1106
 
1107
  return $response;
1086
  //now redirect the user
1087
  $response = apply_filters( 'wpuf_edit_post_redirect', $response, $post_id, $form_id, $this->form_settings );
1088
  } else {
 
 
 
1089
  // send mail notification
1090
  if ( isset( $this->form_settings['notification'] ) && $this->form_settings['notification']['new'] === 'on' ) {
1091
  $mail_body = $this->prepare_mail_body( $this->form_settings['notification']['new_body'], $post_author, $post_id );
1099
 
1100
  //redirect the user
1101
  $response = apply_filters( 'wpuf_add_post_redirect', $response, $post_id, $form_id, $this->form_settings );
1102
+ //now perform some post related actions. it should done after other action.either count related problem emerge
1103
+ do_action( 'wpuf_add_post_after_insert', $post_id, $form_id, $this->form_settings, $meta_vars ); // plugin API to extend the functionality
1104
+
1105
  }
1106
 
1107
  return $response;
includes/class-frontend-render-form.php CHANGED
@@ -3,23 +3,23 @@
3
  class WPUF_Frontend_Render_Form {
4
  private static $_instance;
5
 
6
- public static $meta_key = 'wpuf_form';
7
 
8
- public static $separator = ' | ';
9
 
10
- public static $config_id = '_wpuf_form_id';
11
 
12
  private $form_condition_key = 'wpuf_cond';
13
 
14
- private $field_count = 0;
15
 
16
- public $multiform_start = 0;
17
 
18
- public $wp_post_types = [];
19
 
20
- public $form_fields = [];
21
 
22
- public $form_settings = [];
23
 
24
  /**
25
  * Send json error message
@@ -27,10 +27,12 @@ class WPUF_Frontend_Render_Form {
27
  * @param string $error
28
  */
29
  public function send_error( $error ) {
30
- echo json_encode( [
31
- 'success' => false,
32
- 'error' => $error,
33
- ] );
 
 
34
 
35
  die();
36
  }
@@ -48,7 +50,7 @@ class WPUF_Frontend_Render_Form {
48
  $results = [];
49
 
50
  if ( is_array( $array ) ) {
51
- if ( isset( $array[$key] ) && $array[$key] == $value ) {
52
  $results[] = $array;
53
  }
54
 
@@ -69,7 +71,7 @@ class WPUF_Frontend_Render_Form {
69
  $nonce = isset( $_REQUEST['wpuf-login-nonce'] ) ? sanitize_key( wp_unslash( $_REQUEST['wpuf-login-nonce'] ) ) : '';
70
 
71
  if ( isset( $nonce ) && ! wp_verify_nonce( $nonce, 'wpuf_login_action' ) ) {
72
- return ;
73
  }
74
 
75
  $rs_captcha_input = isset( $_POST['rs_captcha'] ) ? sanitize_text_field( wp_unslash( $_POST['rs_captcha'] ) ) : '';
@@ -78,7 +80,7 @@ class WPUF_Frontend_Render_Form {
78
  if ( class_exists( 'ReallySimpleCaptcha' ) ) {
79
  $captcha_instance = new ReallySimpleCaptcha();
80
 
81
- if ( !$captcha_instance->check( $rs_captcha_file, $rs_captcha_input ) ) {
82
  $this->send_error( __( 'Really Simple Captcha validation failed', 'wp-user-frontend' ) );
83
  } else {
84
  // validation success, remove the files
@@ -103,7 +105,7 @@ class WPUF_Frontend_Render_Form {
103
  $g_recaptcha_response = isset( $_POST['g-recaptcha-response'] ) ? sanitize_text_field( wp_unslash( $_POST['g-recaptcha-response'] ) ) : '';
104
 
105
  if ( $no_captcha == 1 && 0 == $invisible ) {
106
- if ( !class_exists( 'WPUF_ReCaptcha' ) ) {
107
  require_once WPUF_ROOT . '/lib/recaptchalib_noCaptcha.php';
108
  }
109
 
@@ -113,18 +115,18 @@ class WPUF_Frontend_Render_Form {
113
  $resp = $reCaptcha->verifyResponse(
114
  $remote_addr,
115
  $g_recaptcha_response
116
- );
117
 
118
- if ( !$resp->success ) {
119
  $this->send_error( __( 'noCaptcha reCAPTCHA validation failed', 'wp-user-frontend' ) );
120
  }
121
- } elseif ( $no_captcha == 0 && 0 == $invisible ) {
122
- $recap_challenge = isset( $_POST['recaptcha_challenge_field'] ) ? sanitize_text_field( wp_unslash( $_POST['recaptcha_challenge_field'] ) ): '';
123
  $recap_response = isset( $_POST['recaptcha_response_field'] ) ? sanitize_text_field( wp_unslash( $_POST['recaptcha_response_field'] ) ) : '';
124
 
125
- $resp = recaptcha_check_answer( $private_key, $remote_addr, $recap_challenge, $recap_response );
126
 
127
- if ( !$resp->is_valid ) {
128
  $this->send_error( __( 'reCAPTCHA validation failed', 'wp-user-frontend' ) );
129
  }
130
  } elseif ( $no_captcha == 0 && 1 == $invisible ) {
@@ -132,7 +134,7 @@ class WPUF_Frontend_Render_Form {
132
  $recaptcha = isset( $_POST['g-recaptcha-response'] ) ? sanitize_text_field( wp_unslash( $_POST['g-recaptcha-response'] ) ) : '';
133
  $object = new Invisible_Recaptcha( $site_key, $private_key );
134
 
135
- $response = $object->verifyResponse( $recaptcha );
136
 
137
  if ( isset( $response['success'] ) and $response['success'] != true ) {
138
  $this->send_error( __( 'Invisible reCAPTCHA validation failed', 'wp-user-frontend' ) );
@@ -164,14 +166,16 @@ class WPUF_Frontend_Render_Form {
164
 
165
  <?php
166
  if ( $post_id ) {
167
- $cur_post = get_post( $post_id ); ?>
 
168
  <input type="hidden" name="post_id" value="<?php echo esc_attr( $post_id ); ?>">
169
  <input type="hidden" name="post_date" value="<?php echo esc_attr( $cur_post->post_date ); ?>">
170
  <input type="hidden" name="comment_status" value="<?php echo esc_attr( $cur_post->comment_status ); ?>">
171
  <input type="hidden" name="post_author" value="<?php echo esc_attr( $cur_post->post_author ); ?>">
172
  <input type="submit" class="wpuf-submit-button wpuf_submit_<?php echo esc_attr( $form_id ); ?>" name="submit" value="<?php echo esc_attr( $form_settings['update_text'] ); ?>" />
173
- <?php
174
- } else { ?>
 
175
  <input type="submit" class="wpuf-submit-button wpuf_submit_<?php echo esc_attr( $form_id ); ?>" name="submit" value="<?php echo esc_attr( $form_settings['submit_text'] ); ?>" />
176
  <?php } ?>
177
 
@@ -277,7 +281,7 @@ class WPUF_Frontend_Render_Form {
277
  public function render_form( $form_id, $post_id = null, $atts = [], $form = null ) {
278
  $form_status = get_post_status( $form_id );
279
 
280
- if ( !$form_status ) {
281
  echo wp_kses_post( '<div class="wpuf-message">' . __( 'Your selected form is no longer available.', 'wp-user-frontend' ) . '</div>' );
282
 
283
  return;
@@ -289,38 +293,38 @@ class WPUF_Frontend_Render_Form {
289
  return;
290
  }
291
 
292
- $label_position = isset( $this->form_settings['label_position'] ) ? $this->form_settings['label_position'] : 'left';
293
 
294
- $layout = isset( $this->form_settings['form_layout'] ) ? $this->form_settings['form_layout'] : 'layout1';
295
 
296
- $theme_css = isset( $this->form_settings['use_theme_css'] ) ? $this->form_settings['use_theme_css'] : 'wpuf-style';
297
 
298
  do_action( 'wpuf_before_form_render', $form_id );
299
 
300
- if ( !empty( $layout ) ) {
301
  wp_enqueue_style( 'wpuf-' . $layout );
302
  }
303
 
304
- if ( !is_user_logged_in() && $this->form_settings['guest_post'] != 'true' ) {
305
  echo wp_kses_post( '<div class="wpuf-message">' . $this->form_settings['message_restrict'] . '</div>' );
306
 
307
  return;
308
  }
309
 
310
- if (
311
- isset( $this->form_settings['role_base'] )
312
- && wpuf_validate_boolean( $this->form_settings['role_base'] )
313
- && ! wpuf_user_has_roles( $this->form_settings['roles'] )
314
  ) {
315
  ?>
316
- <div class="wpuf-message"><?php esc_html_e( 'You do not have sufficient permissions to access this form.', 'wp-user-frontend' ); ?></div>
317
  <?php
318
 
319
-
320
  return;
321
  }
322
 
323
- if ( $this->form_fields ) { ?>
 
324
 
325
  <form class="wpuf-form-add wpuf-form-<?php echo esc_attr( $layout ); ?> <?php echo ( $layout == 'layout1' ) ? esc_html( $theme_css ) : 'wpuf-style'; ?>" action="" method="post">
326
 
@@ -345,25 +349,25 @@ class WPUF_Frontend_Render_Form {
345
 
346
  do_action( 'wpuf_form_fields_top', $form, $this->form_fields );
347
 
348
- if ( !$post_id ) {
349
- do_action( 'wpuf_add_post_form_top', $form_id, $this->form_settings );
350
- } else {
351
- do_action( 'wpuf_edit_post_form_top', $form_id, $post_id, $this->form_settings );
352
- }
353
 
354
- if ( !is_user_logged_in() && $this->form_settings['guest_post'] == 'true' && $this->form_settings['guest_details'] == 'true' ) {
355
- $this->guest_fields( $this->form_settings );
356
- }
357
 
358
  wpuf()->fields->render_fields( $this->form_fields, $form_id, $atts, $type = 'post', $post_id );
359
 
360
  $this->submit_button( $form_id, $this->form_settings, $post_id );
361
 
362
- if ( !$post_id ) {
363
- do_action( 'wpuf_add_post_form_bottom', $form_id, $this->form_settings );
364
- } else {
365
- do_action( 'wpuf_edit_post_form_bottom', $form_id, $post_id, $this->form_settings );
366
- }
367
 
368
  ?>
369
 
@@ -372,8 +376,7 @@ class WPUF_Frontend_Render_Form {
372
  </form>
373
 
374
  <?php
375
-
376
- } //endif
377
 
378
  do_action( 'wpuf_after_form_render', $form_id );
379
  }
@@ -400,14 +403,14 @@ class WPUF_Frontend_Render_Form {
400
  $taxonomy_templates = [];
401
 
402
  foreach ( $this->wp_post_types as $post_type => $taxonomies ) {
403
- if ( !empty( $taxonomies ) ) {
404
  foreach ( $taxonomies as $tax_name => $taxonomy ) {
405
  if ( 'post_tag' === $tax_name ) {
406
  // $taxonomy_templates['post_tag'] = self::post_tags();
407
  $taxonomy_templates['post_tags'] = new WPUF_Form_Field_Post_Tags();
408
  } else {
409
  // $taxonomy_templates[ $tax_name ] = self::taxonomy_template( $tax_name, $taxonomy );
410
- $taxonomy_templates[ 'taxonomy' ] = new WPUF_Form_Field_Post_Taxonomy( $tax_name, $taxonomy );
411
  }
412
  }
413
  }
@@ -430,7 +433,7 @@ class WPUF_Frontend_Render_Form {
430
  // username from email address
431
  $username = sanitize_user( substr( $email, 0, strpos( $email, '@' ) ) );
432
 
433
- if ( !username_exists( $username ) ) {
434
  return $username;
435
  }
436
 
@@ -438,7 +441,7 @@ class WPUF_Frontend_Render_Form {
438
  // and may be we got our username
439
  $username .= rand( 1, 199 );
440
 
441
- if ( !username_exists( $username ) ) {
442
  return $username;
443
  }
444
  }
@@ -455,9 +458,11 @@ class WPUF_Frontend_Render_Form {
455
 
456
  $wpuf_post_types = wpuf_get_post_types( $args );
457
 
458
- $ignore_taxonomies = apply_filters( 'wpuf-ignore-taxonomies', [
459
- 'post_format',
460
- ] );
 
 
461
 
462
  foreach ( $wpuf_post_types as $post_type ) {
463
  $this->wp_post_types[ $post_type ] = [];
@@ -465,16 +470,18 @@ class WPUF_Frontend_Render_Form {
465
  $taxonomies = get_object_taxonomies( $post_type, 'object' );
466
 
467
  foreach ( $taxonomies as $tax_name => $taxonomy ) {
468
- if ( !in_array( $tax_name, $ignore_taxonomies ) ) {
469
  $this->wp_post_types[ $post_type ][ $tax_name ] = [
470
  'title' => $taxonomy->label,
471
  'hierarchical' => $taxonomy->hierarchical,
472
  ];
473
 
474
- $this->wp_post_types[ $post_type ][ $tax_name ]['terms'] = get_terms( [
475
- 'taxonomy' => $tax_name,
476
- 'hide_empty' => false,
477
- ] );
 
 
478
  }
479
  }
480
  }
@@ -488,7 +495,7 @@ class WPUF_Frontend_Render_Form {
488
  * @return array
489
  */
490
  public function get_input_fields( $form_vars ) {
491
- $ignore_lists = ['section_break', 'html'];
492
  $post_vars = $meta_vars = $taxonomy_vars = [];
493
 
494
  foreach ( $form_vars as $key => $value ) {
@@ -497,7 +504,7 @@ class WPUF_Frontend_Render_Form {
497
  $inner_fields = $value['inner_fields'];
498
 
499
  foreach ( $inner_fields as $column_key => $column_fields ) {
500
- if ( !empty( $column_fields ) ) {
501
  // ignore section break and HTML input type
502
  foreach ( $column_fields as $column_field_key => $column_field ) {
503
  if ( in_array( $column_field['input_type'], $ignore_lists ) ) {
@@ -551,7 +558,7 @@ class WPUF_Frontend_Render_Form {
551
  }
552
  }
553
 
554
- return [$post_vars, $taxonomy_vars, $meta_vars];
555
  }
556
 
557
  /**
@@ -566,43 +573,43 @@ class WPUF_Frontend_Render_Form {
566
  $woo_attr = [];
567
 
568
  foreach ( $taxonomy_vars as $taxonomy ) {
569
- if ( isset( $_POST[$taxonomy['name']] ) && is_array( $_POST[$taxonomy['name']] ) ) {
570
- $taxonomy_name = array_map( 'sanitize_text_field', wp_unslash( $_POST[$taxonomy['name']] ) );
571
  }
572
 
573
- if ( isset( $_POST[$taxonomy['name']] ) && ! is_array( $_POST[$taxonomy['name']] ) ) {
574
- $taxonomy_name = sanitize_text_field( wp_unslash( $_POST[$taxonomy['name']] ) );
575
 
576
  if ( 'text' === $taxonomy['type'] ) {
577
  $terms = explode( ',', $taxonomy_name );
578
- $terms = array_map( function ( $term_name ) use ( $taxonomy ) {
579
- $term = get_term_by( 'name', $term_name, $taxonomy['name'] );
580
-
581
- if ( empty( $term_name ) ) {
582
- return null;
583
- }
584
-
585
- if ( $term instanceof WP_Term ) {
586
- return $term->term_id;
587
 
588
- }
 
 
589
 
590
- $new_term = wp_insert_term( $term_name, $taxonomy['name'] );
 
 
591
 
592
- return $new_term['term_id'];
593
 
594
- }, $terms );
 
 
595
 
596
  $taxonomy_name = array_filter( $terms );
597
  }
598
  }
599
 
600
  // At this point $taxonomy_name should be a single id or array of ids
601
- if ( isset( $taxonomy_name ) && $taxonomy_name !=0 && $taxonomy_name !=-1 ) {
602
  if ( is_object_in_taxonomy( $this->form_settings['post_type'], $taxonomy['name'] ) ) {
603
  $tax = $taxonomy_name;
604
  // if it's not an array, make it one
605
- if ( !is_array( $tax ) ) {
606
  $tax = [ $tax ];
607
  }
608
 
@@ -610,16 +617,16 @@ class WPUF_Frontend_Render_Form {
610
  wp_set_object_terms( $post_id, $taxonomy_name, $taxonomy['name'] );
611
 
612
  // woocommerce check
613
- if ( isset( $taxonomy['woo_attr'] ) && $taxonomy['woo_attr'] == 'yes' && !empty( $taxonomy_name ) ) {
614
- $woo_attr[$taxonomy['name']] = $this->woo_attribute( $taxonomy );
615
  }
616
  } else {
617
  if ( is_taxonomy_hierarchical( $taxonomy['name'] ) ) {
618
  wp_set_post_terms( $post_id, $taxonomy_name, $taxonomy['name'] );
619
 
620
  // woocommerce check
621
- if ( isset( $taxonomy['woo_attr'] ) && $taxonomy['woo_attr'] == 'yes' && !empty( $taxonomy_name ) ) {
622
- $woo_attr[$taxonomy['name']] = $this->woo_attribute( $taxonomy );
623
  }
624
  } else {
625
  if ( $tax ) {
@@ -628,7 +635,7 @@ class WPUF_Frontend_Render_Form {
628
  foreach ( $tax as $value ) {
629
  $term = get_term_by( 'id', $value, $taxonomy['name'] );
630
 
631
- if ( $term && !is_wp_error( $term ) ) {
632
  $non_hierarchical[] = $term->name;
633
  }
634
  }
@@ -636,8 +643,8 @@ class WPUF_Frontend_Render_Form {
636
  wp_set_post_terms( $post_id, $non_hierarchical, $taxonomy['name'] );
637
 
638
  // woocommerce check
639
- if ( isset( $taxonomy['woo_attr'] ) && $taxonomy['woo_attr'] == 'yes' && !empty( $_POST[$taxonomy['name']] ) ) {
640
- $woo_attr[$taxonomy['name']] = $this->woo_attribute( $taxonomy );
641
  }
642
  }
643
  } // hierarchical
@@ -645,11 +652,11 @@ class WPUF_Frontend_Render_Form {
645
  } // is object tax
646
  } // isset tax
647
 
648
- else {
649
- if ( !isset( $taxonomy['woo_attr'] ) ) {
650
- $this->set_default_taxonomy( $post_id );
651
- }
652
  }
 
653
  }
654
 
655
  // if a woocommerce attribute
@@ -665,9 +672,9 @@ class WPUF_Frontend_Render_Form {
665
  $post_taxonomies = get_object_taxonomies( $this->form_settings['post_type'], 'objects' );
666
  foreach ( $post_taxonomies as $tax ) {
667
  if ( $tax->hierarchical ) {
668
- $name = 'default_'. $tax->name;
669
- if( isset( $this->form_settings[$name] ) && !empty( $this->form_settings[$name] ) ){
670
- $value = $this->form_settings[$name];
671
  wp_set_post_terms( $post_id, $value, $tax->name );
672
  }
673
  }
@@ -696,17 +703,17 @@ class WPUF_Frontend_Render_Form {
696
  $wpuf_field = wpuf()->fields->get_field( $value['template'] );
697
  $posted_field_data = isset( $post_data[ $value['name'] ] ) ? $post_data[ $value['name'] ] : null;
698
 
699
- if ( isset( $posted_field_data ) && method_exists( $wpuf_field, 'sanitize_field_data') ) {
700
- $meta_key_value[$value['name']] = $wpuf_field->sanitize_field_data( $posted_field_data, $value );
701
  continue;
702
- } else if( isset( $post_data[$value['name']] ) && is_array( $post_data[$value['name']] ) ) {
703
- $value_name = isset( $post_data[$value['name']] ) ? array_map( 'sanitize_text_field', wp_unslash( $post_data[$value['name']] ) ): '';
704
  } else {
705
- $value_name = isset( $post_data[$value['name']] ) ? sanitize_text_field( wp_unslash( $post_data[$value['name']] ) ): '';
706
  }
707
 
708
- if ( isset( $post_data['wpuf_files'][$value['name']] ) ) {
709
- $wpuf_files = isset( $post_data['wpuf_files'] ) ? array_map( 'sanitize_text_field', wp_unslash( $post_data['wpuf_files'][$value['name']] ) ) : [];
710
  } else {
711
  $wpuf_files = [];
712
  }
@@ -716,7 +723,6 @@ class WPUF_Frontend_Render_Form {
716
  // put files in a separate array, we'll process it later
717
  case 'file_upload':
718
  case 'image_upload':
719
-
720
  $files[] = [
721
  'name' => $value['name'],
722
  // 'value' => $wpuf_files[$value['name']],
@@ -726,27 +732,25 @@ class WPUF_Frontend_Render_Form {
726
  break;
727
 
728
  case 'repeat':
729
- $repeater_value = wp_unslash( $_POST[$value['name']] ); // WPCS: sanitization ok.
730
 
731
  // if it is a multi column repeat field
732
  if ( isset( $value['multiple'] ) && $value['multiple'] == 'true' ) {
733
 
734
  // if there's any items in the array, process it
735
  if ( $repeater_value ) {
736
-
737
  $ref_arr = array();
738
  $cols = count( $value['columns'] );
739
  $first = array_shift( array_values( $repeater_value ) ); //first element
740
  $rows = count( $first );
741
 
742
  // loop through columns
743
- for ($i = 0; $i < $rows; $i++) {
744
 
745
  // loop through the rows and store in a temp array
746
  $temp = array();
747
- for ($j = 0; $j < $cols; $j++) {
748
-
749
- $temp[] = $repeater_value[$j][$i];
750
  }
751
 
752
  // store all fields in a row with self::$separator separated
@@ -755,17 +759,16 @@ class WPUF_Frontend_Render_Form {
755
 
756
  // now, if we found anything in $ref_arr, store to $multi_repeated
757
  if ( $ref_arr ) {
758
- $multi_repeated[$value['name']] = array_slice( $ref_arr, 0, $rows );
759
  }
760
  }
761
  } else {
762
- $meta_key_value[$value['name']] = implode( self::$separator, $repeater_value );
763
  }
764
 
765
  break;
766
 
767
  case 'address':
768
-
769
  if ( is_array( $value_name ) ) {
770
  foreach ( $value_name as $address_field => $field_value ) {
771
  $meta_key_value[ $value['name'] ][ $address_field ] = sanitize_text_field( $field_value );
@@ -778,14 +781,13 @@ class WPUF_Frontend_Render_Form {
778
  case 'email':
779
  case 'number':
780
  case 'date':
781
-
782
- $meta_key_value[$value['name']] = $value_name;
783
 
784
  break;
785
 
786
  case 'textarea':
787
  $allowed_tags = wp_kses_allowed_html( 'post' );
788
- $meta_key_value[$value['name']] = wp_kses( $value_name, $allowed_tags );
789
 
790
  break;
791
 
@@ -793,15 +795,19 @@ class WPUF_Frontend_Render_Form {
793
  $data = [];
794
  $map_field_data = $value_name;
795
 
796
- if ( !empty( $map_field_data ) ) {
797
- list( $data['address'], $data['lat'], $data['lng'] ) = explode( ' || ', $map_field_data );
798
- $meta_key_value[$value['name']] = $data;
 
 
 
 
799
  }
800
  break;
801
 
802
  case 'checkbox':
803
  if ( count( $value_name ) > 1 ) {
804
- $meta_key_value[$value['name']] = implode( self::$separator, $value_name );
805
  } else {
806
  $meta_key_value[ $value['name'] ] = $value_name[0];
807
  }
@@ -809,26 +815,26 @@ class WPUF_Frontend_Render_Form {
809
 
810
  default:
811
  // if it's an array, implode with this->separator
812
- if ( !empty( $value_name ) && is_array( $value_name ) ) {
813
  $acf_compatibility = wpuf_get_option( 'wpuf_compatibility_acf', 'wpuf_general', 'no' );
814
 
815
  if ( $value['input_type'] == 'address' ) {
816
- $meta_key_value[$value['name']] = $value_name;
817
- } elseif ( !empty( $acf_compatibility ) && $acf_compatibility == 'yes' ) {
818
- $meta_key_value[$value['name']] = $value_name;
819
  } else {
820
- $meta_key_value[$value['name']] = implode( self::$separator, $value_name );
821
  }
822
- } elseif ( !empty( $value_name ) ) {
823
- $meta_key_value[$value['name']] = trim( $value_name );
824
  } else {
825
- $meta_key_value[$value['name']] = trim( $value_name );
826
  }
827
 
828
  break;
829
  }
830
  } //end foreach
831
- return [$meta_key_value, $multi_repeated, $files];
832
  }
833
 
834
  /**
@@ -839,7 +845,6 @@ class WPUF_Frontend_Render_Form {
839
  * @return void
840
  */
841
  public function on_edit_no_check_recaptcha( $post_vars ) {
842
-
843
  check_ajax_referer( 'wpuf_form_add' );
844
  // search if rs captcha is there
845
  if ( $this->search( $post_vars, 'input_type', 'really_simple_captcha' ) ) {
@@ -848,8 +853,8 @@ class WPUF_Frontend_Render_Form {
848
  $no_captcha = $invisible_captcha = $recaptcha_type = '';
849
  $check_recaptcha = $this->search( $post_vars, 'input_type', 'recaptcha' );
850
 
851
- if ( !empty( $check_recaptcha ) ) {
852
- $recaptcha_type = $check_recaptcha[0]['recaptcha_type'];
853
  }
854
  // check recaptcha
855
  if ( $check_recaptcha ) {
3
  class WPUF_Frontend_Render_Form {
4
  private static $_instance;
5
 
6
+ public static $meta_key = 'wpuf_form';
7
 
8
+ public static $separator = ' | ';
9
 
10
+ public static $config_id = '_wpuf_form_id';
11
 
12
  private $form_condition_key = 'wpuf_cond';
13
 
14
+ private $field_count = 0;
15
 
16
+ public $multiform_start = 0;
17
 
18
+ public $wp_post_types = [];
19
 
20
+ public $form_fields = [];
21
 
22
+ public $form_settings = [];
23
 
24
  /**
25
  * Send json error message
27
  * @param string $error
28
  */
29
  public function send_error( $error ) {
30
+ echo json_encode(
31
+ [
32
+ 'success' => false,
33
+ 'error' => $error,
34
+ ]
35
+ );
36
 
37
  die();
38
  }
50
  $results = [];
51
 
52
  if ( is_array( $array ) ) {
53
+ if ( isset( $array[ $key ] ) && $array[ $key ] == $value ) {
54
  $results[] = $array;
55
  }
56
 
71
  $nonce = isset( $_REQUEST['wpuf-login-nonce'] ) ? sanitize_key( wp_unslash( $_REQUEST['wpuf-login-nonce'] ) ) : '';
72
 
73
  if ( isset( $nonce ) && ! wp_verify_nonce( $nonce, 'wpuf_login_action' ) ) {
74
+ return;
75
  }
76
 
77
  $rs_captcha_input = isset( $_POST['rs_captcha'] ) ? sanitize_text_field( wp_unslash( $_POST['rs_captcha'] ) ) : '';
80
  if ( class_exists( 'ReallySimpleCaptcha' ) ) {
81
  $captcha_instance = new ReallySimpleCaptcha();
82
 
83
+ if ( ! $captcha_instance->check( $rs_captcha_file, $rs_captcha_input ) ) {
84
  $this->send_error( __( 'Really Simple Captcha validation failed', 'wp-user-frontend' ) );
85
  } else {
86
  // validation success, remove the files
105
  $g_recaptcha_response = isset( $_POST['g-recaptcha-response'] ) ? sanitize_text_field( wp_unslash( $_POST['g-recaptcha-response'] ) ) : '';
106
 
107
  if ( $no_captcha == 1 && 0 == $invisible ) {
108
+ if ( ! class_exists( 'WPUF_ReCaptcha' ) ) {
109
  require_once WPUF_ROOT . '/lib/recaptchalib_noCaptcha.php';
110
  }
111
 
115
  $resp = $reCaptcha->verifyResponse(
116
  $remote_addr,
117
  $g_recaptcha_response
118
+ );
119
 
120
+ if ( ! $resp->success ) {
121
  $this->send_error( __( 'noCaptcha reCAPTCHA validation failed', 'wp-user-frontend' ) );
122
  }
123
+ } elseif ( $no_captcha == 0 && 0 == $invisible ) {
124
+ $recap_challenge = isset( $_POST['recaptcha_challenge_field'] ) ? sanitize_text_field( wp_unslash( $_POST['recaptcha_challenge_field'] ) ) : '';
125
  $recap_response = isset( $_POST['recaptcha_response_field'] ) ? sanitize_text_field( wp_unslash( $_POST['recaptcha_response_field'] ) ) : '';
126
 
127
+ $resp = recaptcha_check_answer( $private_key, $remote_addr, $recap_challenge, $recap_response );
128
 
129
+ if ( ! $resp->is_valid ) {
130
  $this->send_error( __( 'reCAPTCHA validation failed', 'wp-user-frontend' ) );
131
  }
132
  } elseif ( $no_captcha == 0 && 1 == $invisible ) {
134
  $recaptcha = isset( $_POST['g-recaptcha-response'] ) ? sanitize_text_field( wp_unslash( $_POST['g-recaptcha-response'] ) ) : '';
135
  $object = new Invisible_Recaptcha( $site_key, $private_key );
136
 
137
+ $response = $object->verifyResponse( $recaptcha );
138
 
139
  if ( isset( $response['success'] ) and $response['success'] != true ) {
140
  $this->send_error( __( 'Invisible reCAPTCHA validation failed', 'wp-user-frontend' ) );
166
 
167
  <?php
168
  if ( $post_id ) {
169
+ $cur_post = get_post( $post_id );
170
+ ?>
171
  <input type="hidden" name="post_id" value="<?php echo esc_attr( $post_id ); ?>">
172
  <input type="hidden" name="post_date" value="<?php echo esc_attr( $cur_post->post_date ); ?>">
173
  <input type="hidden" name="comment_status" value="<?php echo esc_attr( $cur_post->comment_status ); ?>">
174
  <input type="hidden" name="post_author" value="<?php echo esc_attr( $cur_post->post_author ); ?>">
175
  <input type="submit" class="wpuf-submit-button wpuf_submit_<?php echo esc_attr( $form_id ); ?>" name="submit" value="<?php echo esc_attr( $form_settings['update_text'] ); ?>" />
176
+ <?php
177
+ } else {
178
+ ?>
179
  <input type="submit" class="wpuf-submit-button wpuf_submit_<?php echo esc_attr( $form_id ); ?>" name="submit" value="<?php echo esc_attr( $form_settings['submit_text'] ); ?>" />
180
  <?php } ?>
181
 
281
  public function render_form( $form_id, $post_id = null, $atts = [], $form = null ) {
282
  $form_status = get_post_status( $form_id );
283
 
284
+ if ( ! $form_status ) {
285
  echo wp_kses_post( '<div class="wpuf-message">' . __( 'Your selected form is no longer available.', 'wp-user-frontend' ) . '</div>' );
286
 
287
  return;
293
  return;
294
  }
295
 
296
+ $label_position = isset( $this->form_settings['label_position'] ) ? $this->form_settings['label_position'] : 'left';
297
 
298
+ $layout = isset( $this->form_settings['form_layout'] ) ? $this->form_settings['form_layout'] : 'layout1';
299
 
300
+ $theme_css = isset( $this->form_settings['use_theme_css'] ) ? $this->form_settings['use_theme_css'] : 'wpuf-style';
301
 
302
  do_action( 'wpuf_before_form_render', $form_id );
303
 
304
+ if ( ! empty( $layout ) ) {
305
  wp_enqueue_style( 'wpuf-' . $layout );
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
  }
313
 
314
+ if (
315
+ isset( $this->form_settings['role_base'] )
316
+ && wpuf_validate_boolean( $this->form_settings['role_base'] )
317
+ && ! wpuf_user_has_roles( $this->form_settings['roles'] )
318
  ) {
319
  ?>
320
+ <div class="wpuf-message"><?php esc_html_e( 'You do not have sufficient permissions to access this form.', 'wp-user-frontend' ); ?></div>
321
  <?php
322
 
 
323
  return;
324
  }
325
 
326
+ if ( $this->form_fields ) {
327
+ ?>
328
 
329
  <form class="wpuf-form-add wpuf-form-<?php echo esc_attr( $layout ); ?> <?php echo ( $layout == 'layout1' ) ? esc_html( $theme_css ) : 'wpuf-style'; ?>" action="" method="post">
330
 
349
 
350
  do_action( 'wpuf_form_fields_top', $form, $this->form_fields );
351
 
352
+ if ( ! $post_id ) {
353
+ do_action( 'wpuf_add_post_form_top', $form_id, $this->form_settings );
354
+ } else {
355
+ do_action( 'wpuf_edit_post_form_top', $form_id, $post_id, $this->form_settings );
356
+ }
357
 
358
+ if ( ! is_user_logged_in() && $this->form_settings['guest_post'] == 'true' && $this->form_settings['guest_details'] == 'true' ) {
359
+ $this->guest_fields( $this->form_settings );
360
+ }
361
 
362
  wpuf()->fields->render_fields( $this->form_fields, $form_id, $atts, $type = 'post', $post_id );
363
 
364
  $this->submit_button( $form_id, $this->form_settings, $post_id );
365
 
366
+ if ( ! $post_id ) {
367
+ do_action( 'wpuf_add_post_form_bottom', $form_id, $this->form_settings );
368
+ } else {
369
+ do_action( 'wpuf_edit_post_form_bottom', $form_id, $post_id, $this->form_settings );
370
+ }
371
 
372
  ?>
373
 
376
  </form>
377
 
378
  <?php
379
+ } //endif
 
380
 
381
  do_action( 'wpuf_after_form_render', $form_id );
382
  }
403
  $taxonomy_templates = [];
404
 
405
  foreach ( $this->wp_post_types as $post_type => $taxonomies ) {
406
+ if ( ! empty( $taxonomies ) ) {
407
  foreach ( $taxonomies as $tax_name => $taxonomy ) {
408
  if ( 'post_tag' === $tax_name ) {
409
  // $taxonomy_templates['post_tag'] = self::post_tags();
410
  $taxonomy_templates['post_tags'] = new WPUF_Form_Field_Post_Tags();
411
  } else {
412
  // $taxonomy_templates[ $tax_name ] = self::taxonomy_template( $tax_name, $taxonomy );
413
+ $taxonomy_templates['taxonomy'] = new WPUF_Form_Field_Post_Taxonomy( $tax_name, $taxonomy );
414
  }
415
  }
416
  }
433
  // username from email address
434
  $username = sanitize_user( substr( $email, 0, strpos( $email, '@' ) ) );
435
 
436
+ if ( ! username_exists( $username ) ) {
437
  return $username;
438
  }
439
 
441
  // and may be we got our username
442
  $username .= rand( 1, 199 );
443
 
444
+ if ( ! username_exists( $username ) ) {
445
  return $username;
446
  }
447
  }
458
 
459
  $wpuf_post_types = wpuf_get_post_types( $args );
460
 
461
+ $ignore_taxonomies = apply_filters(
462
+ 'wpuf-ignore-taxonomies', [
463
+ 'post_format',
464
+ ]
465
+ );
466
 
467
  foreach ( $wpuf_post_types as $post_type ) {
468
  $this->wp_post_types[ $post_type ] = [];
470
  $taxonomies = get_object_taxonomies( $post_type, 'object' );
471
 
472
  foreach ( $taxonomies as $tax_name => $taxonomy ) {
473
+ if ( ! in_array( $tax_name, $ignore_taxonomies ) ) {
474
  $this->wp_post_types[ $post_type ][ $tax_name ] = [
475
  'title' => $taxonomy->label,
476
  'hierarchical' => $taxonomy->hierarchical,
477
  ];
478
 
479
+ $this->wp_post_types[ $post_type ][ $tax_name ]['terms'] = get_terms(
480
+ [
481
+ 'taxonomy' => $tax_name,
482
+ 'hide_empty' => false,
483
+ ]
484
+ );
485
  }
486
  }
487
  }
495
  * @return array
496
  */
497
  public function get_input_fields( $form_vars ) {
498
+ $ignore_lists = [ 'section_break', 'html' ];
499
  $post_vars = $meta_vars = $taxonomy_vars = [];
500
 
501
  foreach ( $form_vars as $key => $value ) {
504
  $inner_fields = $value['inner_fields'];
505
 
506
  foreach ( $inner_fields as $column_key => $column_fields ) {
507
+ if ( ! empty( $column_fields ) ) {
508
  // ignore section break and HTML input type
509
  foreach ( $column_fields as $column_field_key => $column_field ) {
510
  if ( in_array( $column_field['input_type'], $ignore_lists ) ) {
558
  }
559
  }
560
 
561
+ return [ $post_vars, $taxonomy_vars, $meta_vars ];
562
  }
563
 
564
  /**
573
  $woo_attr = [];
574
 
575
  foreach ( $taxonomy_vars as $taxonomy ) {
576
+ if ( isset( $_POST[ $taxonomy['name'] ] ) && is_array( $_POST[ $taxonomy['name'] ] ) ) {
577
+ $taxonomy_name = array_map( 'sanitize_text_field', wp_unslash( $_POST[ $taxonomy['name'] ] ) );
578
  }
579
 
580
+ if ( isset( $_POST[ $taxonomy['name'] ] ) && ! is_array( $_POST[ $taxonomy['name'] ] ) ) {
581
+ $taxonomy_name = sanitize_text_field( wp_unslash( $_POST[ $taxonomy['name'] ] ) );
582
 
583
  if ( 'text' === $taxonomy['type'] ) {
584
  $terms = explode( ',', $taxonomy_name );
585
+ $terms = array_map(
586
+ function ( $term_name ) use ( $taxonomy ) {
587
+ $term = get_term_by( 'name', $term_name, $taxonomy['name'] );
 
 
 
 
 
 
588
 
589
+ if ( empty( $term_name ) ) {
590
+ return null;
591
+ }
592
 
593
+ if ( $term instanceof WP_Term ) {
594
+ return $term->term_id;
595
+ }
596
 
597
+ $new_term = wp_insert_term( $term_name, $taxonomy['name'] );
598
 
599
+ return $new_term['term_id'];
600
+ }, $terms
601
+ );
602
 
603
  $taxonomy_name = array_filter( $terms );
604
  }
605
  }
606
 
607
  // At this point $taxonomy_name should be a single id or array of ids
608
+ if ( isset( $taxonomy_name ) && $taxonomy_name != 0 && $taxonomy_name != -1 ) {
609
  if ( is_object_in_taxonomy( $this->form_settings['post_type'], $taxonomy['name'] ) ) {
610
  $tax = $taxonomy_name;
611
  // if it's not an array, make it one
612
+ if ( ! is_array( $tax ) ) {
613
  $tax = [ $tax ];
614
  }
615
 
617
  wp_set_object_terms( $post_id, $taxonomy_name, $taxonomy['name'] );
618
 
619
  // woocommerce check
620
+ if ( isset( $taxonomy['woo_attr'] ) && $taxonomy['woo_attr'] == 'yes' && ! empty( $taxonomy_name ) ) {
621
+ $woo_attr[ $taxonomy['name'] ] = $this->woo_attribute( $taxonomy );
622
  }
623
  } else {
624
  if ( is_taxonomy_hierarchical( $taxonomy['name'] ) ) {
625
  wp_set_post_terms( $post_id, $taxonomy_name, $taxonomy['name'] );
626
 
627
  // woocommerce check
628
+ if ( isset( $taxonomy['woo_attr'] ) && $taxonomy['woo_attr'] == 'yes' && ! empty( $taxonomy_name ) ) {
629
+ $woo_attr[ $taxonomy['name'] ] = $this->woo_attribute( $taxonomy );
630
  }
631
  } else {
632
  if ( $tax ) {
635
  foreach ( $tax as $value ) {
636
  $term = get_term_by( 'id', $value, $taxonomy['name'] );
637
 
638
+ if ( $term && ! is_wp_error( $term ) ) {
639
  $non_hierarchical[] = $term->name;
640
  }
641
  }
643
  wp_set_post_terms( $post_id, $non_hierarchical, $taxonomy['name'] );
644
 
645
  // woocommerce check
646
+ if ( isset( $taxonomy['woo_attr'] ) && $taxonomy['woo_attr'] == 'yes' && ! empty( $_POST[ $taxonomy['name'] ] ) ) {
647
+ $woo_attr[ $taxonomy['name'] ] = $this->woo_attribute( $taxonomy );
648
  }
649
  }
650
  } // hierarchical
652
  } // is object tax
653
  } // isset tax
654
 
655
+ else {
656
+ if ( ! isset( $taxonomy['woo_attr'] ) ) {
657
+ $this->set_default_taxonomy( $post_id );
 
658
  }
659
+ }
660
  }
661
 
662
  // if a woocommerce attribute
672
  $post_taxonomies = get_object_taxonomies( $this->form_settings['post_type'], 'objects' );
673
  foreach ( $post_taxonomies as $tax ) {
674
  if ( $tax->hierarchical ) {
675
+ $name = 'default_' . $tax->name;
676
+ if ( isset( $this->form_settings[ $name ] ) && ! empty( $this->form_settings[ $name ] ) ) {
677
+ $value = $this->form_settings[ $name ];
678
  wp_set_post_terms( $post_id, $value, $tax->name );
679
  }
680
  }
703
  $wpuf_field = wpuf()->fields->get_field( $value['template'] );
704
  $posted_field_data = isset( $post_data[ $value['name'] ] ) ? $post_data[ $value['name'] ] : null;
705
 
706
+ if ( isset( $posted_field_data ) && method_exists( $wpuf_field, 'sanitize_field_data' ) ) {
707
+ $meta_key_value[ $value['name'] ] = $wpuf_field->sanitize_field_data( $posted_field_data, $value );
708
  continue;
709
+ } elseif ( isset( $post_data[ $value['name'] ] ) && is_array( $post_data[ $value['name'] ] ) ) {
710
+ $value_name = isset( $post_data[ $value['name'] ] ) ? array_map( 'sanitize_text_field', wp_unslash( $post_data[ $value['name'] ] ) ) : '';
711
  } else {
712
+ $value_name = isset( $post_data[ $value['name'] ] ) ? sanitize_text_field( wp_unslash( $post_data[ $value['name'] ] ) ) : '';
713
  }
714
 
715
+ if ( isset( $post_data['wpuf_files'][ $value['name'] ] ) ) {
716
+ $wpuf_files = isset( $post_data['wpuf_files'] ) ? array_map( 'sanitize_text_field', wp_unslash( $post_data['wpuf_files'][ $value['name'] ] ) ) : [];
717
  } else {
718
  $wpuf_files = [];
719
  }
723
  // put files in a separate array, we'll process it later
724
  case 'file_upload':
725
  case 'image_upload':
 
726
  $files[] = [
727
  'name' => $value['name'],
728
  // 'value' => $wpuf_files[$value['name']],
732
  break;
733
 
734
  case 'repeat':
735
+ $repeater_value = wp_unslash( $_POST[ $value['name'] ] ); // WPCS: sanitization ok.
736
 
737
  // if it is a multi column repeat field
738
  if ( isset( $value['multiple'] ) && $value['multiple'] == 'true' ) {
739
 
740
  // if there's any items in the array, process it
741
  if ( $repeater_value ) {
 
742
  $ref_arr = array();
743
  $cols = count( $value['columns'] );
744
  $first = array_shift( array_values( $repeater_value ) ); //first element
745
  $rows = count( $first );
746
 
747
  // loop through columns
748
+ for ( $i = 0; $i < $rows; $i++ ) {
749
 
750
  // loop through the rows and store in a temp array
751
  $temp = array();
752
+ for ( $j = 0; $j < $cols; $j++ ) {
753
+ $temp[] = $repeater_value[ $j ][ $i ];
 
754
  }
755
 
756
  // store all fields in a row with self::$separator separated
759
 
760
  // now, if we found anything in $ref_arr, store to $multi_repeated
761
  if ( $ref_arr ) {
762
+ $multi_repeated[ $value['name'] ] = array_slice( $ref_arr, 0, $rows );
763
  }
764
  }
765
  } else {
766
+ $meta_key_value[ $value['name'] ] = implode( self::$separator, $repeater_value );
767
  }
768
 
769
  break;
770
 
771
  case 'address':
 
772
  if ( is_array( $value_name ) ) {
773
  foreach ( $value_name as $address_field => $field_value ) {
774
  $meta_key_value[ $value['name'] ][ $address_field ] = sanitize_text_field( $field_value );
781
  case 'email':
782
  case 'number':
783
  case 'date':
784
+ $meta_key_value[ $value['name'] ] = $value_name;
 
785
 
786
  break;
787
 
788
  case 'textarea':
789
  $allowed_tags = wp_kses_allowed_html( 'post' );
790
+ $meta_key_value[ $value['name'] ] = wp_kses( $value_name, $allowed_tags );
791
 
792
  break;
793
 
795
  $data = [];
796
  $map_field_data = $value_name;
797
 
798
+ if ( ! empty( $map_field_data ) ) {
799
+ if ( stripos( $map_field_data, '||' ) !== false ) {
800
+ list( $data['address'], $data['lat'], $data['lng'] ) = explode( ' || ', $map_field_data );
801
+ $meta_key_value[ $value['name'] ] = $data;
802
+ } else {
803
+ $meta_key_value[ $value['name'] ] = json_decode( $map_field_data, true );
804
+ }
805
  }
806
  break;
807
 
808
  case 'checkbox':
809
  if ( count( $value_name ) > 1 ) {
810
+ $meta_key_value[ $value['name'] ] = implode( self::$separator, $value_name );
811
  } else {
812
  $meta_key_value[ $value['name'] ] = $value_name[0];
813
  }
815
 
816
  default:
817
  // if it's an array, implode with this->separator
818
+ if ( ! empty( $value_name ) && is_array( $value_name ) ) {
819
  $acf_compatibility = wpuf_get_option( 'wpuf_compatibility_acf', 'wpuf_general', 'no' );
820
 
821
  if ( $value['input_type'] == 'address' ) {
822
+ $meta_key_value[ $value['name'] ] = $value_name;
823
+ } elseif ( ! empty( $acf_compatibility ) && $acf_compatibility == 'yes' ) {
824
+ $meta_key_value[ $value['name'] ] = $value_name;
825
  } else {
826
+ $meta_key_value[ $value['name'] ] = implode( self::$separator, $value_name );
827
  }
828
+ } elseif ( ! empty( $value_name ) ) {
829
+ $meta_key_value[ $value['name'] ] = trim( $value_name );
830
  } else {
831
+ $meta_key_value[ $value['name'] ] = trim( $value_name );
832
  }
833
 
834
  break;
835
  }
836
  } //end foreach
837
+ return [ $meta_key_value, $multi_repeated, $files ];
838
  }
839
 
840
  /**
845
  * @return void
846
  */
847
  public function on_edit_no_check_recaptcha( $post_vars ) {
 
848
  check_ajax_referer( 'wpuf_form_add' );
849
  // search if rs captcha is there
850
  if ( $this->search( $post_vars, 'input_type', 'really_simple_captcha' ) ) {
853
  $no_captcha = $invisible_captcha = $recaptcha_type = '';
854
  $check_recaptcha = $this->search( $post_vars, 'input_type', 'recaptcha' );
855
 
856
+ if ( ! empty( $check_recaptcha ) ) {
857
+ $recaptcha_type = $check_recaptcha[0]['recaptcha_type'];
858
  }
859
  // check recaptcha
860
  if ( $check_recaptcha ) {
includes/fields/class-field-post-taxonomy.php CHANGED
@@ -238,7 +238,7 @@ class WPUF_Form_Field_Post_Taxonomy extends WPUF_Field_Contract {
238
  </div>
239
  <?php
240
  } else {
241
- if ( $this->field_settings['type'] === 'ajax' && $this->field_settings['exclude_type'] === 'child_of' ) {
242
  $level = 0;
243
  ?>
244
  <div id="lvl<?php echo esc_attr( $level ); ?>" level="<?php echo esc_attr( $level ); ?>" >
@@ -253,7 +253,7 @@ class WPUF_Form_Field_Post_Taxonomy extends WPUF_Field_Contract {
253
  );
254
 
255
  $child_of = $this->field_settings['exclude'];
256
- $selected = count( $this->terms ) === 1 ? $child_of[ array_search( $this->terms[0]->term_id, $child_of, true ) ] : $child_of[ count( $child_of ) - 1 ];
257
  $tax_args = [
258
  'show_option_none' => __( '-- Select --', 'wp-user-frontend' ),
259
  'hierarchical' => 1,
238
  </div>
239
  <?php
240
  } else {
241
+ if ( $this->field_settings['type'] === 'ajax' ) {
242
  $level = 0;
243
  ?>
244
  <div id="lvl<?php echo esc_attr( $level ); ?>" level="<?php echo esc_attr( $level ); ?>" >
253
  );
254
 
255
  $child_of = $this->field_settings['exclude'];
256
+ $selected = count( $this->terms ) !== 1 ? $child_of[ array_search( $this->terms[0]->term_id, $child_of, true ) ] : $child_of[ count( $child_of ) - 1 ];
257
  $tax_args = [
258
  'show_option_none' => __( '-- Select --', 'wp-user-frontend' ),
259
  'hierarchical' => 1,
languages/wp-user-frontend.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP User Frontend 3.5.17\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2021-06-09 17:50:42+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -161,7 +161,7 @@ msgid "Duration"
161
  msgstr ""
162
 
163
  #: admin/class-admin-subscription.php:226
164
- #: admin/class-admin-subscription.php:596 class/frontend-account.php:289
165
  #: class/subscription.php:927 includes/class-user-subscription.php:305
166
  #: templates/subscriptions/pack-details.php:24
167
  msgid "Free"
@@ -284,7 +284,7 @@ msgstr ""
284
  msgid "For each %s %s"
285
  msgstr ""
286
 
287
- #: admin/class-admin-subscription.php:601 class/frontend-account.php:295
288
  #. translators: %s: number of installments
289
  msgid ", for %s installments"
290
  msgstr ""
@@ -329,7 +329,7 @@ msgstr ""
329
 
330
  #: admin/class-admin-subscription.php:774
331
  #: admin/form-builder/class-wpuf-admin-form-builder.php:284
332
- #: class/payment.php:224 class/subscription.php:825
333
  #: includes/class-list-table-subscribers.php:138 lib/appsero/Insights.php:764
334
  #: templates/dashboard/subscription.php:64
335
  msgid "Cancel"
@@ -339,7 +339,8 @@ msgstr ""
339
  msgid "Select Package:"
340
  msgstr ""
341
 
342
- #: admin/class-admin-subscription.php:783
 
343
  msgid "&mdash; Select &mdash;"
344
  msgstr ""
345
 
@@ -365,7 +366,7 @@ msgstr ""
365
 
366
  #: admin/class-tools.php:43 admin/class-tools.php:106
367
  #: admin/post-forms-list-table.php:43 class/transactions-list-table.php:90
368
- #: includes/class-list-table-subscribers.php:136 wpuf-functions.php:3331
369
  msgid "All"
370
  msgstr ""
371
 
@@ -832,7 +833,7 @@ msgid "Taxonomies"
832
  msgstr ""
833
 
834
  #: admin/form.php:435 admin/html/form-settings-post.php:22
835
- #: class/render-form.php:758 includes/class-frontend-render-form.php:179
836
  msgid "Save Draft"
837
  msgstr ""
838
 
@@ -1414,649 +1415,689 @@ msgid "Contact Support"
1414
  msgstr ""
1415
 
1416
  #: admin/html/whats-new.php:9
1417
- msgid "Preview page added for post form and registration form"
1418
  msgstr ""
1419
 
1420
  #: admin/html/whats-new.php:13
1421
- msgid "Post types menu on account page added"
1422
  msgstr ""
1423
 
1424
  #: admin/html/whats-new.php:17
1425
- msgid "Dashboard shortcode attributes enhanced"
1426
  msgstr ""
1427
 
1428
  #: admin/html/whats-new.php:21
1429
- msgid "Account page post type list new design"
1430
  msgstr ""
1431
 
1432
  #: admin/html/whats-new.php:25
1433
- msgid "Payment page restricted from direct unauthenticated access"
1434
  msgstr ""
1435
 
1436
  #: admin/html/whats-new.php:29
1437
- msgid "Timepicker conflict with dokan handled"
1438
  msgstr ""
1439
 
1440
  #: admin/html/whats-new.php:33
1441
- msgid "Trial inconsistency with paypal fixed"
1442
  msgstr ""
1443
 
1444
  #: admin/html/whats-new.php:37
1445
- msgid "Subscription does not cancel with paypal due to profile missing id"
1446
  msgstr ""
1447
 
1448
  #: admin/html/whats-new.php:41
1449
- msgid "Subscription email notification inconsistency fixed"
1450
  msgstr ""
1451
 
1452
  #: admin/html/whats-new.php:45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1453
  msgid "Various issues on payment page for non-logged in user handled"
1454
  msgstr ""
1455
 
1456
- #: admin/html/whats-new.php:49
1457
  msgid "Column inner field cloning inconsistency fixed"
1458
  msgstr ""
1459
 
1460
- #: admin/html/whats-new.php:53
1461
  msgid "Popup z-index changed due to other plugin z-index"
1462
  msgstr ""
1463
 
1464
- #: admin/html/whats-new.php:65
1465
  msgid "Added Mauritian Rupee for currency"
1466
  msgstr ""
1467
 
1468
- #: admin/html/whats-new.php:69
1469
  msgid "Added eid promotional offer notice"
1470
  msgstr ""
1471
 
1472
- #: admin/html/whats-new.php:73
1473
  msgid "Multiple google map validation for same form"
1474
  msgstr ""
1475
 
1476
- #: admin/html/whats-new.php:77
1477
  msgid "Various issues on verification, autologin payments & address field"
1478
  msgstr ""
1479
 
1480
- #: admin/html/whats-new.php:81
1481
  msgid "Docs update for file & attachments feature which is pro only"
1482
  msgstr ""
1483
 
1484
- #: admin/html/whats-new.php:92
1485
  msgid "Overflow footer on form builder page"
1486
  msgstr ""
1487
 
1488
- #: admin/html/whats-new.php:96
1489
  msgid "WordPress 5.7 compatibility"
1490
  msgstr ""
1491
 
1492
- #: admin/html/whats-new.php:100
1493
  msgid "Limited time promotion for weDevs birthday"
1494
  msgstr ""
1495
 
1496
- #: admin/html/whats-new.php:111
1497
  msgid "Meta key will not change if label update"
1498
  msgstr ""
1499
 
1500
- #: admin/html/whats-new.php:115
1501
  msgid "Login redirect empty previous url"
1502
  msgstr ""
1503
 
1504
- #: admin/html/whats-new.php:119
1505
  msgid "Email doesnt set as username"
1506
  msgstr ""
1507
 
1508
- #: admin/html/whats-new.php:123
1509
  msgid "Post redirection to payment doesn't work"
1510
  msgstr ""
1511
 
1512
- #: admin/html/whats-new.php:127
1513
  msgid "Address field not working when used with conditional logic"
1514
  msgstr ""
1515
 
1516
- #: admin/html/whats-new.php:131
1517
  msgid "Ajax type category child of not working"
1518
  msgstr ""
1519
 
1520
- #: admin/html/whats-new.php:135
1521
  msgid "Non recurring subscription did not work"
1522
  msgstr ""
1523
 
1524
- #: admin/html/whats-new.php:146
1525
  msgid "Menu position has chenged due to dokan has same menu position"
1526
  msgstr ""
1527
 
1528
- #: admin/html/whats-new.php:150
1529
  msgid "Drag and drop not working properly for new field"
1530
  msgstr ""
1531
 
1532
- #: admin/html/whats-new.php:161
1533
  msgid "QR and math captcha added to pro feature list"
1534
  msgstr ""
1535
 
1536
- #: admin/html/whats-new.php:165
1537
  msgid "Tooltip for category navigate"
1538
  msgstr ""
1539
 
1540
- #: admin/html/whats-new.php:169
1541
  msgid "Understandable guest payment notice"
1542
  msgstr ""
1543
 
1544
- #: admin/html/whats-new.php:173
1545
  msgid "Paypal non recurring pack id does not set"
1546
  msgstr ""
1547
 
1548
- #: admin/html/whats-new.php:184
1549
  msgid "Once trial subscription is used, it couldn't reset"
1550
  msgstr ""
1551
 
1552
- #: admin/html/whats-new.php:188
1553
  msgid "Subscription cancel doesn't work"
1554
  msgstr ""
1555
 
1556
- #: admin/html/whats-new.php:192
1557
  msgid "The tax rate was not calculated with the total amount"
1558
  msgstr ""
1559
 
1560
- #: admin/html/whats-new.php:196
1561
  msgid "The width of the column field was breaking"
1562
  msgstr ""
1563
 
1564
- #: admin/html/whats-new.php:200
1565
  msgid "Paypal recurring payment"
1566
  msgstr ""
1567
 
1568
- #: admin/html/whats-new.php:211
1569
  msgid "Updated codebase to fix timezone mismatch"
1570
  msgstr ""
1571
 
1572
- #: admin/html/whats-new.php:222
1573
  msgid "Custom html content field's width"
1574
  msgstr ""
1575
 
1576
- #: admin/html/whats-new.php:226
1577
  msgid "All states of New Zealand are added"
1578
  msgstr ""
1579
 
1580
- #: admin/html/whats-new.php:237
1581
  msgid "Get appropriate user id when role based conditions are present"
1582
  msgstr ""
1583
 
1584
- #: admin/html/whats-new.php:241
1585
  msgid "Show Invalid subscription message if wrong pack id passed"
1586
  msgstr ""
1587
 
1588
- #: admin/html/whats-new.php:245
1589
  msgid "URL field new window not working"
1590
  msgstr ""
1591
 
1592
- #: admin/html/whats-new.php:249
1593
  msgid "Option label not working when & use"
1594
  msgstr ""
1595
 
1596
- #: admin/html/whats-new.php:253
1597
  msgid "Ajax type category not showing on edit"
1598
  msgstr ""
1599
 
1600
- #: admin/html/whats-new.php:257
1601
  msgid "Multiple file image can't select"
1602
  msgstr ""
1603
 
1604
- #: admin/html/whats-new.php:261
1605
  msgid "Subscription pack PayPal Checkout gets \"Error: Access Denied\""
1606
  msgstr ""
1607
 
1608
- #: admin/html/whats-new.php:265
1609
  msgid "Conflict image field with acf image field"
1610
  msgstr ""
1611
 
1612
- #: admin/html/whats-new.php:269
1613
  msgid "Missing Auckland State for New Zealand country"
1614
  msgstr ""
1615
 
1616
- #: admin/html/whats-new.php:273
1617
  msgid "Added support for WooCommerce product category value replacemen"
1618
  msgstr ""
1619
 
1620
- #: admin/html/whats-new.php:283
1621
  msgid "Add character restriction feature"
1622
  msgstr ""
1623
 
1624
- #: admin/html/whats-new.php:287
1625
  msgid "Make sure post author edit link works only in frontend"
1626
  msgstr ""
1627
 
1628
- #: admin/html/whats-new.php:291
1629
  msgid "Inconsistency in lost password reset email message"
1630
  msgstr ""
1631
 
1632
- #: admin/html/whats-new.php:295
1633
  msgid "Saving custom taxonomy terms when input type is text"
1634
  msgstr ""
1635
 
1636
- #: admin/html/whats-new.php:299
1637
  msgid "Taxonomy field JS error in builder"
1638
  msgstr ""
1639
 
1640
- #: admin/html/whats-new.php:303
1641
  msgid "Showing WPUF edit link for WP default roles"
1642
  msgstr ""
1643
 
1644
- #: admin/html/whats-new.php:307
1645
  msgid "Upload button unresponsive issue in iOS"
1646
  msgstr ""
1647
 
1648
- #: admin/html/whats-new.php:317
1649
  msgid "Add post edit link for post authors in single or archive pages"
1650
  msgstr ""
1651
 
1652
- #: admin/html/whats-new.php:321
1653
  msgid "Enhance post delete message"
1654
  msgstr ""
1655
 
1656
- #: admin/html/whats-new.php:325
1657
  msgid "Refactor control buttons visibility in form builder"
1658
  msgstr ""
1659
 
1660
- #: admin/html/whats-new.php:329
1661
  msgid "Add missing colons after field label"
1662
  msgstr ""
1663
 
1664
- #: admin/html/whats-new.php:333
1665
  msgid "Post edit map capability condition"
1666
  msgstr ""
1667
 
1668
- #: admin/html/whats-new.php:337
1669
  msgid "Role based permission for accessing a post form"
1670
  msgstr ""
1671
 
1672
- #: admin/html/whats-new.php:341
1673
  msgid "Section-break field alignment"
1674
  msgstr ""
1675
 
1676
- #: admin/html/whats-new.php:345
1677
  msgid "Pay per post doesn't work if subscription pack is activated"
1678
  msgstr ""
1679
 
1680
- #: admin/html/whats-new.php:349
1681
  msgid "Mime type for uploading JSON files"
1682
  msgstr ""
1683
 
1684
- #: admin/html/whats-new.php:353
1685
  msgid "File upload with same file name"
1686
  msgstr ""
1687
 
1688
- #: admin/html/whats-new.php:357
1689
  msgid "Post preview missing fields"
1690
  msgstr ""
1691
 
1692
- #: admin/html/whats-new.php:361
1693
  msgid "Illigal variable declartion"
1694
  msgstr ""
1695
 
1696
- #: admin/html/whats-new.php:365
1697
  msgid "Featured image updating issue"
1698
  msgstr ""
1699
 
1700
- #: admin/html/whats-new.php:369
1701
  msgid "Conflict with Phlox theme"
1702
  msgstr ""
1703
 
1704
- #: admin/html/whats-new.php:373
1705
  msgid "Textarea custom field data sanitization"
1706
  msgstr ""
1707
 
1708
- #: admin/html/whats-new.php:377
1709
  msgid "exclude_type warning in wpuf_category_checklist"
1710
  msgstr ""
1711
 
1712
- #: admin/html/whats-new.php:381
1713
  msgid "Category field not showing all child categories for selection type child of"
1714
  msgstr ""
1715
 
1716
- #: admin/html/whats-new.php:385
1717
  msgid "Conflict between image and file upload custom fields"
1718
  msgstr ""
1719
 
1720
- #: admin/html/whats-new.php:389
1721
  msgid "Login url when login page is not set"
1722
  msgstr ""
1723
 
1724
- #: admin/html/whats-new.php:399
1725
  msgid ""
1726
  "Use common names for Ivory Coast, North Korea and Sourth Korea instead of "
1727
  "their official names"
1728
  msgstr ""
1729
 
1730
- #: admin/html/whats-new.php:403
1731
  msgid "Fix condition to use default avatar"
1732
  msgstr ""
1733
 
1734
- #: admin/html/whats-new.php:407
1735
  msgid "Make Email and URL fields clickable"
1736
  msgstr ""
1737
 
1738
- #: admin/html/whats-new.php:411
1739
  msgid "Fix redirect after user login"
1740
  msgstr ""
1741
 
1742
- #: admin/html/whats-new.php:415
1743
  msgid "Sanitize textarea field data"
1744
  msgstr ""
1745
 
1746
- #: admin/html/whats-new.php:419
1747
  msgid ""
1748
  "Fix missing colon to email, URL, text and textarea labels when renders "
1749
  "their data"
1750
  msgstr ""
1751
 
1752
- #: admin/html/whats-new.php:423
1753
  msgid "Prevent showing empty labels for fields that have render_field_data method"
1754
  msgstr ""
1755
 
1756
- #: admin/html/whats-new.php:433
1757
  msgid "Add Namibian Dollar in currency list"
1758
  msgstr ""
1759
 
1760
- #: admin/html/whats-new.php:437
1761
  msgid "Add sync values option for option data fields"
1762
  msgstr ""
1763
 
1764
- #: admin/html/whats-new.php:441
1765
  msgid "Allow uploading image that having filesize meets php ini settings"
1766
  msgstr ""
1767
 
1768
- #: admin/html/whats-new.php:445
1769
  msgid "Limit the selection of one image at a time"
1770
  msgstr ""
1771
 
1772
- #: admin/html/whats-new.php:449
1773
  msgid "Use file name and size to generate hash to prevent duplicant image upload"
1774
  msgstr ""
1775
 
1776
- #: admin/html/whats-new.php:453
1777
  msgid "Sanitize text and textarea field data"
1778
  msgstr ""
1779
 
1780
- #: admin/html/whats-new.php:457
1781
  msgid ""
1782
  "Show label instead of values for radio, checkbox, dropdown and multiselect "
1783
  "data"
1784
  msgstr ""
1785
 
1786
- #: admin/html/whats-new.php:461
1787
  msgid "Saving custom taxonomies for type text input"
1788
  msgstr ""
1789
 
1790
- #: admin/html/whats-new.php:465
1791
  msgid "Admin settings link for recaptcha helper text"
1792
  msgstr ""
1793
 
1794
- #: admin/html/whats-new.php:469
1795
  msgid "Undefined name property for Custom HTML fields"
1796
  msgstr ""
1797
 
1798
- #: admin/html/whats-new.php:473
1799
  msgid "Delete attachment process"
1800
  msgstr ""
1801
 
1802
- #: admin/html/whats-new.php:477
1803
  msgid "Missing billing address in invoice PDF"
1804
  msgstr ""
1805
 
1806
- #: admin/html/whats-new.php:481
1807
  msgid "Showing country field value in frontend post content"
1808
  msgstr ""
1809
 
1810
- #: admin/html/whats-new.php:485
1811
  msgid "Avatar size display not complying with admin settings size"
1812
  msgstr ""
1813
 
1814
- #: admin/html/whats-new.php:489
1815
  msgid "Display default avatars on admin settings discussion page"
1816
  msgstr ""
1817
 
1818
- #: admin/html/whats-new.php:493
1819
  msgid "Redirect to subscription page at registration"
1820
  msgstr ""
1821
 
1822
- #: admin/html/whats-new.php:497
1823
  msgid "Error notice regarding registration page redirect"
1824
  msgstr ""
1825
 
1826
- #: admin/html/whats-new.php:501
1827
  msgid "Escaping html in registration errors"
1828
  msgstr ""
1829
 
1830
- #: admin/html/whats-new.php:505
1831
  msgid "Default login redirect link"
1832
  msgstr ""
1833
 
1834
- #: admin/html/whats-new.php:509
1835
  msgid "Implementing default WP login page override option"
1836
  msgstr ""
1837
 
1838
- #: admin/html/whats-new.php:513
1839
  msgid "Transparent background of autosuggestion dropdown"
1840
  msgstr ""
1841
 
1842
- #: admin/html/whats-new.php:523
1843
  msgid "Import forms system"
1844
  msgstr ""
1845
 
1846
- #: admin/html/whats-new.php:527
1847
  msgid "Password reset system"
1848
  msgstr ""
1849
 
1850
- #: admin/html/whats-new.php:531
1851
  msgid "Updated url validation regex to support modern tlds"
1852
  msgstr ""
1853
 
1854
- #: admin/html/whats-new.php:535
1855
  msgid "Export WPUF forms individually from admin tools page"
1856
  msgstr ""
1857
 
1858
- #: admin/html/whats-new.php:539
1859
  msgid "Subscription cycle label translation issue"
1860
  msgstr ""
1861
 
1862
- #: admin/html/whats-new.php:543
1863
  msgid "ACF integration for checkbox fields"
1864
  msgstr ""
1865
 
1866
- #: admin/html/whats-new.php:547
1867
  msgid "Illegal string offset warning while updating settings"
1868
  msgstr ""
1869
 
1870
- #: admin/html/whats-new.php:551
1871
  msgid "Conditional logic for Section Break field"
1872
  msgstr ""
1873
 
1874
- #: admin/html/whats-new.php:555
1875
  msgid "Subscriptions cannot be deleted from backend"
1876
  msgstr ""
1877
 
1878
- #: admin/html/whats-new.php:559
1879
  msgid "A regression regarding saving checkbox data"
1880
  msgstr ""
1881
 
1882
- #: admin/html/whats-new.php:563
1883
  msgid "Default value of multi-select fields is not showing"
1884
  msgstr ""
1885
 
1886
- #: admin/html/whats-new.php:573
1887
  msgid "Hide post edit option when subscription is expired"
1888
  msgstr ""
1889
 
1890
- #: admin/html/whats-new.php:575
1891
  msgid "Hide post edit option from users whose subscription pack is expired."
1892
  msgstr ""
1893
 
1894
- #: admin/html/whats-new.php:578
1895
  msgid "Check files to prevent duplicity in media upload"
1896
  msgstr ""
1897
 
1898
- #: admin/html/whats-new.php:580
1899
  msgid ""
1900
  "A simple measure has been taken to prevent maliciously flooding the site by "
1901
  "uploading same file multiple times. Though this won't work with already "
1902
  "uploaded medias."
1903
  msgstr ""
1904
 
1905
- #: admin/html/whats-new.php:583
1906
  msgid "Refactor address fields in Account section"
1907
  msgstr ""
1908
 
1909
- #: admin/html/whats-new.php:585
1910
  msgid "Address edit section from Account section has been rewritten to improve UX."
1911
  msgstr ""
1912
 
1913
- #: admin/html/whats-new.php:588
1914
  msgid "Update Paypal payment gateway"
1915
  msgstr ""
1916
 
1917
- #: admin/html/whats-new.php:590
1918
  msgid "Paypal payment gateway has seen some improvements."
1919
  msgstr ""
1920
 
1921
- #: admin/html/whats-new.php:593
1922
  msgid "Default Category selection improvements"
1923
  msgstr ""
1924
 
1925
- #: admin/html/whats-new.php:595
1926
  msgid ""
1927
  "An intuitive way of selecting default category of a selected post type has "
1928
  "been introduced."
1929
  msgstr ""
1930
 
1931
- #: admin/html/whats-new.php:598
1932
  msgid "Compatibility issue with ACF date time field"
1933
  msgstr ""
1934
 
1935
- #: admin/html/whats-new.php:600
1936
  msgid "A Compatibility issue with ACF date time field has been addressed."
1937
  msgstr ""
1938
 
1939
- #: admin/html/whats-new.php:603
1940
  msgid "Media title, caption & description not saving"
1941
  msgstr ""
1942
 
1943
- #: admin/html/whats-new.php:605
1944
  msgid ""
1945
  "Media title, caption & description were not saving from frontend. They will "
1946
  "now."
1947
  msgstr ""
1948
 
1949
- #: admin/html/whats-new.php:608
1950
  msgid ""
1951
  "The Events Calendar venue and organizer fields issue in WPUF Custom Fields "
1952
  "metabox"
1953
  msgstr ""
1954
 
1955
- #: admin/html/whats-new.php:610
1956
  msgid ""
1957
  "A workaround has been introduced to save The Events Calendar Venue and "
1958
  "Organizer fields properly from WPUF Custom Fields metabox."
1959
  msgstr ""
1960
 
1961
- #: admin/html/whats-new.php:613
1962
  msgid "Checkbox data not saving from WPUF Custom Fields metabox"
1963
  msgstr ""
1964
 
1965
- #: admin/html/whats-new.php:615
1966
  msgid ""
1967
  "Checkboxe data from WPUF Custom Fields metabox were not saving. It has been "
1968
  "fixed."
1969
  msgstr ""
1970
 
1971
- #: admin/html/whats-new.php:618
1972
  msgid "Multi-column Repeater field data saving issue"
1973
  msgstr ""
1974
 
1975
- #: admin/html/whats-new.php:620
1976
  msgid ""
1977
  "Multi-column Repeater field data from a form was not saving. It has been "
1978
  "fixed."
1979
  msgstr ""
1980
 
1981
- #: admin/html/whats-new.php:623
1982
  msgid "Multistep form conflict with Elementor"
1983
  msgstr ""
1984
 
1985
- #: admin/html/whats-new.php:625
1986
  msgid "Multistep form had a conflict with Elementor. It has been fixed."
1987
  msgstr ""
1988
 
1989
- #: admin/html/whats-new.php:628
1990
  msgid "Multiple images showing issue in frontend"
1991
  msgstr ""
1992
 
1993
- #: admin/html/whats-new.php:630
1994
  msgid "Multiple images in a post were not showing in frontend. Now they will."
1995
  msgstr ""
1996
 
1997
- #: admin/html/whats-new.php:639
1998
  msgid "Nonce not verify on login"
1999
  msgstr ""
2000
 
2001
- #: admin/html/whats-new.php:641
2002
  msgid "Return of function wp_verify_nonce() was ignored."
2003
  msgstr ""
2004
 
2005
- #: admin/html/whats-new.php:650
2006
  msgid "Option to set which tab shows as active on the account page"
2007
  msgstr ""
2008
 
2009
- #: admin/html/whats-new.php:652
2010
  msgid ""
2011
  "Option to set which tab shows as active on the account page. To configure "
2012
  "this setting navigate to wp-admin->User Frontend->Settings->My "
2013
  "Account->Active Tab "
2014
  msgstr ""
2015
 
2016
- #: admin/html/whats-new.php:655
2017
  msgid "Unlock option was unavailable after the post being locked"
2018
  msgstr ""
2019
 
2020
- #: admin/html/whats-new.php:657
2021
  msgid "Unlock option was unavailable after the post being locked."
2022
  msgstr ""
2023
 
2024
- #: admin/html/whats-new.php:660
2025
  msgid "Gutenberg block of WPUF didn't work on bedrock installation"
2026
  msgstr ""
2027
 
2028
- #: admin/html/whats-new.php:662
2029
  msgid "Gutenberg block of WPUF didn't work on bedrock installation."
2030
  msgstr ""
2031
 
2032
- #: admin/html/whats-new.php:665
2033
  msgid "Sending admin payment received email twice"
2034
  msgstr ""
2035
 
2036
- #: admin/html/whats-new.php:667
2037
  msgid ""
2038
  "After processing payment admin & user was receiving payment received email "
2039
  "twice."
2040
  msgstr ""
2041
 
2042
- #: admin/html/whats-new.php:670
2043
  msgid ""
2044
  "Add shortcode support to display post information in the Post Expiration "
2045
  "Message"
2046
  msgstr ""
2047
 
2048
- #: admin/html/whats-new.php:672
2049
  msgid ""
2050
  "Add shortcode support to display post information in the Post Expiration "
2051
  "Message. You can use: <strong>{post_author} {post_url} {blogname} "
2052
  "{post_title} {post_status}</strong>"
2053
  msgstr ""
2054
 
2055
- #: admin/html/whats-new.php:675
2056
  msgid "Add optin on the setup wizard"
2057
  msgstr ""
2058
 
2059
- #: admin/html/whats-new.php:677
2060
  msgid ""
2061
  "Added optin on the setup wizard, admin can choose whether he/she wants to "
2062
  "share server environment details (php, mysql, server, WordPress versions), "
@@ -2064,126 +2105,126 @@ msgid ""
2064
  "name and url, admin name and email address. No sensitive data is tracked"
2065
  msgstr ""
2066
 
2067
- #: admin/html/whats-new.php:686
2068
  msgid "Post Owner problem"
2069
  msgstr ""
2070
 
2071
- #: admin/html/whats-new.php:688
2072
  msgid ""
2073
  "Posts were not assigned to the selected default post owner, this issue has "
2074
  "been fixed."
2075
  msgstr ""
2076
 
2077
- #: admin/html/whats-new.php:691
2078
  msgid "Google reCaptcha was not working"
2079
  msgstr ""
2080
 
2081
- #: admin/html/whats-new.php:693
2082
  msgid ""
2083
  "Google reCaptcha was not working, users could submit the form without "
2084
  "reCaptcha validation."
2085
  msgstr ""
2086
 
2087
- #: admin/html/whats-new.php:702
2088
  msgid "Added column field"
2089
  msgstr ""
2090
 
2091
- #: admin/html/whats-new.php:707
2092
  msgid "Unable to render the events on the front-end dashboard"
2093
  msgstr ""
2094
 
2095
- #: admin/html/whats-new.php:709
2096
  msgid ""
2097
  "On the frontend dashboard, the submitted events were not showing, you will "
2098
  "get it fixed in this version."
2099
  msgstr ""
2100
 
2101
- #: admin/html/whats-new.php:712
2102
  msgid "Page order getting 0(zero) after editing from the frontend"
2103
  msgstr ""
2104
 
2105
- #: admin/html/whats-new.php:714
2106
  msgid ""
2107
  "Page order was not saving while editing a post using WPUF form, it has been "
2108
  "fixed."
2109
  msgstr ""
2110
 
2111
- #: admin/html/whats-new.php:717
2112
  msgid "Text input field for taxonomies not working"
2113
  msgstr ""
2114
 
2115
- #: admin/html/whats-new.php:719
2116
  msgid ""
2117
  "When taxonomy field type is set to `Text Input` then a fatal error was "
2118
  "showing on the frontend, no error with taxonomy field in the latest version."
2119
  msgstr ""
2120
 
2121
- #: admin/html/whats-new.php:722
2122
  msgid ""
2123
  "In radio and checkbox field use conditional logic that value does not save "
2124
  "in database"
2125
  msgstr ""
2126
 
2127
- #: admin/html/whats-new.php:724
2128
  msgid ""
2129
  "The selected value of radio and checkbox field were not showing while "
2130
  "editing posts from the backend or frontend, you can see the selected value "
2131
  "in this version."
2132
  msgstr ""
2133
 
2134
- #: admin/html/whats-new.php:727
2135
  msgid "The args param not working with get_avatar filter"
2136
  msgstr ""
2137
 
2138
- #: admin/html/whats-new.php:729
2139
  msgid "The args parameter did not exist with get_avatar filter, which now exists."
2140
  msgstr ""
2141
 
2142
- #: admin/html/whats-new.php:732
2143
  msgid "The item in ajax taxonomy field was not selected"
2144
  msgstr ""
2145
 
2146
- #: admin/html/whats-new.php:734
2147
  msgid ""
2148
  "When the taxonomy field type is set to Ajax, the submitted terms were not "
2149
  "showing in the backend and frontend which have been fixed."
2150
  msgstr ""
2151
 
2152
- #: admin/html/whats-new.php:743
2153
  msgid "Unable to send new user registration email"
2154
  msgstr ""
2155
 
2156
- #: admin/html/whats-new.php:745
2157
  msgid ""
2158
  "WP User Frontend default registration form `[wpuf-registration]` was unable "
2159
  "to send the new user registration email."
2160
  msgstr ""
2161
 
2162
- #: admin/html/whats-new.php:748
2163
  msgid "WPUF forms block compatibility issue with the latest WP version"
2164
  msgstr ""
2165
 
2166
- #: admin/html/whats-new.php:750
2167
  msgid ""
2168
  "With the latest version of WordPress the gutenberg block of WP User "
2169
  "Frontend were not working. In this version, you will get it fixed."
2170
  msgstr ""
2171
 
2172
- #: admin/html/whats-new.php:753
2173
  msgid "Page not update where `[wpuf_dashboard]` shortcode exist"
2174
  msgstr ""
2175
 
2176
- #: admin/html/whats-new.php:755
2177
  msgid ""
2178
  "While using Gutenberg, the page were not being updated with WPUF shortcode "
2179
  "[wpuf dashboard]"
2180
  msgstr ""
2181
 
2182
- #: admin/html/whats-new.php:758
2183
  msgid "Retain default when determining whether to display the admin bar"
2184
  msgstr ""
2185
 
2186
- #: admin/html/whats-new.php:760
2187
  msgid ""
2188
  "From the User Frontend Settings, set that Administrator, Editor, Vendor can "
2189
  "see the admin bar. Now, the super admin want, one specific user ( who has "
@@ -2193,11 +2234,11 @@ msgid ""
2193
  "frontend."
2194
  msgstr ""
2195
 
2196
- #: admin/html/whats-new.php:763
2197
  msgid "Fatal error when use PHP lower version (5.4 or lower)"
2198
  msgstr ""
2199
 
2200
- #: admin/html/whats-new.php:765
2201
  msgid ""
2202
  "It was unable to install WP User Frontend with PHP 5.4 or lower version. "
2203
  "Here is the error details: <br><br><strong>Fatal error: Can't use method "
@@ -2205,42 +2246,42 @@ msgid ""
2205
  "/wp-user-frontend/class/frontend-form-post.php on line 194</strong>"
2206
  msgstr ""
2207
 
2208
- #: admin/html/whats-new.php:768
2209
  msgid "Product form was unable to show the single gallery image"
2210
  msgstr ""
2211
 
2212
- #: admin/html/whats-new.php:770
2213
  msgid ""
2214
  "When user upload single image for product gallery using WPUF WooCommerce "
2215
  "product form, that image were not showing on the frontend."
2216
  msgstr ""
2217
 
2218
- #: admin/html/whats-new.php:779
2219
  msgid "WooCommerce gallery images not getting saved"
2220
  msgstr ""
2221
 
2222
- #: admin/html/whats-new.php:781
2223
  msgid ""
2224
  "After releasing version 2.9.3, WooCommerce gallery image field stopped "
2225
  "working. You will get it fixed in this version."
2226
  msgstr ""
2227
 
2228
- #: admin/html/whats-new.php:790
2229
  msgid "The Events Calendar Integration Form"
2230
  msgstr ""
2231
 
2232
- #: admin/html/whats-new.php:792
2233
  msgid ""
2234
  "Now admin can allow users to create event from the frontend. Currently WPUF "
2235
  "has a one click pre-build event form that has been integrated with The "
2236
  "Events Calendar plugin"
2237
  msgstr ""
2238
 
2239
- #: admin/html/whats-new.php:795
2240
  msgid "Post Submission Facility From Account Page"
2241
  msgstr ""
2242
 
2243
- #: admin/html/whats-new.php:797
2244
  msgid ""
2245
  "On the frontend account page, added a new menu item named <b>Submit "
2246
  "Post</b>. Now admin can allow users to submit post from their default "
@@ -2249,504 +2290,504 @@ msgid ""
2249
  "you can assign any post form that will use to submit posts."
2250
  msgstr ""
2251
 
2252
- #: admin/html/whats-new.php:800
2253
  msgid "Login/Lost Password Link Under Registration Form"
2254
  msgstr ""
2255
 
2256
- #: admin/html/whats-new.php:802
2257
  msgid "Added Login/Lost Password link under registration form"
2258
  msgstr ""
2259
 
2260
- #: admin/html/whats-new.php:811
2261
  msgid "Added drag and drop image ordering on image upload"
2262
  msgstr ""
2263
 
2264
- #: admin/html/whats-new.php:813
2265
  msgid ""
2266
  "Now frontend users can drag & drop the images/files to change the order "
2267
  "while uploading."
2268
  msgstr ""
2269
 
2270
- #: admin/html/whats-new.php:816
2271
  msgid "Added reCAPTCHA field in login form"
2272
  msgstr ""
2273
 
2274
- #: admin/html/whats-new.php:818
2275
  msgid ""
2276
  "Admin has the option to show reCAPTCHA field in login form. Check the "
2277
  "related settings from <strong>User Frontend > Settings > "
2278
  "Login/Registration</strong>"
2279
  msgstr ""
2280
 
2281
- #: admin/html/whats-new.php:821
2282
  msgid "Added preview option in forms"
2283
  msgstr ""
2284
 
2285
- #: admin/html/whats-new.php:823
2286
  msgid ""
2287
  "You can see a nice <strong>Preview</strong> button with <strong>Save "
2288
  "Form</strong> button, admin can take a quick look of the form without using "
2289
  "shortcode"
2290
  msgstr ""
2291
 
2292
- #: admin/html/whats-new.php:826
2293
  msgid "Fixed hiding “Select Image” button while uploading multiple images."
2294
  msgstr ""
2295
 
2296
- #: admin/html/whats-new.php:828
2297
  msgid ""
2298
  "The upload button will not be hidden until the user selects max number of "
2299
  "files "
2300
  msgstr ""
2301
 
2302
- #: admin/html/whats-new.php:831
2303
  msgid "Added form limit notice before form submission"
2304
  msgstr ""
2305
 
2306
- #: admin/html/whats-new.php:833
2307
  msgid ""
2308
  "Limit notice message was showing after submission, now it is showing when "
2309
  "rendering the form"
2310
  msgstr ""
2311
 
2312
- #: admin/html/whats-new.php:836
2313
  msgid "Fixed: default post category not saving"
2314
  msgstr ""
2315
 
2316
- #: admin/html/whats-new.php:838
2317
  msgid ""
2318
  "From the form <strong>Settings > Post Settings</strong>, default post "
2319
  "category options were not saving. Now, it's fixed."
2320
  msgstr ""
2321
 
2322
- #: admin/html/whats-new.php:841
2323
  msgid ""
2324
  "WPUF dashboard shortcode with form_id attribute was not showing posts "
2325
  "properly"
2326
  msgstr ""
2327
 
2328
- #: admin/html/whats-new.php:843
2329
  msgid ""
2330
  "Now you can list posts on the frontend by using <strong>form_id<strong/> "
2331
  "attribute with <strong>[wpuf_dashboard]</strong> shortcode"
2332
  msgstr ""
2333
 
2334
- #: admin/html/whats-new.php:852
2335
  msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
2336
  msgstr ""
2337
 
2338
- #: admin/html/whats-new.php:854
2339
  msgid ""
2340
  "If you are using other language than English. Please <b>rename</b> your "
2341
  "<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
2342
  "change was made to support translations from translate.wordpress.org"
2343
  msgstr ""
2344
 
2345
- #: admin/html/whats-new.php:857
2346
  msgid "Added WP User Frontend Data export and erase functionality."
2347
  msgstr ""
2348
 
2349
- #: admin/html/whats-new.php:859
2350
  msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
2351
  msgstr ""
2352
 
2353
- #: admin/html/whats-new.php:862
2354
  msgid "Added billing address customizer."
2355
  msgstr ""
2356
 
2357
- #: admin/html/whats-new.php:864
2358
  msgid "Added customizer options for billing address in payment page."
2359
  msgstr ""
2360
 
2361
- #: admin/html/whats-new.php:867
2362
  msgid "Make the payment page responsive."
2363
  msgstr ""
2364
 
2365
- #: admin/html/whats-new.php:869
2366
  msgid "Some css adjustments are made in payment page to make it responsive."
2367
  msgstr ""
2368
 
2369
- #: admin/html/whats-new.php:872
2370
  msgid "Fixed image upload issue in Safari."
2371
  msgstr ""
2372
 
2373
- #: admin/html/whats-new.php:874
2374
  msgid "Images were not showing after upload in safari, it is fixed now."
2375
  msgstr ""
2376
 
2377
- #: admin/html/whats-new.php:877
2378
  msgid "Post update issue after updating or removing post images."
2379
  msgstr ""
2380
 
2381
- #: admin/html/whats-new.php:879
2382
  msgid ""
2383
  "Posts cannot be updated after updating or removing post images, it is fixed "
2384
  "now."
2385
  msgstr ""
2386
 
2387
- #: admin/html/whats-new.php:888
2388
  msgid "Allow overriding form input styles using theme styling."
2389
  msgstr ""
2390
 
2391
- #: admin/html/whats-new.php:890
2392
  msgid "Overriding form input styles using theme style is now possible."
2393
  msgstr ""
2394
 
2395
- #: admin/html/whats-new.php:893
2396
  msgid "Fixed Auto Login after registration."
2397
  msgstr ""
2398
 
2399
- #: admin/html/whats-new.php:895
2400
  msgid "Auto Login after registration was not working is fixed now."
2401
  msgstr ""
2402
 
2403
- #: admin/html/whats-new.php:898
2404
  msgid "Fixed fallback cost calculation"
2405
  msgstr ""
2406
 
2407
- #: admin/html/whats-new.php:900
2408
  msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
2409
  msgstr ""
2410
 
2411
- #: admin/html/whats-new.php:903
2412
  msgid "Removal of subscription from User Profile gets reverted if updated"
2413
  msgstr ""
2414
 
2415
- #: admin/html/whats-new.php:905
2416
  msgid "User subscription deletion gets reverted if updated is fixed."
2417
  msgstr ""
2418
 
2419
- #: admin/html/whats-new.php:908
2420
  msgid "Show Free pack users in subscribers list."
2421
  msgstr ""
2422
 
2423
- #: admin/html/whats-new.php:910
2424
  msgid "Free pack users were not showing in subscribers list, now they will."
2425
  msgstr ""
2426
 
2427
- #: admin/html/whats-new.php:919
2428
  msgid "WP User Frontend Guten Block is added"
2429
  msgstr ""
2430
 
2431
- #: admin/html/whats-new.php:921
2432
  msgid ""
2433
  "WPUF Form Block is now available to be used within gutenberg editor with "
2434
  "preview of the form. "
2435
  msgstr ""
2436
 
2437
- #: admin/html/whats-new.php:924
2438
  msgid "Advanced Custom Fields plugin compatibility"
2439
  msgstr ""
2440
 
2441
- #: admin/html/whats-new.php:926
2442
  msgid "Now all your ACF fields can be used within WPUF Post forms. "
2443
  msgstr ""
2444
 
2445
- #: admin/html/whats-new.php:929
2446
  msgid "Taxonomy Terms not showing for custom post types"
2447
  msgstr ""
2448
 
2449
- #: admin/html/whats-new.php:931
2450
  msgid ""
2451
  "Fixed an issue with taxonomy terms not appearing for Custom Post types "
2452
  "within Form Settings and Dashboard Post Listing"
2453
  msgstr ""
2454
 
2455
- #: admin/html/whats-new.php:934
2456
  msgid "Various other code optimizations"
2457
  msgstr ""
2458
 
2459
- #: admin/html/whats-new.php:936 admin/html/whats-new.php:993
2460
  msgid "Code structure organization and optimization for better performance"
2461
  msgstr ""
2462
 
2463
- #: admin/html/whats-new.php:945
2464
  msgid "WoooCommerce billing address Sync"
2465
  msgstr ""
2466
 
2467
- #: admin/html/whats-new.php:947
2468
  msgid ""
2469
  "If an existing customer has previously set his billing address, that will "
2470
  "be imported into WPUF Billing address "
2471
  msgstr ""
2472
 
2473
- #: admin/html/whats-new.php:950
2474
  msgid "Trial subscription message not showing properly"
2475
  msgstr ""
2476
 
2477
- #: admin/html/whats-new.php:952
2478
  msgid "Subscriptions with Trial now shows trial notices"
2479
  msgstr ""
2480
 
2481
- #: admin/html/whats-new.php:955
2482
  msgid "Reset email Key not working"
2483
  msgstr ""
2484
 
2485
- #: admin/html/whats-new.php:957
2486
  msgid "Reset Email key was not working in some cases"
2487
  msgstr ""
2488
 
2489
- #: admin/html/whats-new.php:960
2490
  msgid "Post count not showing on the frontend dashboard"
2491
  msgstr ""
2492
 
2493
- #: admin/html/whats-new.php:962
2494
  msgid ""
2495
  "Dashboard with multiple post type was not showing post counts properly, is "
2496
  "now fixed and shows count for each post type"
2497
  msgstr ""
2498
 
2499
- #: admin/html/whats-new.php:965
2500
  msgid "Login Redirect showing blank page is fixed"
2501
  msgstr ""
2502
 
2503
- #: admin/html/whats-new.php:967
2504
  msgid ""
2505
  "If \"Previous Page\" was set for redirection, login redirect was "
2506
  "redirecting to blank page for users who hit login page directly"
2507
  msgstr ""
2508
 
2509
- #: admin/html/whats-new.php:976
2510
  msgid "Enhanced Login Redirect to redirect users to previous page"
2511
  msgstr ""
2512
 
2513
- #: admin/html/whats-new.php:978
2514
  msgid ""
2515
  "You can choose Previous Page as Login Redirect page settings now to "
2516
  "redirect users to the page from which they went for Login. "
2517
  msgstr ""
2518
 
2519
- #: admin/html/whats-new.php:981
2520
  msgid "Email HTML links not Rendreing properly issue is fixed"
2521
  msgstr ""
2522
 
2523
- #: admin/html/whats-new.php:983
2524
  msgid ""
2525
  "For some clients emails were not rendering the HTML links properly, this is "
2526
  "now fixed"
2527
  msgstr ""
2528
 
2529
- #: admin/html/whats-new.php:986
2530
  msgid "Form Builder : Form Field's Help text styles not showing properly"
2531
  msgstr ""
2532
 
2533
- #: admin/html/whats-new.php:988
2534
  msgid "Help texts styling is now fixed and much easier to read and understand"
2535
  msgstr ""
2536
 
2537
- #: admin/html/whats-new.php:991
2538
  msgid "Various other code improvements"
2539
  msgstr ""
2540
 
2541
- #: admin/html/whats-new.php:1002
2542
  msgid "Dashboard Post Listing now supports multiple post types"
2543
  msgstr ""
2544
 
2545
- #: admin/html/whats-new.php:1004
2546
  msgid ""
2547
  "Now you can show multiple post type in user dashboard using shortcode like "
2548
  "this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
2549
  msgstr ""
2550
 
2551
- #: admin/html/whats-new.php:1007
2552
  msgid "Added Login Redirect Settings"
2553
  msgstr ""
2554
 
2555
- #: admin/html/whats-new.php:1009
2556
  msgid ""
2557
  "You can now set a page from <i>WPUF Settings > Login/Registration > "
2558
  "Redirect after Login</i>. When login redirection is active the user will be "
2559
  "redirected to this page after login."
2560
  msgstr ""
2561
 
2562
- #: admin/html/whats-new.php:1012
2563
  msgid "Image Upload field button text can be changed"
2564
  msgstr ""
2565
 
2566
- #: admin/html/whats-new.php:1014
2567
  msgid ""
2568
  "The upload button text can now be changed for image upload fields which "
2569
  "defaults to \"Select Image\" if not set. "
2570
  msgstr ""
2571
 
2572
- #: admin/html/whats-new.php:1017
2573
  msgid "Multi Step Form styles made compatible with more themes"
2574
  msgstr ""
2575
 
2576
- #: admin/html/whats-new.php:1019
2577
  msgid "Multi Step form can now be styled more easily with other themes "
2578
  msgstr ""
2579
 
2580
- #: admin/html/whats-new.php:1022
2581
  msgid "Required field condition for google map not working is fixed"
2582
  msgstr ""
2583
 
2584
- #: admin/html/whats-new.php:1024
2585
  msgid ""
2586
  "If Google Map field was set as required users were able to submit form "
2587
  "without changing the default value."
2588
  msgstr ""
2589
 
2590
- #: admin/html/whats-new.php:1033
2591
  msgid "Admin form builder is now fully responsive."
2592
  msgstr ""
2593
 
2594
- #: admin/html/whats-new.php:1035
2595
  msgid ""
2596
  "Now you can edit forms from your mobile devices directly. Our improved "
2597
  "responsive layouts of form builder makes it easy for you to build forms on "
2598
  "the go."
2599
  msgstr ""
2600
 
2601
- #: admin/html/whats-new.php:1038
2602
  msgid "Added color schemes for creating attractive form layouts."
2603
  msgstr ""
2604
 
2605
- #: admin/html/whats-new.php:1040
2606
  msgid ""
2607
  "We have added 3 new color schemes for the form layouts which you can choose "
2608
  "from each form's new display settings."
2609
  msgstr ""
2610
 
2611
- #: admin/html/whats-new.php:1043
2612
  msgid "Restrict Free subscription pack to be enabled multiple times "
2613
  msgstr ""
2614
 
2615
- #: admin/html/whats-new.php:1045
2616
  msgid ""
2617
  "Free subscription packs now can only be purchased once and the limit "
2618
  "applies properly"
2619
  msgstr ""
2620
 
2621
- #: admin/html/whats-new.php:1048
2622
  msgid "Various other bug fixes and improvements were made "
2623
  msgstr ""
2624
 
2625
- #: admin/html/whats-new.php:1050
2626
  msgid "Please see the change log to see full details."
2627
  msgstr ""
2628
 
2629
- #: admin/html/whats-new.php:1059
2630
  msgid "Added upgrade function for default category"
2631
  msgstr ""
2632
 
2633
- #: admin/html/whats-new.php:1061
2634
  msgid "Upgrader added to upgrade previously set default post category."
2635
  msgstr ""
2636
 
2637
- #: admin/html/whats-new.php:1064
2638
  msgid "Subscription pack cannot be canceled"
2639
  msgstr ""
2640
 
2641
- #: admin/html/whats-new.php:1066
2642
  msgid ""
2643
  "Fixed recurring subscription pack cannot be canceled from my account page "
2644
  "in subscription details section."
2645
  msgstr ""
2646
 
2647
- #: admin/html/whats-new.php:1069
2648
  msgid "page installer admin notice logic issue"
2649
  msgstr ""
2650
 
2651
- #: admin/html/whats-new.php:1071
2652
  msgid ""
2653
  "Fixed page installer admin notice logic problem due to new payment settings "
2654
  "default value not set."
2655
  msgstr ""
2656
 
2657
- #: admin/html/whats-new.php:1081
2658
  msgid "Setup Wizard"
2659
  msgstr ""
2660
 
2661
- #: admin/html/whats-new.php:1083
2662
  msgid "Setup Wizard added to turn off payment options and install pages."
2663
  msgstr ""
2664
 
2665
- #: admin/html/whats-new.php:1087
2666
  msgid "Multi-select Category"
2667
  msgstr ""
2668
 
2669
- #: admin/html/whats-new.php:1089
2670
  msgid "Add multi-select to default category in post form settings."
2671
  msgstr ""
2672
 
2673
- #: admin/html/whats-new.php:1093
2674
  msgid "Select Text option for Taxonomy"
2675
  msgstr ""
2676
 
2677
- #: admin/html/whats-new.php:1095
2678
  msgid ""
2679
  "Add Select Text option for taxonomy fields. Now you can add default text "
2680
  "with empty value as first option for Taxonomy dropdown."
2681
  msgstr ""
2682
 
2683
- #: admin/html/whats-new.php:1098
2684
  msgid "Taxonomy Checkbox Inline"
2685
  msgstr ""
2686
 
2687
- #: admin/html/whats-new.php:1100
2688
  msgid ""
2689
  "Added checkbox inline option to taxonomy checkbox. You can now display "
2690
  "Taxonomy checkbox fields inline."
2691
  msgstr ""
2692
 
2693
- #: admin/html/whats-new.php:1110
2694
  msgid "Manage schedule for form submission"
2695
  msgstr ""
2696
 
2697
- #: admin/html/whats-new.php:1112
2698
  msgid ""
2699
  "Do not accept form submission if the current date is not between the date "
2700
  "range of the schedule."
2701
  msgstr ""
2702
 
2703
- #: admin/html/whats-new.php:1116
2704
  msgid "Restrict form submission based on the user roles"
2705
  msgstr ""
2706
 
2707
- #: admin/html/whats-new.php:1118
2708
  msgid ""
2709
  "Restrict form submission based on the user roles. Now you can manage user "
2710
  "role base permission on form submission."
2711
  msgstr ""
2712
 
2713
- #: admin/html/whats-new.php:1122
2714
  msgid "Limit how many entries a form will accept"
2715
  msgstr ""
2716
 
2717
- #: admin/html/whats-new.php:1124
2718
  msgid ""
2719
  "Limit how many entries a form will accept and display a custom message when "
2720
  "that limit is reached."
2721
  msgstr ""
2722
 
2723
- #: admin/html/whats-new.php:1128
2724
  msgid "Show/hide Admin Bar"
2725
  msgstr ""
2726
 
2727
- #: admin/html/whats-new.php:1130
2728
  msgid "Control the admin bar visibility based on user roles."
2729
  msgstr ""
2730
 
2731
- #: admin/html/whats-new.php:1134
2732
  msgid "Ajax Login widget"
2733
  msgstr ""
2734
 
2735
- #: admin/html/whats-new.php:1136
2736
  msgid ""
2737
  "Login user is more simple now with Ajax Login Widget. The simple ajax login "
2738
  "form do not required page loading for login."
2739
  msgstr ""
2740
 
2741
- #: admin/html/whats-new.php:1140
2742
  msgid "Form submission with Captcha field"
2743
  msgstr ""
2744
 
2745
- #: admin/html/whats-new.php:1142
2746
  msgid "Form field validation process updated if form submits with captcha field."
2747
  msgstr ""
2748
 
2749
- #: admin/html/whats-new.php:1156
2750
  msgid "What's New in WPUF?"
2751
  msgstr ""
2752
 
@@ -2769,7 +2810,7 @@ msgid "Congratulations!"
2769
  msgstr ""
2770
 
2771
  #: admin/installer.php:84 admin/settings-options.php:24
2772
- #: includes/free/admin/shortcode-button.php:79 wpuf-functions.php:2023
2773
  msgid "Dashboard"
2774
  msgstr ""
2775
 
@@ -2784,8 +2825,7 @@ msgstr ""
2784
 
2785
  #: admin/installer.php:95 class/subscription.php:406 class/subscription.php:426
2786
  #: class/subscription.php:427 class/subscription.php:428
2787
- #: includes/free/admin/shortcode-button.php:99
2788
- #: templates/dashboard/dashboard.php:19 wpuf-functions.php:2031
2789
  msgid "Subscription"
2790
  msgstr ""
2791
 
@@ -3724,10 +3764,6 @@ msgid ""
3724
  "to populate extra edit profile fields in backend."
3725
  msgstr ""
3726
 
3727
- #: admin/settings-options.php:572
3728
- msgid " - select - "
3729
- msgstr ""
3730
-
3731
  #: admin/subscribers.php:4
3732
  msgid "Number of subscribers per page:"
3733
  msgstr ""
@@ -4028,7 +4064,7 @@ msgid "Select Text"
4028
  msgstr ""
4029
 
4030
  #: admin/template.php:520 admin/template.php:578 admin/template.php:656
4031
- #: class/upload.php:264 includes/fields/class-field-recaptcha.php:147
4032
  #: includes/fields/class-field-sectionbreak.php:55
4033
  #: templates/dashboard/posts.php:110 templates/dashboard.php:104
4034
  #: wpuf-functions.php:1024
@@ -4047,7 +4083,7 @@ msgstr ""
4047
  msgid "Enter the meta value"
4048
  msgstr ""
4049
 
4050
- #: admin/template.php:583 class/upload.php:266
4051
  #: includes/fields/class-field-sectionbreak.php:63 wpuf-functions.php:1032
4052
  msgid "Description"
4053
  msgstr ""
@@ -4138,66 +4174,60 @@ msgid ""
4138
  "account page."
4139
  msgstr ""
4140
 
4141
- #: class/frontend-account.php:179 includes/class-dokan-integration.php:34
4142
- #: includes/class-wc-vendors-integration.php:110
4143
- #: templates/dashboard/dashboard.php:15
4144
- msgid "Posts"
4145
- msgstr ""
4146
-
4147
- #: class/frontend-account.php:268
4148
  msgid "<p>You have not subscribed to any package yet.</p>"
4149
  msgstr ""
4150
 
4151
- #: class/frontend-account.php:276
4152
  msgid "<p>You may have processed your payment, but the pack is not active yet.</p>"
4153
  msgstr ""
4154
 
4155
- #: class/frontend-account.php:293
4156
  #. translators: %s: billing cycle number, %s: billing cycle period
4157
  msgid "For each"
4158
  msgstr ""
4159
 
4160
- #: class/frontend-account.php:361
4161
  msgid "Nonce failure"
4162
  msgstr ""
4163
 
4164
- #: class/frontend-account.php:375
4165
  msgid "First Name is a required field."
4166
  msgstr ""
4167
 
4168
- #: class/frontend-account.php:379
4169
  msgid "Last Name is a required field."
4170
  msgstr ""
4171
 
4172
- #: class/frontend-account.php:383
4173
  msgid "Email is a required field."
4174
  msgstr ""
4175
 
4176
- #: class/frontend-account.php:395
4177
  msgid "Please provide a valid email address."
4178
  msgstr ""
4179
 
4180
- #: class/frontend-account.php:397
4181
  msgid "This email address is already registered."
4182
  msgstr ""
4183
 
4184
- #: class/frontend-account.php:403
4185
  msgid "Please fill out all password fields."
4186
  msgstr ""
4187
 
4188
- #: class/frontend-account.php:406
4189
  msgid "Please enter your current password."
4190
  msgstr ""
4191
 
4192
- #: class/frontend-account.php:409
4193
  msgid "Please re-enter your password."
4194
  msgstr ""
4195
 
4196
- #: class/frontend-account.php:412
4197
  msgid "New passwords do not match."
4198
  msgstr ""
4199
 
4200
- #: class/frontend-account.php:415 class/frontend-account.php:426
4201
  msgid "Your current password is incorrect."
4202
  msgstr ""
4203
 
@@ -4211,7 +4241,7 @@ msgstr ""
4211
 
4212
  #: class/frontend-dashboard.php:217 templates/dashboard/posts.php:34
4213
  #. translators: %s: user display name
4214
- msgid "You are not the post author. Cheeting huh!"
4215
  msgstr ""
4216
 
4217
  #: class/payment.php:22 class/payment.php:23
@@ -4222,83 +4252,83 @@ msgstr ""
4222
  msgid "Bank Payment"
4223
  msgstr ""
4224
 
4225
- #: class/payment.php:73 includes/free/edit-profile.php:32
4226
  #: includes/free/edit-user.php:40 templates/unauthorized.php:4
4227
  #. translators: %s: login url
4228
  msgid "This page is restricted. Please %s to view this page."
4229
  msgstr ""
4230
 
4231
- #: class/payment.php:79
4232
  msgid "Please select your payment page from admin panel"
4233
  msgstr ""
4234
 
4235
- #: class/payment.php:96
4236
  msgid "No subscription pack found."
4237
  msgstr ""
4238
 
4239
- #: class/payment.php:133
4240
  msgid "Your free package has been activated. Enjoy!"
4241
  msgstr ""
4242
 
4243
- #: class/payment.php:135
4244
  msgid "You already have activated a free package previously."
4245
  msgstr ""
4246
 
4247
- #: class/payment.php:153 includes/class-customizer.php:56
4248
- #: wpuf-functions.php:2035
4249
  msgid "Billing Address"
4250
  msgstr ""
4251
 
4252
- #: class/payment.php:185
4253
  msgid "Pricing & Plans"
4254
  msgstr ""
4255
 
4256
- #: class/payment.php:187
4257
  msgid "Change Pack"
4258
  msgstr ""
4259
 
4260
- #: class/payment.php:204
4261
  msgid "Selected Pack "
4262
  msgstr ""
4263
 
4264
- #: class/payment.php:205
4265
  msgid "Pack Price "
4266
  msgstr ""
4267
 
4268
- #: class/payment.php:209 class/payment.php:260 includes/class-privacy.php:338
4269
  msgid "Total"
4270
  msgstr ""
4271
 
4272
- #: class/payment.php:223
4273
  msgid "Apply Coupon"
4274
  msgstr ""
4275
 
4276
- #: class/payment.php:227
4277
  msgid "Have a discount code?"
4278
  msgstr ""
4279
 
4280
- #: class/payment.php:256
4281
  msgid "Post cost"
4282
  msgstr ""
4283
 
4284
- #: class/payment.php:269
4285
  msgid "Choose Your Payment Method"
4286
  msgstr ""
4287
 
4288
- #: class/payment.php:306
4289
  msgid "Proceed"
4290
  msgstr ""
4291
 
4292
- #: class/payment.php:314
4293
  msgid "No Payment gateway found"
4294
  msgstr ""
4295
 
4296
- #: class/payment.php:504 lib/gateway/bank.php:107
4297
  #. translators: %s is site title name
4298
  msgid "[%s] Payment Received"
4299
  msgstr ""
4300
 
4301
- #: class/payment.php:506
4302
  #. translators: %s is site title name
4303
  msgid "New payment received at %s"
4304
  msgstr ""
@@ -4392,27 +4422,27 @@ msgstr ""
4392
  msgid "Update Post"
4393
  msgstr ""
4394
 
4395
- #: class/render-form.php:87 includes/class-frontend-render-form.php:82
4396
  msgid "Really Simple Captcha validation failed"
4397
  msgstr ""
4398
 
4399
- #: class/render-form.php:127 includes/class-frontend-render-form.php:119
4400
  msgid "noCaptcha reCAPTCHA validation failed"
4401
  msgstr ""
4402
 
4403
- #: class/render-form.php:136 includes/class-frontend-render-form.php:128
4404
  msgid "reCAPTCHA validation failed"
4405
  msgstr ""
4406
 
4407
- #: class/render-form.php:146 includes/class-frontend-render-form.php:138
4408
  msgid "Invisible reCAPTCHA validation failed"
4409
  msgstr ""
4410
 
4411
- #: class/render-form.php:378 includes/class-frontend-render-form.php:281
4412
  msgid "Your selected form is no longer available."
4413
  msgstr ""
4414
 
4415
- #: class/render-form.php:384 includes/class-frontend-render-form.php:287
4416
  msgid "Please make sure you've published your form."
4417
  msgstr ""
4418
 
@@ -4427,7 +4457,7 @@ msgid "Strength indicator"
4427
  msgstr ""
4428
 
4429
  #: class/render-form.php:1401 includes/fields/class-field-post-taxonomy.php:127
4430
- #: includes/fields/class-field-post-taxonomy.php:258 wpuf-functions.php:1808
4431
  msgid "-- Select --"
4432
  msgstr ""
4433
 
@@ -4650,23 +4680,23 @@ msgstr ""
4650
  msgid "No transactions found."
4651
  msgstr ""
4652
 
4653
- #: class/upload.php:265 wpuf-functions.php:1028
4654
  msgid "Caption"
4655
  msgstr ""
4656
 
4657
- #: class/upload.php:288
4658
  msgid "attach_id is required."
4659
  msgstr ""
4660
 
4661
- #: class/upload.php:298
4662
  msgid "Attachment deleted successfully."
4663
  msgstr ""
4664
 
4665
- #: class/upload.php:301
4666
  msgid "Could not deleted the attachment"
4667
  msgstr ""
4668
 
4669
- #: class/upload.php:304
4670
  msgid "Something went wrong."
4671
  msgstr ""
4672
 
@@ -4785,6 +4815,11 @@ msgstr ""
4785
  msgid "Optional"
4786
  msgstr ""
4787
 
 
 
 
 
 
4788
  #: includes/class-dokan-integration.php:86
4789
  #: includes/class-wc-vendors-integration.php:36
4790
  #: includes/class-wcmp-integration.php:36
@@ -4894,7 +4929,7 @@ msgid ""
4894
  msgstr ""
4895
 
4896
  #: includes/class-frontend-form-post.php:621
4897
- #: includes/class-frontend-render-form.php:316
4898
  msgid "You do not have sufficient permissions to access this form."
4899
  msgstr ""
4900
 
@@ -4909,7 +4944,7 @@ msgid ""
4909
  "Please check your inbox!"
4910
  msgstr ""
4911
 
4912
- #: includes/class-frontend-render-form.php:858
4913
  #: includes/free/class-login.php:448
4914
  msgid "Empty reCaptcha Field"
4915
  msgstr ""
@@ -4943,7 +4978,7 @@ msgid "Expire date"
4943
  msgstr ""
4944
 
4945
  #: includes/class-list-table-subscribers.php:137
4946
- #: templates/dashboard/posts.php:173 templates/dashboard.php:237
4947
  msgid "Completed"
4948
  msgstr ""
4949
 
@@ -6610,11 +6645,7 @@ msgstr ""
6610
  msgid "Hello %1$s, (not %1$s? <a href=\"%2$s\">Sign out</a>)"
6611
  msgstr ""
6612
 
6613
- #: templates/dashboard/dashboard.php:23
6614
- msgid "edit your password and profile"
6615
- msgstr ""
6616
-
6617
- #: templates/dashboard/dashboard.php:48
6618
  msgid "From your account dashboard you can view your dashboard, manage your %s"
6619
  msgstr ""
6620
 
@@ -6654,51 +6685,55 @@ msgstr ""
6654
  msgid "Item Deleted successfully !"
6655
  msgstr ""
6656
 
 
 
 
 
6657
  #: templates/dashboard/posts.php:139 templates/dashboard.php:159
6658
  msgid "No Image"
6659
  msgstr ""
6660
 
6661
- #: templates/dashboard/posts.php:146
6662
  msgid "Title: "
6663
  msgstr ""
6664
 
6665
- #: templates/dashboard/posts.php:153 templates/dashboard.php:173
6666
  msgid "Permalink to %s"
6667
  msgstr ""
6668
 
6669
- #: templates/dashboard/posts.php:160
6670
  msgid "Status: "
6671
  msgstr ""
6672
 
6673
- #: templates/dashboard/posts.php:167
6674
  msgid "Payment: "
6675
  msgstr ""
6676
 
6677
- #: templates/dashboard/posts.php:169 templates/dashboard.php:233
6678
  msgid "Not Applicable"
6679
  msgstr ""
6680
 
6681
- #: templates/dashboard/posts.php:171 templates/dashboard.php:235
6682
  msgid "Pay Now"
6683
  msgstr ""
6684
 
6685
- #: templates/dashboard/posts.php:178
6686
  msgid "Options: "
6687
  msgstr ""
6688
 
6689
- #: templates/dashboard/posts.php:209
6690
  msgid "Are you sure to delete?"
6691
  msgstr ""
6692
 
6693
- #: templates/dashboard/posts.php:230 templates/dashboard.php:296
6694
  msgid "&laquo;"
6695
  msgstr ""
6696
 
6697
- #: templates/dashboard/posts.php:231 templates/dashboard.php:297
6698
  msgid "&raquo;"
6699
  msgstr ""
6700
 
6701
- #: templates/dashboard/posts.php:254 templates/dashboard.php:319
6702
  msgid "No %s found"
6703
  msgstr ""
6704
 
@@ -6812,10 +6847,6 @@ msgstr ""
6812
  msgid "Private"
6813
  msgstr ""
6814
 
6815
- #: wpuf-functions.php:210 wpuf-functions.php:2051
6816
- msgid "-- select --"
6817
- msgstr ""
6818
-
6819
  #: wpuf-functions.php:510
6820
  msgid "Images"
6821
  msgstr ""
@@ -6852,231 +6883,231 @@ msgstr ""
6852
  msgid "Directions »"
6853
  msgstr ""
6854
 
6855
- #: wpuf-functions.php:2027
6856
  msgid "Edit Profile"
6857
  msgstr ""
6858
 
6859
- #: wpuf-functions.php:2165
6860
  msgid "United Arab Emirates Dirham"
6861
  msgstr ""
6862
 
6863
- #: wpuf-functions.php:2170
6864
  msgid "Australian Dollars"
6865
  msgstr ""
6866
 
6867
- #: wpuf-functions.php:2175
6868
  msgid "Argentine Peso"
6869
  msgstr ""
6870
 
6871
- #: wpuf-functions.php:2180
6872
  msgid "Bangladeshi Taka"
6873
  msgstr ""
6874
 
6875
- #: wpuf-functions.php:2185
6876
  msgid "Brazilian Real"
6877
  msgstr ""
6878
 
6879
- #: wpuf-functions.php:2190
6880
  msgid "Bulgarian Lev"
6881
  msgstr ""
6882
 
6883
- #: wpuf-functions.php:2195
6884
  msgid "Canadian Dollars"
6885
  msgstr ""
6886
 
6887
- #: wpuf-functions.php:2200
6888
  msgid "Chilean Peso"
6889
  msgstr ""
6890
 
6891
- #: wpuf-functions.php:2205
6892
  msgid "Chinese Yuan"
6893
  msgstr ""
6894
 
6895
- #: wpuf-functions.php:2210
6896
  msgid "Colombian Peso"
6897
  msgstr ""
6898
 
6899
- #: wpuf-functions.php:2215
6900
  msgid "Czech Koruna"
6901
  msgstr ""
6902
 
6903
- #: wpuf-functions.php:2220
6904
  msgid "Danish Krone"
6905
  msgstr ""
6906
 
6907
- #: wpuf-functions.php:2225
6908
  msgid "Dominican Peso"
6909
  msgstr ""
6910
 
6911
- #: wpuf-functions.php:2230
6912
  msgid "Algerian Dinar"
6913
  msgstr ""
6914
 
6915
- #: wpuf-functions.php:2235
6916
  msgid "Euros"
6917
  msgstr ""
6918
 
6919
- #: wpuf-functions.php:2240
6920
  msgid "Hong Kong Dollar"
6921
  msgstr ""
6922
 
6923
- #: wpuf-functions.php:2245
6924
  msgid "Croatia kuna"
6925
  msgstr ""
6926
 
6927
- #: wpuf-functions.php:2250
6928
  msgid "Hungarian Forint"
6929
  msgstr ""
6930
 
6931
- #: wpuf-functions.php:2255
6932
  msgid "Icelandic krona"
6933
  msgstr ""
6934
 
6935
- #: wpuf-functions.php:2260
6936
  msgid "Indonesia Rupiah"
6937
  msgstr ""
6938
 
6939
- #: wpuf-functions.php:2265
6940
  msgid "Indian Rupee"
6941
  msgstr ""
6942
 
6943
- #: wpuf-functions.php:2270
6944
  msgid "Mauritian Rupee"
6945
  msgstr ""
6946
 
6947
- #: wpuf-functions.php:2275
6948
  msgid "Nepali Rupee"
6949
  msgstr ""
6950
 
6951
- #: wpuf-functions.php:2280
6952
  msgid "Israeli Shekel"
6953
  msgstr ""
6954
 
6955
- #: wpuf-functions.php:2285
6956
  msgid "Japanese Yen"
6957
  msgstr ""
6958
 
6959
- #: wpuf-functions.php:2290
6960
  msgid "Lao Kip"
6961
  msgstr ""
6962
 
6963
- #: wpuf-functions.php:2295
6964
  msgid "South Korean Won"
6965
  msgstr ""
6966
 
6967
- #: wpuf-functions.php:2300
6968
  msgid "Malaysian Ringgits"
6969
  msgstr ""
6970
 
6971
- #: wpuf-functions.php:2305
6972
  msgid "Mexican Peso"
6973
  msgstr ""
6974
 
6975
- #: wpuf-functions.php:2310
6976
  msgid "Nigerian Naira"
6977
  msgstr ""
6978
 
6979
- #: wpuf-functions.php:2315
6980
  msgid "Norwegian Krone"
6981
  msgstr ""
6982
 
6983
- #: wpuf-functions.php:2320
6984
  msgid "New Zealand Dollar"
6985
  msgstr ""
6986
 
6987
- #: wpuf-functions.php:2325
6988
  msgid "Namibian dollar"
6989
  msgstr ""
6990
 
6991
- #: wpuf-functions.php:2330
6992
  msgid "Omani Rial"
6993
  msgstr ""
6994
 
6995
- #: wpuf-functions.php:2335
6996
  msgid "Iranian Rial"
6997
  msgstr ""
6998
 
6999
- #: wpuf-functions.php:2340
7000
  msgid "Pakistani Rupee"
7001
  msgstr ""
7002
 
7003
- #: wpuf-functions.php:2345
7004
  msgid "Paraguayan Guaraní"
7005
  msgstr ""
7006
 
7007
- #: wpuf-functions.php:2350
7008
  msgid "Philippine Pesos"
7009
  msgstr ""
7010
 
7011
- #: wpuf-functions.php:2355
7012
  msgid "Polish Zloty"
7013
  msgstr ""
7014
 
7015
- #: wpuf-functions.php:2360
7016
  msgid "Pounds Sterling"
7017
  msgstr ""
7018
 
7019
- #: wpuf-functions.php:2365
7020
  msgid "Romanian Leu"
7021
  msgstr ""
7022
 
7023
- #: wpuf-functions.php:2370
7024
  msgid "Russian Ruble"
7025
  msgstr ""
7026
 
7027
- #: wpuf-functions.php:2375
7028
  msgid "Saudi Riyal"
7029
  msgstr ""
7030
 
7031
- #: wpuf-functions.php:2380
7032
  msgid "Singapore Dollar"
7033
  msgstr ""
7034
 
7035
- #: wpuf-functions.php:2385
7036
  msgid "South African rand"
7037
  msgstr ""
7038
 
7039
- #: wpuf-functions.php:2390
7040
  msgid "Swedish Krona"
7041
  msgstr ""
7042
 
7043
- #: wpuf-functions.php:2395
7044
  msgid "Swiss Franc"
7045
  msgstr ""
7046
 
7047
- #: wpuf-functions.php:2400
7048
  msgid "Taiwan New Dollars"
7049
  msgstr ""
7050
 
7051
- #: wpuf-functions.php:2405
7052
  msgid "Thai Baht"
7053
  msgstr ""
7054
 
7055
- #: wpuf-functions.php:2410
7056
  msgid "Turkish Lira"
7057
  msgstr ""
7058
 
7059
- #: wpuf-functions.php:2415
7060
  msgid "Trinidad and Tobago Dollar"
7061
  msgstr ""
7062
 
7063
- #: wpuf-functions.php:2420
7064
  msgid "US Dollar"
7065
  msgstr ""
7066
 
7067
- #: wpuf-functions.php:2425
7068
  msgid "Vietnamese Dong"
7069
  msgstr ""
7070
 
7071
- #: wpuf-functions.php:2430
7072
  msgid "Egyptian Pound"
7073
  msgstr ""
7074
 
7075
- #: wpuf-functions.php:2435
7076
  msgid "Jordanian dinar"
7077
  msgstr ""
7078
 
7079
- #: wpuf-functions.php:3332
7080
  msgid "None"
7081
  msgstr ""
7082
 
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP User Frontend 3.5.18\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2021-07-06 06:21:44+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
161
  msgstr ""
162
 
163
  #: admin/class-admin-subscription.php:226
164
+ #: admin/class-admin-subscription.php:596 class/frontend-account.php:263
165
  #: class/subscription.php:927 includes/class-user-subscription.php:305
166
  #: templates/subscriptions/pack-details.php:24
167
  msgid "Free"
284
  msgid "For each %s %s"
285
  msgstr ""
286
 
287
+ #: admin/class-admin-subscription.php:601 class/frontend-account.php:269
288
  #. translators: %s: number of installments
289
  msgid ", for %s installments"
290
  msgstr ""
329
 
330
  #: admin/class-admin-subscription.php:774
331
  #: admin/form-builder/class-wpuf-admin-form-builder.php:284
332
+ #: class/payment.php:225 class/subscription.php:825
333
  #: includes/class-list-table-subscribers.php:138 lib/appsero/Insights.php:764
334
  #: templates/dashboard/subscription.php:64
335
  msgid "Cancel"
339
  msgid "Select Package:"
340
  msgstr ""
341
 
342
+ #: admin/class-admin-subscription.php:783 admin/settings-options.php:572
343
+ #: wpuf-functions.php:210 wpuf-functions.php:1808 wpuf-functions.php:2056
344
  msgid "&mdash; Select &mdash;"
345
  msgstr ""
346
 
366
 
367
  #: admin/class-tools.php:43 admin/class-tools.php:106
368
  #: admin/post-forms-list-table.php:43 class/transactions-list-table.php:90
369
+ #: includes/class-list-table-subscribers.php:136 wpuf-functions.php:3336
370
  msgid "All"
371
  msgstr ""
372
 
833
  msgstr ""
834
 
835
  #: admin/form.php:435 admin/html/form-settings-post.php:22
836
+ #: class/render-form.php:758 includes/class-frontend-render-form.php:183
837
  msgid "Save Draft"
838
  msgstr ""
839
 
1415
  msgstr ""
1416
 
1417
  #: admin/html/whats-new.php:9
1418
+ msgid "Google Map field enhanced along with acf google map"
1419
  msgstr ""
1420
 
1421
  #: admin/html/whats-new.php:13
1422
+ msgid "Filter added for dashboard account menu"
1423
  msgstr ""
1424
 
1425
  #: admin/html/whats-new.php:17
1426
+ msgid "Fallback Pay Per Post inconsistency handled"
1427
  msgstr ""
1428
 
1429
  #: admin/html/whats-new.php:21
1430
+ msgid "Google map search field not showing"
1431
  msgstr ""
1432
 
1433
  #: admin/html/whats-new.php:25
1434
+ msgid "Form preview page inconsistency with builder"
1435
  msgstr ""
1436
 
1437
  #: admin/html/whats-new.php:29
1438
+ msgid "Category not showing as hierarchy"
1439
  msgstr ""
1440
 
1441
  #: admin/html/whats-new.php:33
1442
+ msgid "TOC field randering issue with registration form"
1443
  msgstr ""
1444
 
1445
  #: admin/html/whats-new.php:37
1446
+ msgid "Custom plupload filter inconsistency with file upload handled"
1447
  msgstr ""
1448
 
1449
  #: admin/html/whats-new.php:41
1450
+ msgid "Guest Pay Per Post inconsistency handled"
1451
  msgstr ""
1452
 
1453
  #: admin/html/whats-new.php:45
1454
+ msgid "Responsive and font issue handled"
1455
+ msgstr ""
1456
+
1457
+ #: admin/html/whats-new.php:56
1458
+ msgid "Preview page added for post form and registration form"
1459
+ msgstr ""
1460
+
1461
+ #: admin/html/whats-new.php:60
1462
+ msgid "Post types menu on account page added"
1463
+ msgstr ""
1464
+
1465
+ #: admin/html/whats-new.php:64
1466
+ msgid "Dashboard shortcode attributes enhanced"
1467
+ msgstr ""
1468
+
1469
+ #: admin/html/whats-new.php:68
1470
+ msgid "Account page post type list new design"
1471
+ msgstr ""
1472
+
1473
+ #: admin/html/whats-new.php:72
1474
+ msgid "Payment page restricted from direct unauthenticated access"
1475
+ msgstr ""
1476
+
1477
+ #: admin/html/whats-new.php:76
1478
+ msgid "Timepicker conflict with dokan handled"
1479
+ msgstr ""
1480
+
1481
+ #: admin/html/whats-new.php:80
1482
+ msgid "Trial inconsistency with paypal fixed"
1483
+ msgstr ""
1484
+
1485
+ #: admin/html/whats-new.php:84
1486
+ msgid "Subscription does not cancel with paypal due to profile missing id"
1487
+ msgstr ""
1488
+
1489
+ #: admin/html/whats-new.php:88
1490
+ msgid "Subscription email notification inconsistency fixed"
1491
+ msgstr ""
1492
+
1493
+ #: admin/html/whats-new.php:92
1494
  msgid "Various issues on payment page for non-logged in user handled"
1495
  msgstr ""
1496
 
1497
+ #: admin/html/whats-new.php:96
1498
  msgid "Column inner field cloning inconsistency fixed"
1499
  msgstr ""
1500
 
1501
+ #: admin/html/whats-new.php:100
1502
  msgid "Popup z-index changed due to other plugin z-index"
1503
  msgstr ""
1504
 
1505
+ #: admin/html/whats-new.php:112
1506
  msgid "Added Mauritian Rupee for currency"
1507
  msgstr ""
1508
 
1509
+ #: admin/html/whats-new.php:116
1510
  msgid "Added eid promotional offer notice"
1511
  msgstr ""
1512
 
1513
+ #: admin/html/whats-new.php:120
1514
  msgid "Multiple google map validation for same form"
1515
  msgstr ""
1516
 
1517
+ #: admin/html/whats-new.php:124
1518
  msgid "Various issues on verification, autologin payments & address field"
1519
  msgstr ""
1520
 
1521
+ #: admin/html/whats-new.php:128
1522
  msgid "Docs update for file & attachments feature which is pro only"
1523
  msgstr ""
1524
 
1525
+ #: admin/html/whats-new.php:139
1526
  msgid "Overflow footer on form builder page"
1527
  msgstr ""
1528
 
1529
+ #: admin/html/whats-new.php:143
1530
  msgid "WordPress 5.7 compatibility"
1531
  msgstr ""
1532
 
1533
+ #: admin/html/whats-new.php:147
1534
  msgid "Limited time promotion for weDevs birthday"
1535
  msgstr ""
1536
 
1537
+ #: admin/html/whats-new.php:158
1538
  msgid "Meta key will not change if label update"
1539
  msgstr ""
1540
 
1541
+ #: admin/html/whats-new.php:162
1542
  msgid "Login redirect empty previous url"
1543
  msgstr ""
1544
 
1545
+ #: admin/html/whats-new.php:166
1546
  msgid "Email doesnt set as username"
1547
  msgstr ""
1548
 
1549
+ #: admin/html/whats-new.php:170
1550
  msgid "Post redirection to payment doesn't work"
1551
  msgstr ""
1552
 
1553
+ #: admin/html/whats-new.php:174
1554
  msgid "Address field not working when used with conditional logic"
1555
  msgstr ""
1556
 
1557
+ #: admin/html/whats-new.php:178
1558
  msgid "Ajax type category child of not working"
1559
  msgstr ""
1560
 
1561
+ #: admin/html/whats-new.php:182
1562
  msgid "Non recurring subscription did not work"
1563
  msgstr ""
1564
 
1565
+ #: admin/html/whats-new.php:193
1566
  msgid "Menu position has chenged due to dokan has same menu position"
1567
  msgstr ""
1568
 
1569
+ #: admin/html/whats-new.php:197
1570
  msgid "Drag and drop not working properly for new field"
1571
  msgstr ""
1572
 
1573
+ #: admin/html/whats-new.php:208
1574
  msgid "QR and math captcha added to pro feature list"
1575
  msgstr ""
1576
 
1577
+ #: admin/html/whats-new.php:212
1578
  msgid "Tooltip for category navigate"
1579
  msgstr ""
1580
 
1581
+ #: admin/html/whats-new.php:216
1582
  msgid "Understandable guest payment notice"
1583
  msgstr ""
1584
 
1585
+ #: admin/html/whats-new.php:220
1586
  msgid "Paypal non recurring pack id does not set"
1587
  msgstr ""
1588
 
1589
+ #: admin/html/whats-new.php:231
1590
  msgid "Once trial subscription is used, it couldn't reset"
1591
  msgstr ""
1592
 
1593
+ #: admin/html/whats-new.php:235
1594
  msgid "Subscription cancel doesn't work"
1595
  msgstr ""
1596
 
1597
+ #: admin/html/whats-new.php:239
1598
  msgid "The tax rate was not calculated with the total amount"
1599
  msgstr ""
1600
 
1601
+ #: admin/html/whats-new.php:243
1602
  msgid "The width of the column field was breaking"
1603
  msgstr ""
1604
 
1605
+ #: admin/html/whats-new.php:247
1606
  msgid "Paypal recurring payment"
1607
  msgstr ""
1608
 
1609
+ #: admin/html/whats-new.php:258
1610
  msgid "Updated codebase to fix timezone mismatch"
1611
  msgstr ""
1612
 
1613
+ #: admin/html/whats-new.php:269
1614
  msgid "Custom html content field's width"
1615
  msgstr ""
1616
 
1617
+ #: admin/html/whats-new.php:273
1618
  msgid "All states of New Zealand are added"
1619
  msgstr ""
1620
 
1621
+ #: admin/html/whats-new.php:284
1622
  msgid "Get appropriate user id when role based conditions are present"
1623
  msgstr ""
1624
 
1625
+ #: admin/html/whats-new.php:288
1626
  msgid "Show Invalid subscription message if wrong pack id passed"
1627
  msgstr ""
1628
 
1629
+ #: admin/html/whats-new.php:292
1630
  msgid "URL field new window not working"
1631
  msgstr ""
1632
 
1633
+ #: admin/html/whats-new.php:296
1634
  msgid "Option label not working when & use"
1635
  msgstr ""
1636
 
1637
+ #: admin/html/whats-new.php:300
1638
  msgid "Ajax type category not showing on edit"
1639
  msgstr ""
1640
 
1641
+ #: admin/html/whats-new.php:304
1642
  msgid "Multiple file image can't select"
1643
  msgstr ""
1644
 
1645
+ #: admin/html/whats-new.php:308
1646
  msgid "Subscription pack PayPal Checkout gets \"Error: Access Denied\""
1647
  msgstr ""
1648
 
1649
+ #: admin/html/whats-new.php:312
1650
  msgid "Conflict image field with acf image field"
1651
  msgstr ""
1652
 
1653
+ #: admin/html/whats-new.php:316
1654
  msgid "Missing Auckland State for New Zealand country"
1655
  msgstr ""
1656
 
1657
+ #: admin/html/whats-new.php:320
1658
  msgid "Added support for WooCommerce product category value replacemen"
1659
  msgstr ""
1660
 
1661
+ #: admin/html/whats-new.php:330
1662
  msgid "Add character restriction feature"
1663
  msgstr ""
1664
 
1665
+ #: admin/html/whats-new.php:334
1666
  msgid "Make sure post author edit link works only in frontend"
1667
  msgstr ""
1668
 
1669
+ #: admin/html/whats-new.php:338
1670
  msgid "Inconsistency in lost password reset email message"
1671
  msgstr ""
1672
 
1673
+ #: admin/html/whats-new.php:342
1674
  msgid "Saving custom taxonomy terms when input type is text"
1675
  msgstr ""
1676
 
1677
+ #: admin/html/whats-new.php:346
1678
  msgid "Taxonomy field JS error in builder"
1679
  msgstr ""
1680
 
1681
+ #: admin/html/whats-new.php:350
1682
  msgid "Showing WPUF edit link for WP default roles"
1683
  msgstr ""
1684
 
1685
+ #: admin/html/whats-new.php:354
1686
  msgid "Upload button unresponsive issue in iOS"
1687
  msgstr ""
1688
 
1689
+ #: admin/html/whats-new.php:364
1690
  msgid "Add post edit link for post authors in single or archive pages"
1691
  msgstr ""
1692
 
1693
+ #: admin/html/whats-new.php:368
1694
  msgid "Enhance post delete message"
1695
  msgstr ""
1696
 
1697
+ #: admin/html/whats-new.php:372
1698
  msgid "Refactor control buttons visibility in form builder"
1699
  msgstr ""
1700
 
1701
+ #: admin/html/whats-new.php:376
1702
  msgid "Add missing colons after field label"
1703
  msgstr ""
1704
 
1705
+ #: admin/html/whats-new.php:380
1706
  msgid "Post edit map capability condition"
1707
  msgstr ""
1708
 
1709
+ #: admin/html/whats-new.php:384
1710
  msgid "Role based permission for accessing a post form"
1711
  msgstr ""
1712
 
1713
+ #: admin/html/whats-new.php:388
1714
  msgid "Section-break field alignment"
1715
  msgstr ""
1716
 
1717
+ #: admin/html/whats-new.php:392
1718
  msgid "Pay per post doesn't work if subscription pack is activated"
1719
  msgstr ""
1720
 
1721
+ #: admin/html/whats-new.php:396
1722
  msgid "Mime type for uploading JSON files"
1723
  msgstr ""
1724
 
1725
+ #: admin/html/whats-new.php:400
1726
  msgid "File upload with same file name"
1727
  msgstr ""
1728
 
1729
+ #: admin/html/whats-new.php:404
1730
  msgid "Post preview missing fields"
1731
  msgstr ""
1732
 
1733
+ #: admin/html/whats-new.php:408
1734
  msgid "Illigal variable declartion"
1735
  msgstr ""
1736
 
1737
+ #: admin/html/whats-new.php:412
1738
  msgid "Featured image updating issue"
1739
  msgstr ""
1740
 
1741
+ #: admin/html/whats-new.php:416
1742
  msgid "Conflict with Phlox theme"
1743
  msgstr ""
1744
 
1745
+ #: admin/html/whats-new.php:420
1746
  msgid "Textarea custom field data sanitization"
1747
  msgstr ""
1748
 
1749
+ #: admin/html/whats-new.php:424
1750
  msgid "exclude_type warning in wpuf_category_checklist"
1751
  msgstr ""
1752
 
1753
+ #: admin/html/whats-new.php:428
1754
  msgid "Category field not showing all child categories for selection type child of"
1755
  msgstr ""
1756
 
1757
+ #: admin/html/whats-new.php:432
1758
  msgid "Conflict between image and file upload custom fields"
1759
  msgstr ""
1760
 
1761
+ #: admin/html/whats-new.php:436
1762
  msgid "Login url when login page is not set"
1763
  msgstr ""
1764
 
1765
+ #: admin/html/whats-new.php:446
1766
  msgid ""
1767
  "Use common names for Ivory Coast, North Korea and Sourth Korea instead of "
1768
  "their official names"
1769
  msgstr ""
1770
 
1771
+ #: admin/html/whats-new.php:450
1772
  msgid "Fix condition to use default avatar"
1773
  msgstr ""
1774
 
1775
+ #: admin/html/whats-new.php:454
1776
  msgid "Make Email and URL fields clickable"
1777
  msgstr ""
1778
 
1779
+ #: admin/html/whats-new.php:458
1780
  msgid "Fix redirect after user login"
1781
  msgstr ""
1782
 
1783
+ #: admin/html/whats-new.php:462
1784
  msgid "Sanitize textarea field data"
1785
  msgstr ""
1786
 
1787
+ #: admin/html/whats-new.php:466
1788
  msgid ""
1789
  "Fix missing colon to email, URL, text and textarea labels when renders "
1790
  "their data"
1791
  msgstr ""
1792
 
1793
+ #: admin/html/whats-new.php:470
1794
  msgid "Prevent showing empty labels for fields that have render_field_data method"
1795
  msgstr ""
1796
 
1797
+ #: admin/html/whats-new.php:480
1798
  msgid "Add Namibian Dollar in currency list"
1799
  msgstr ""
1800
 
1801
+ #: admin/html/whats-new.php:484
1802
  msgid "Add sync values option for option data fields"
1803
  msgstr ""
1804
 
1805
+ #: admin/html/whats-new.php:488
1806
  msgid "Allow uploading image that having filesize meets php ini settings"
1807
  msgstr ""
1808
 
1809
+ #: admin/html/whats-new.php:492
1810
  msgid "Limit the selection of one image at a time"
1811
  msgstr ""
1812
 
1813
+ #: admin/html/whats-new.php:496
1814
  msgid "Use file name and size to generate hash to prevent duplicant image upload"
1815
  msgstr ""
1816
 
1817
+ #: admin/html/whats-new.php:500
1818
  msgid "Sanitize text and textarea field data"
1819
  msgstr ""
1820
 
1821
+ #: admin/html/whats-new.php:504
1822
  msgid ""
1823
  "Show label instead of values for radio, checkbox, dropdown and multiselect "
1824
  "data"
1825
  msgstr ""
1826
 
1827
+ #: admin/html/whats-new.php:508
1828
  msgid "Saving custom taxonomies for type text input"
1829
  msgstr ""
1830
 
1831
+ #: admin/html/whats-new.php:512
1832
  msgid "Admin settings link for recaptcha helper text"
1833
  msgstr ""
1834
 
1835
+ #: admin/html/whats-new.php:516
1836
  msgid "Undefined name property for Custom HTML fields"
1837
  msgstr ""
1838
 
1839
+ #: admin/html/whats-new.php:520
1840
  msgid "Delete attachment process"
1841
  msgstr ""
1842
 
1843
+ #: admin/html/whats-new.php:524
1844
  msgid "Missing billing address in invoice PDF"
1845
  msgstr ""
1846
 
1847
+ #: admin/html/whats-new.php:528
1848
  msgid "Showing country field value in frontend post content"
1849
  msgstr ""
1850
 
1851
+ #: admin/html/whats-new.php:532
1852
  msgid "Avatar size display not complying with admin settings size"
1853
  msgstr ""
1854
 
1855
+ #: admin/html/whats-new.php:536
1856
  msgid "Display default avatars on admin settings discussion page"
1857
  msgstr ""
1858
 
1859
+ #: admin/html/whats-new.php:540
1860
  msgid "Redirect to subscription page at registration"
1861
  msgstr ""
1862
 
1863
+ #: admin/html/whats-new.php:544
1864
  msgid "Error notice regarding registration page redirect"
1865
  msgstr ""
1866
 
1867
+ #: admin/html/whats-new.php:548
1868
  msgid "Escaping html in registration errors"
1869
  msgstr ""
1870
 
1871
+ #: admin/html/whats-new.php:552
1872
  msgid "Default login redirect link"
1873
  msgstr ""
1874
 
1875
+ #: admin/html/whats-new.php:556
1876
  msgid "Implementing default WP login page override option"
1877
  msgstr ""
1878
 
1879
+ #: admin/html/whats-new.php:560
1880
  msgid "Transparent background of autosuggestion dropdown"
1881
  msgstr ""
1882
 
1883
+ #: admin/html/whats-new.php:570
1884
  msgid "Import forms system"
1885
  msgstr ""
1886
 
1887
+ #: admin/html/whats-new.php:574
1888
  msgid "Password reset system"
1889
  msgstr ""
1890
 
1891
+ #: admin/html/whats-new.php:578
1892
  msgid "Updated url validation regex to support modern tlds"
1893
  msgstr ""
1894
 
1895
+ #: admin/html/whats-new.php:582
1896
  msgid "Export WPUF forms individually from admin tools page"
1897
  msgstr ""
1898
 
1899
+ #: admin/html/whats-new.php:586
1900
  msgid "Subscription cycle label translation issue"
1901
  msgstr ""
1902
 
1903
+ #: admin/html/whats-new.php:590
1904
  msgid "ACF integration for checkbox fields"
1905
  msgstr ""
1906
 
1907
+ #: admin/html/whats-new.php:594
1908
  msgid "Illegal string offset warning while updating settings"
1909
  msgstr ""
1910
 
1911
+ #: admin/html/whats-new.php:598
1912
  msgid "Conditional logic for Section Break field"
1913
  msgstr ""
1914
 
1915
+ #: admin/html/whats-new.php:602
1916
  msgid "Subscriptions cannot be deleted from backend"
1917
  msgstr ""
1918
 
1919
+ #: admin/html/whats-new.php:606
1920
  msgid "A regression regarding saving checkbox data"
1921
  msgstr ""
1922
 
1923
+ #: admin/html/whats-new.php:610
1924
  msgid "Default value of multi-select fields is not showing"
1925
  msgstr ""
1926
 
1927
+ #: admin/html/whats-new.php:620
1928
  msgid "Hide post edit option when subscription is expired"
1929
  msgstr ""
1930
 
1931
+ #: admin/html/whats-new.php:622
1932
  msgid "Hide post edit option from users whose subscription pack is expired."
1933
  msgstr ""
1934
 
1935
+ #: admin/html/whats-new.php:625
1936
  msgid "Check files to prevent duplicity in media upload"
1937
  msgstr ""
1938
 
1939
+ #: admin/html/whats-new.php:627
1940
  msgid ""
1941
  "A simple measure has been taken to prevent maliciously flooding the site by "
1942
  "uploading same file multiple times. Though this won't work with already "
1943
  "uploaded medias."
1944
  msgstr ""
1945
 
1946
+ #: admin/html/whats-new.php:630
1947
  msgid "Refactor address fields in Account section"
1948
  msgstr ""
1949
 
1950
+ #: admin/html/whats-new.php:632
1951
  msgid "Address edit section from Account section has been rewritten to improve UX."
1952
  msgstr ""
1953
 
1954
+ #: admin/html/whats-new.php:635
1955
  msgid "Update Paypal payment gateway"
1956
  msgstr ""
1957
 
1958
+ #: admin/html/whats-new.php:637
1959
  msgid "Paypal payment gateway has seen some improvements."
1960
  msgstr ""
1961
 
1962
+ #: admin/html/whats-new.php:640
1963
  msgid "Default Category selection improvements"
1964
  msgstr ""
1965
 
1966
+ #: admin/html/whats-new.php:642
1967
  msgid ""
1968
  "An intuitive way of selecting default category of a selected post type has "
1969
  "been introduced."
1970
  msgstr ""
1971
 
1972
+ #: admin/html/whats-new.php:645
1973
  msgid "Compatibility issue with ACF date time field"
1974
  msgstr ""
1975
 
1976
+ #: admin/html/whats-new.php:647
1977
  msgid "A Compatibility issue with ACF date time field has been addressed."
1978
  msgstr ""
1979
 
1980
+ #: admin/html/whats-new.php:650
1981
  msgid "Media title, caption & description not saving"
1982
  msgstr ""
1983
 
1984
+ #: admin/html/whats-new.php:652
1985
  msgid ""
1986
  "Media title, caption & description were not saving from frontend. They will "
1987
  "now."
1988
  msgstr ""
1989
 
1990
+ #: admin/html/whats-new.php:655
1991
  msgid ""
1992
  "The Events Calendar venue and organizer fields issue in WPUF Custom Fields "
1993
  "metabox"
1994
  msgstr ""
1995
 
1996
+ #: admin/html/whats-new.php:657
1997
  msgid ""
1998
  "A workaround has been introduced to save The Events Calendar Venue and "
1999
  "Organizer fields properly from WPUF Custom Fields metabox."
2000
  msgstr ""
2001
 
2002
+ #: admin/html/whats-new.php:660
2003
  msgid "Checkbox data not saving from WPUF Custom Fields metabox"
2004
  msgstr ""
2005
 
2006
+ #: admin/html/whats-new.php:662
2007
  msgid ""
2008
  "Checkboxe data from WPUF Custom Fields metabox were not saving. It has been "
2009
  "fixed."
2010
  msgstr ""
2011
 
2012
+ #: admin/html/whats-new.php:665
2013
  msgid "Multi-column Repeater field data saving issue"
2014
  msgstr ""
2015
 
2016
+ #: admin/html/whats-new.php:667
2017
  msgid ""
2018
  "Multi-column Repeater field data from a form was not saving. It has been "
2019
  "fixed."
2020
  msgstr ""
2021
 
2022
+ #: admin/html/whats-new.php:670
2023
  msgid "Multistep form conflict with Elementor"
2024
  msgstr ""
2025
 
2026
+ #: admin/html/whats-new.php:672
2027
  msgid "Multistep form had a conflict with Elementor. It has been fixed."
2028
  msgstr ""
2029
 
2030
+ #: admin/html/whats-new.php:675
2031
  msgid "Multiple images showing issue in frontend"
2032
  msgstr ""
2033
 
2034
+ #: admin/html/whats-new.php:677
2035
  msgid "Multiple images in a post were not showing in frontend. Now they will."
2036
  msgstr ""
2037
 
2038
+ #: admin/html/whats-new.php:686
2039
  msgid "Nonce not verify on login"
2040
  msgstr ""
2041
 
2042
+ #: admin/html/whats-new.php:688
2043
  msgid "Return of function wp_verify_nonce() was ignored."
2044
  msgstr ""
2045
 
2046
+ #: admin/html/whats-new.php:697
2047
  msgid "Option to set which tab shows as active on the account page"
2048
  msgstr ""
2049
 
2050
+ #: admin/html/whats-new.php:699
2051
  msgid ""
2052
  "Option to set which tab shows as active on the account page. To configure "
2053
  "this setting navigate to wp-admin->User Frontend->Settings->My "
2054
  "Account->Active Tab "
2055
  msgstr ""
2056
 
2057
+ #: admin/html/whats-new.php:702
2058
  msgid "Unlock option was unavailable after the post being locked"
2059
  msgstr ""
2060
 
2061
+ #: admin/html/whats-new.php:704
2062
  msgid "Unlock option was unavailable after the post being locked."
2063
  msgstr ""
2064
 
2065
+ #: admin/html/whats-new.php:707
2066
  msgid "Gutenberg block of WPUF didn't work on bedrock installation"
2067
  msgstr ""
2068
 
2069
+ #: admin/html/whats-new.php:709
2070
  msgid "Gutenberg block of WPUF didn't work on bedrock installation."
2071
  msgstr ""
2072
 
2073
+ #: admin/html/whats-new.php:712
2074
  msgid "Sending admin payment received email twice"
2075
  msgstr ""
2076
 
2077
+ #: admin/html/whats-new.php:714
2078
  msgid ""
2079
  "After processing payment admin & user was receiving payment received email "
2080
  "twice."
2081
  msgstr ""
2082
 
2083
+ #: admin/html/whats-new.php:717
2084
  msgid ""
2085
  "Add shortcode support to display post information in the Post Expiration "
2086
  "Message"
2087
  msgstr ""
2088
 
2089
+ #: admin/html/whats-new.php:719
2090
  msgid ""
2091
  "Add shortcode support to display post information in the Post Expiration "
2092
  "Message. You can use: <strong>{post_author} {post_url} {blogname} "
2093
  "{post_title} {post_status}</strong>"
2094
  msgstr ""
2095
 
2096
+ #: admin/html/whats-new.php:722
2097
  msgid "Add optin on the setup wizard"
2098
  msgstr ""
2099
 
2100
+ #: admin/html/whats-new.php:724
2101
  msgid ""
2102
  "Added optin on the setup wizard, admin can choose whether he/she wants to "
2103
  "share server environment details (php, mysql, server, WordPress versions), "
2105
  "name and url, admin name and email address. No sensitive data is tracked"
2106
  msgstr ""
2107
 
2108
+ #: admin/html/whats-new.php:733
2109
  msgid "Post Owner problem"
2110
  msgstr ""
2111
 
2112
+ #: admin/html/whats-new.php:735
2113
  msgid ""
2114
  "Posts were not assigned to the selected default post owner, this issue has "
2115
  "been fixed."
2116
  msgstr ""
2117
 
2118
+ #: admin/html/whats-new.php:738
2119
  msgid "Google reCaptcha was not working"
2120
  msgstr ""
2121
 
2122
+ #: admin/html/whats-new.php:740
2123
  msgid ""
2124
  "Google reCaptcha was not working, users could submit the form without "
2125
  "reCaptcha validation."
2126
  msgstr ""
2127
 
2128
+ #: admin/html/whats-new.php:749
2129
  msgid "Added column field"
2130
  msgstr ""
2131
 
2132
+ #: admin/html/whats-new.php:754
2133
  msgid "Unable to render the events on the front-end dashboard"
2134
  msgstr ""
2135
 
2136
+ #: admin/html/whats-new.php:756
2137
  msgid ""
2138
  "On the frontend dashboard, the submitted events were not showing, you will "
2139
  "get it fixed in this version."
2140
  msgstr ""
2141
 
2142
+ #: admin/html/whats-new.php:759
2143
  msgid "Page order getting 0(zero) after editing from the frontend"
2144
  msgstr ""
2145
 
2146
+ #: admin/html/whats-new.php:761
2147
  msgid ""
2148
  "Page order was not saving while editing a post using WPUF form, it has been "
2149
  "fixed."
2150
  msgstr ""
2151
 
2152
+ #: admin/html/whats-new.php:764
2153
  msgid "Text input field for taxonomies not working"
2154
  msgstr ""
2155
 
2156
+ #: admin/html/whats-new.php:766
2157
  msgid ""
2158
  "When taxonomy field type is set to `Text Input` then a fatal error was "
2159
  "showing on the frontend, no error with taxonomy field in the latest version."
2160
  msgstr ""
2161
 
2162
+ #: admin/html/whats-new.php:769
2163
  msgid ""
2164
  "In radio and checkbox field use conditional logic that value does not save "
2165
  "in database"
2166
  msgstr ""
2167
 
2168
+ #: admin/html/whats-new.php:771
2169
  msgid ""
2170
  "The selected value of radio and checkbox field were not showing while "
2171
  "editing posts from the backend or frontend, you can see the selected value "
2172
  "in this version."
2173
  msgstr ""
2174
 
2175
+ #: admin/html/whats-new.php:774
2176
  msgid "The args param not working with get_avatar filter"
2177
  msgstr ""
2178
 
2179
+ #: admin/html/whats-new.php:776
2180
  msgid "The args parameter did not exist with get_avatar filter, which now exists."
2181
  msgstr ""
2182
 
2183
+ #: admin/html/whats-new.php:779
2184
  msgid "The item in ajax taxonomy field was not selected"
2185
  msgstr ""
2186
 
2187
+ #: admin/html/whats-new.php:781
2188
  msgid ""
2189
  "When the taxonomy field type is set to Ajax, the submitted terms were not "
2190
  "showing in the backend and frontend which have been fixed."
2191
  msgstr ""
2192
 
2193
+ #: admin/html/whats-new.php:790
2194
  msgid "Unable to send new user registration email"
2195
  msgstr ""
2196
 
2197
+ #: admin/html/whats-new.php:792
2198
  msgid ""
2199
  "WP User Frontend default registration form `[wpuf-registration]` was unable "
2200
  "to send the new user registration email."
2201
  msgstr ""
2202
 
2203
+ #: admin/html/whats-new.php:795
2204
  msgid "WPUF forms block compatibility issue with the latest WP version"
2205
  msgstr ""
2206
 
2207
+ #: admin/html/whats-new.php:797
2208
  msgid ""
2209
  "With the latest version of WordPress the gutenberg block of WP User "
2210
  "Frontend were not working. In this version, you will get it fixed."
2211
  msgstr ""
2212
 
2213
+ #: admin/html/whats-new.php:800
2214
  msgid "Page not update where `[wpuf_dashboard]` shortcode exist"
2215
  msgstr ""
2216
 
2217
+ #: admin/html/whats-new.php:802
2218
  msgid ""
2219
  "While using Gutenberg, the page were not being updated with WPUF shortcode "
2220
  "[wpuf dashboard]"
2221
  msgstr ""
2222
 
2223
+ #: admin/html/whats-new.php:805
2224
  msgid "Retain default when determining whether to display the admin bar"
2225
  msgstr ""
2226
 
2227
+ #: admin/html/whats-new.php:807
2228
  msgid ""
2229
  "From the User Frontend Settings, set that Administrator, Editor, Vendor can "
2230
  "see the admin bar. Now, the super admin want, one specific user ( who has "
2234
  "frontend."
2235
  msgstr ""
2236
 
2237
+ #: admin/html/whats-new.php:810
2238
  msgid "Fatal error when use PHP lower version (5.4 or lower)"
2239
  msgstr ""
2240
 
2241
+ #: admin/html/whats-new.php:812
2242
  msgid ""
2243
  "It was unable to install WP User Frontend with PHP 5.4 or lower version. "
2244
  "Here is the error details: <br><br><strong>Fatal error: Can't use method "
2246
  "/wp-user-frontend/class/frontend-form-post.php on line 194</strong>"
2247
  msgstr ""
2248
 
2249
+ #: admin/html/whats-new.php:815
2250
  msgid "Product form was unable to show the single gallery image"
2251
  msgstr ""
2252
 
2253
+ #: admin/html/whats-new.php:817
2254
  msgid ""
2255
  "When user upload single image for product gallery using WPUF WooCommerce "
2256
  "product form, that image were not showing on the frontend."
2257
  msgstr ""
2258
 
2259
+ #: admin/html/whats-new.php:826
2260
  msgid "WooCommerce gallery images not getting saved"
2261
  msgstr ""
2262
 
2263
+ #: admin/html/whats-new.php:828
2264
  msgid ""
2265
  "After releasing version 2.9.3, WooCommerce gallery image field stopped "
2266
  "working. You will get it fixed in this version."
2267
  msgstr ""
2268
 
2269
+ #: admin/html/whats-new.php:837
2270
  msgid "The Events Calendar Integration Form"
2271
  msgstr ""
2272
 
2273
+ #: admin/html/whats-new.php:839
2274
  msgid ""
2275
  "Now admin can allow users to create event from the frontend. Currently WPUF "
2276
  "has a one click pre-build event form that has been integrated with The "
2277
  "Events Calendar plugin"
2278
  msgstr ""
2279
 
2280
+ #: admin/html/whats-new.php:842
2281
  msgid "Post Submission Facility From Account Page"
2282
  msgstr ""
2283
 
2284
+ #: admin/html/whats-new.php:844
2285
  msgid ""
2286
  "On the frontend account page, added a new menu item named <b>Submit "
2287
  "Post</b>. Now admin can allow users to submit post from their default "
2290
  "you can assign any post form that will use to submit posts."
2291
  msgstr ""
2292
 
2293
+ #: admin/html/whats-new.php:847
2294
  msgid "Login/Lost Password Link Under Registration Form"
2295
  msgstr ""
2296
 
2297
+ #: admin/html/whats-new.php:849
2298
  msgid "Added Login/Lost Password link under registration form"
2299
  msgstr ""
2300
 
2301
+ #: admin/html/whats-new.php:858
2302
  msgid "Added drag and drop image ordering on image upload"
2303
  msgstr ""
2304
 
2305
+ #: admin/html/whats-new.php:860
2306
  msgid ""
2307
  "Now frontend users can drag & drop the images/files to change the order "
2308
  "while uploading."
2309
  msgstr ""
2310
 
2311
+ #: admin/html/whats-new.php:863
2312
  msgid "Added reCAPTCHA field in login form"
2313
  msgstr ""
2314
 
2315
+ #: admin/html/whats-new.php:865
2316
  msgid ""
2317
  "Admin has the option to show reCAPTCHA field in login form. Check the "
2318
  "related settings from <strong>User Frontend > Settings > "
2319
  "Login/Registration</strong>"
2320
  msgstr ""
2321
 
2322
+ #: admin/html/whats-new.php:868
2323
  msgid "Added preview option in forms"
2324
  msgstr ""
2325
 
2326
+ #: admin/html/whats-new.php:870
2327
  msgid ""
2328
  "You can see a nice <strong>Preview</strong> button with <strong>Save "
2329
  "Form</strong> button, admin can take a quick look of the form without using "
2330
  "shortcode"
2331
  msgstr ""
2332
 
2333
+ #: admin/html/whats-new.php:873
2334
  msgid "Fixed hiding “Select Image” button while uploading multiple images."
2335
  msgstr ""
2336
 
2337
+ #: admin/html/whats-new.php:875
2338
  msgid ""
2339
  "The upload button will not be hidden until the user selects max number of "
2340
  "files "
2341
  msgstr ""
2342
 
2343
+ #: admin/html/whats-new.php:878
2344
  msgid "Added form limit notice before form submission"
2345
  msgstr ""
2346
 
2347
+ #: admin/html/whats-new.php:880
2348
  msgid ""
2349
  "Limit notice message was showing after submission, now it is showing when "
2350
  "rendering the form"
2351
  msgstr ""
2352
 
2353
+ #: admin/html/whats-new.php:883
2354
  msgid "Fixed: default post category not saving"
2355
  msgstr ""
2356
 
2357
+ #: admin/html/whats-new.php:885
2358
  msgid ""
2359
  "From the form <strong>Settings > Post Settings</strong>, default post "
2360
  "category options were not saving. Now, it's fixed."
2361
  msgstr ""
2362
 
2363
+ #: admin/html/whats-new.php:888
2364
  msgid ""
2365
  "WPUF dashboard shortcode with form_id attribute was not showing posts "
2366
  "properly"
2367
  msgstr ""
2368
 
2369
+ #: admin/html/whats-new.php:890
2370
  msgid ""
2371
  "Now you can list posts on the frontend by using <strong>form_id<strong/> "
2372
  "attribute with <strong>[wpuf_dashboard]</strong> shortcode"
2373
  msgstr ""
2374
 
2375
+ #: admin/html/whats-new.php:899
2376
  msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
2377
  msgstr ""
2378
 
2379
+ #: admin/html/whats-new.php:901
2380
  msgid ""
2381
  "If you are using other language than English. Please <b>rename</b> your "
2382
  "<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
2383
  "change was made to support translations from translate.wordpress.org"
2384
  msgstr ""
2385
 
2386
+ #: admin/html/whats-new.php:904
2387
  msgid "Added WP User Frontend Data export and erase functionality."
2388
  msgstr ""
2389
 
2390
+ #: admin/html/whats-new.php:906
2391
  msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
2392
  msgstr ""
2393
 
2394
+ #: admin/html/whats-new.php:909
2395
  msgid "Added billing address customizer."
2396
  msgstr ""
2397
 
2398
+ #: admin/html/whats-new.php:911
2399
  msgid "Added customizer options for billing address in payment page."
2400
  msgstr ""
2401
 
2402
+ #: admin/html/whats-new.php:914
2403
  msgid "Make the payment page responsive."
2404
  msgstr ""
2405
 
2406
+ #: admin/html/whats-new.php:916
2407
  msgid "Some css adjustments are made in payment page to make it responsive."
2408
  msgstr ""
2409
 
2410
+ #: admin/html/whats-new.php:919
2411
  msgid "Fixed image upload issue in Safari."
2412
  msgstr ""
2413
 
2414
+ #: admin/html/whats-new.php:921
2415
  msgid "Images were not showing after upload in safari, it is fixed now."
2416
  msgstr ""
2417
 
2418
+ #: admin/html/whats-new.php:924
2419
  msgid "Post update issue after updating or removing post images."
2420
  msgstr ""
2421
 
2422
+ #: admin/html/whats-new.php:926
2423
  msgid ""
2424
  "Posts cannot be updated after updating or removing post images, it is fixed "
2425
  "now."
2426
  msgstr ""
2427
 
2428
+ #: admin/html/whats-new.php:935
2429
  msgid "Allow overriding form input styles using theme styling."
2430
  msgstr ""
2431
 
2432
+ #: admin/html/whats-new.php:937
2433
  msgid "Overriding form input styles using theme style is now possible."
2434
  msgstr ""
2435
 
2436
+ #: admin/html/whats-new.php:940
2437
  msgid "Fixed Auto Login after registration."
2438
  msgstr ""
2439
 
2440
+ #: admin/html/whats-new.php:942
2441
  msgid "Auto Login after registration was not working is fixed now."
2442
  msgstr ""
2443
 
2444
+ #: admin/html/whats-new.php:945
2445
  msgid "Fixed fallback cost calculation"
2446
  msgstr ""
2447
 
2448
+ #: admin/html/whats-new.php:947
2449
  msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
2450
  msgstr ""
2451
 
2452
+ #: admin/html/whats-new.php:950
2453
  msgid "Removal of subscription from User Profile gets reverted if updated"
2454
  msgstr ""
2455
 
2456
+ #: admin/html/whats-new.php:952
2457
  msgid "User subscription deletion gets reverted if updated is fixed."
2458
  msgstr ""
2459
 
2460
+ #: admin/html/whats-new.php:955
2461
  msgid "Show Free pack users in subscribers list."
2462
  msgstr ""
2463
 
2464
+ #: admin/html/whats-new.php:957
2465
  msgid "Free pack users were not showing in subscribers list, now they will."
2466
  msgstr ""
2467
 
2468
+ #: admin/html/whats-new.php:966
2469
  msgid "WP User Frontend Guten Block is added"
2470
  msgstr ""
2471
 
2472
+ #: admin/html/whats-new.php:968
2473
  msgid ""
2474
  "WPUF Form Block is now available to be used within gutenberg editor with "
2475
  "preview of the form. "
2476
  msgstr ""
2477
 
2478
+ #: admin/html/whats-new.php:971
2479
  msgid "Advanced Custom Fields plugin compatibility"
2480
  msgstr ""
2481
 
2482
+ #: admin/html/whats-new.php:973
2483
  msgid "Now all your ACF fields can be used within WPUF Post forms. "
2484
  msgstr ""
2485
 
2486
+ #: admin/html/whats-new.php:976
2487
  msgid "Taxonomy Terms not showing for custom post types"
2488
  msgstr ""
2489
 
2490
+ #: admin/html/whats-new.php:978
2491
  msgid ""
2492
  "Fixed an issue with taxonomy terms not appearing for Custom Post types "
2493
  "within Form Settings and Dashboard Post Listing"
2494
  msgstr ""
2495
 
2496
+ #: admin/html/whats-new.php:981
2497
  msgid "Various other code optimizations"
2498
  msgstr ""
2499
 
2500
+ #: admin/html/whats-new.php:983 admin/html/whats-new.php:1040
2501
  msgid "Code structure organization and optimization for better performance"
2502
  msgstr ""
2503
 
2504
+ #: admin/html/whats-new.php:992
2505
  msgid "WoooCommerce billing address Sync"
2506
  msgstr ""
2507
 
2508
+ #: admin/html/whats-new.php:994
2509
  msgid ""
2510
  "If an existing customer has previously set his billing address, that will "
2511
  "be imported into WPUF Billing address "
2512
  msgstr ""
2513
 
2514
+ #: admin/html/whats-new.php:997
2515
  msgid "Trial subscription message not showing properly"
2516
  msgstr ""
2517
 
2518
+ #: admin/html/whats-new.php:999
2519
  msgid "Subscriptions with Trial now shows trial notices"
2520
  msgstr ""
2521
 
2522
+ #: admin/html/whats-new.php:1002
2523
  msgid "Reset email Key not working"
2524
  msgstr ""
2525
 
2526
+ #: admin/html/whats-new.php:1004
2527
  msgid "Reset Email key was not working in some cases"
2528
  msgstr ""
2529
 
2530
+ #: admin/html/whats-new.php:1007
2531
  msgid "Post count not showing on the frontend dashboard"
2532
  msgstr ""
2533
 
2534
+ #: admin/html/whats-new.php:1009
2535
  msgid ""
2536
  "Dashboard with multiple post type was not showing post counts properly, is "
2537
  "now fixed and shows count for each post type"
2538
  msgstr ""
2539
 
2540
+ #: admin/html/whats-new.php:1012
2541
  msgid "Login Redirect showing blank page is fixed"
2542
  msgstr ""
2543
 
2544
+ #: admin/html/whats-new.php:1014
2545
  msgid ""
2546
  "If \"Previous Page\" was set for redirection, login redirect was "
2547
  "redirecting to blank page for users who hit login page directly"
2548
  msgstr ""
2549
 
2550
+ #: admin/html/whats-new.php:1023
2551
  msgid "Enhanced Login Redirect to redirect users to previous page"
2552
  msgstr ""
2553
 
2554
+ #: admin/html/whats-new.php:1025
2555
  msgid ""
2556
  "You can choose Previous Page as Login Redirect page settings now to "
2557
  "redirect users to the page from which they went for Login. "
2558
  msgstr ""
2559
 
2560
+ #: admin/html/whats-new.php:1028
2561
  msgid "Email HTML links not Rendreing properly issue is fixed"
2562
  msgstr ""
2563
 
2564
+ #: admin/html/whats-new.php:1030
2565
  msgid ""
2566
  "For some clients emails were not rendering the HTML links properly, this is "
2567
  "now fixed"
2568
  msgstr ""
2569
 
2570
+ #: admin/html/whats-new.php:1033
2571
  msgid "Form Builder : Form Field's Help text styles not showing properly"
2572
  msgstr ""
2573
 
2574
+ #: admin/html/whats-new.php:1035
2575
  msgid "Help texts styling is now fixed and much easier to read and understand"
2576
  msgstr ""
2577
 
2578
+ #: admin/html/whats-new.php:1038
2579
  msgid "Various other code improvements"
2580
  msgstr ""
2581
 
2582
+ #: admin/html/whats-new.php:1049
2583
  msgid "Dashboard Post Listing now supports multiple post types"
2584
  msgstr ""
2585
 
2586
+ #: admin/html/whats-new.php:1051
2587
  msgid ""
2588
  "Now you can show multiple post type in user dashboard using shortcode like "
2589
  "this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
2590
  msgstr ""
2591
 
2592
+ #: admin/html/whats-new.php:1054
2593
  msgid "Added Login Redirect Settings"
2594
  msgstr ""
2595
 
2596
+ #: admin/html/whats-new.php:1056
2597
  msgid ""
2598
  "You can now set a page from <i>WPUF Settings > Login/Registration > "
2599
  "Redirect after Login</i>. When login redirection is active the user will be "
2600
  "redirected to this page after login."
2601
  msgstr ""
2602
 
2603
+ #: admin/html/whats-new.php:1059
2604
  msgid "Image Upload field button text can be changed"
2605
  msgstr ""
2606
 
2607
+ #: admin/html/whats-new.php:1061
2608
  msgid ""
2609
  "The upload button text can now be changed for image upload fields which "
2610
  "defaults to \"Select Image\" if not set. "
2611
  msgstr ""
2612
 
2613
+ #: admin/html/whats-new.php:1064
2614
  msgid "Multi Step Form styles made compatible with more themes"
2615
  msgstr ""
2616
 
2617
+ #: admin/html/whats-new.php:1066
2618
  msgid "Multi Step form can now be styled more easily with other themes "
2619
  msgstr ""
2620
 
2621
+ #: admin/html/whats-new.php:1069
2622
  msgid "Required field condition for google map not working is fixed"
2623
  msgstr ""
2624
 
2625
+ #: admin/html/whats-new.php:1071
2626
  msgid ""
2627
  "If Google Map field was set as required users were able to submit form "
2628
  "without changing the default value."
2629
  msgstr ""
2630
 
2631
+ #: admin/html/whats-new.php:1080
2632
  msgid "Admin form builder is now fully responsive."
2633
  msgstr ""
2634
 
2635
+ #: admin/html/whats-new.php:1082
2636
  msgid ""
2637
  "Now you can edit forms from your mobile devices directly. Our improved "
2638
  "responsive layouts of form builder makes it easy for you to build forms on "
2639
  "the go."
2640
  msgstr ""
2641
 
2642
+ #: admin/html/whats-new.php:1085
2643
  msgid "Added color schemes for creating attractive form layouts."
2644
  msgstr ""
2645
 
2646
+ #: admin/html/whats-new.php:1087
2647
  msgid ""
2648
  "We have added 3 new color schemes for the form layouts which you can choose "
2649
  "from each form's new display settings."
2650
  msgstr ""
2651
 
2652
+ #: admin/html/whats-new.php:1090
2653
  msgid "Restrict Free subscription pack to be enabled multiple times "
2654
  msgstr ""
2655
 
2656
+ #: admin/html/whats-new.php:1092
2657
  msgid ""
2658
  "Free subscription packs now can only be purchased once and the limit "
2659
  "applies properly"
2660
  msgstr ""
2661
 
2662
+ #: admin/html/whats-new.php:1095
2663
  msgid "Various other bug fixes and improvements were made "
2664
  msgstr ""
2665
 
2666
+ #: admin/html/whats-new.php:1097
2667
  msgid "Please see the change log to see full details."
2668
  msgstr ""
2669
 
2670
+ #: admin/html/whats-new.php:1106
2671
  msgid "Added upgrade function for default category"
2672
  msgstr ""
2673
 
2674
+ #: admin/html/whats-new.php:1108
2675
  msgid "Upgrader added to upgrade previously set default post category."
2676
  msgstr ""
2677
 
2678
+ #: admin/html/whats-new.php:1111
2679
  msgid "Subscription pack cannot be canceled"
2680
  msgstr ""
2681
 
2682
+ #: admin/html/whats-new.php:1113
2683
  msgid ""
2684
  "Fixed recurring subscription pack cannot be canceled from my account page "
2685
  "in subscription details section."
2686
  msgstr ""
2687
 
2688
+ #: admin/html/whats-new.php:1116
2689
  msgid "page installer admin notice logic issue"
2690
  msgstr ""
2691
 
2692
+ #: admin/html/whats-new.php:1118
2693
  msgid ""
2694
  "Fixed page installer admin notice logic problem due to new payment settings "
2695
  "default value not set."
2696
  msgstr ""
2697
 
2698
+ #: admin/html/whats-new.php:1128
2699
  msgid "Setup Wizard"
2700
  msgstr ""
2701
 
2702
+ #: admin/html/whats-new.php:1130
2703
  msgid "Setup Wizard added to turn off payment options and install pages."
2704
  msgstr ""
2705
 
2706
+ #: admin/html/whats-new.php:1134
2707
  msgid "Multi-select Category"
2708
  msgstr ""
2709
 
2710
+ #: admin/html/whats-new.php:1136
2711
  msgid "Add multi-select to default category in post form settings."
2712
  msgstr ""
2713
 
2714
+ #: admin/html/whats-new.php:1140
2715
  msgid "Select Text option for Taxonomy"
2716
  msgstr ""
2717
 
2718
+ #: admin/html/whats-new.php:1142
2719
  msgid ""
2720
  "Add Select Text option for taxonomy fields. Now you can add default text "
2721
  "with empty value as first option for Taxonomy dropdown."
2722
  msgstr ""
2723
 
2724
+ #: admin/html/whats-new.php:1145
2725
  msgid "Taxonomy Checkbox Inline"
2726
  msgstr ""
2727
 
2728
+ #: admin/html/whats-new.php:1147
2729
  msgid ""
2730
  "Added checkbox inline option to taxonomy checkbox. You can now display "
2731
  "Taxonomy checkbox fields inline."
2732
  msgstr ""
2733
 
2734
+ #: admin/html/whats-new.php:1157
2735
  msgid "Manage schedule for form submission"
2736
  msgstr ""
2737
 
2738
+ #: admin/html/whats-new.php:1159
2739
  msgid ""
2740
  "Do not accept form submission if the current date is not between the date "
2741
  "range of the schedule."
2742
  msgstr ""
2743
 
2744
+ #: admin/html/whats-new.php:1163
2745
  msgid "Restrict form submission based on the user roles"
2746
  msgstr ""
2747
 
2748
+ #: admin/html/whats-new.php:1165
2749
  msgid ""
2750
  "Restrict form submission based on the user roles. Now you can manage user "
2751
  "role base permission on form submission."
2752
  msgstr ""
2753
 
2754
+ #: admin/html/whats-new.php:1169
2755
  msgid "Limit how many entries a form will accept"
2756
  msgstr ""
2757
 
2758
+ #: admin/html/whats-new.php:1171
2759
  msgid ""
2760
  "Limit how many entries a form will accept and display a custom message when "
2761
  "that limit is reached."
2762
  msgstr ""
2763
 
2764
+ #: admin/html/whats-new.php:1175
2765
  msgid "Show/hide Admin Bar"
2766
  msgstr ""
2767
 
2768
+ #: admin/html/whats-new.php:1177
2769
  msgid "Control the admin bar visibility based on user roles."
2770
  msgstr ""
2771
 
2772
+ #: admin/html/whats-new.php:1181
2773
  msgid "Ajax Login widget"
2774
  msgstr ""
2775
 
2776
+ #: admin/html/whats-new.php:1183
2777
  msgid ""
2778
  "Login user is more simple now with Ajax Login Widget. The simple ajax login "
2779
  "form do not required page loading for login."
2780
  msgstr ""
2781
 
2782
+ #: admin/html/whats-new.php:1187
2783
  msgid "Form submission with Captcha field"
2784
  msgstr ""
2785
 
2786
+ #: admin/html/whats-new.php:1189
2787
  msgid "Form field validation process updated if form submits with captcha field."
2788
  msgstr ""
2789
 
2790
+ #: admin/html/whats-new.php:1203
2791
  msgid "What's New in WPUF?"
2792
  msgstr ""
2793
 
2810
  msgstr ""
2811
 
2812
  #: admin/installer.php:84 admin/settings-options.php:24
2813
+ #: includes/free/admin/shortcode-button.php:79 wpuf-functions.php:2039
2814
  msgid "Dashboard"
2815
  msgstr ""
2816
 
2825
 
2826
  #: admin/installer.php:95 class/subscription.php:406 class/subscription.php:426
2827
  #: class/subscription.php:427 class/subscription.php:428
2828
+ #: includes/free/admin/shortcode-button.php:99 wpuf-functions.php:2022
 
2829
  msgid "Subscription"
2830
  msgstr ""
2831
 
3764
  "to populate extra edit profile fields in backend."
3765
  msgstr ""
3766
 
 
 
 
 
3767
  #: admin/subscribers.php:4
3768
  msgid "Number of subscribers per page:"
3769
  msgstr ""
4064
  msgstr ""
4065
 
4066
  #: admin/template.php:520 admin/template.php:578 admin/template.php:656
4067
+ #: class/upload.php:275 includes/fields/class-field-recaptcha.php:147
4068
  #: includes/fields/class-field-sectionbreak.php:55
4069
  #: templates/dashboard/posts.php:110 templates/dashboard.php:104
4070
  #: wpuf-functions.php:1024
4083
  msgid "Enter the meta value"
4084
  msgstr ""
4085
 
4086
+ #: admin/template.php:583 class/upload.php:277
4087
  #: includes/fields/class-field-sectionbreak.php:63 wpuf-functions.php:1032
4088
  msgid "Description"
4089
  msgstr ""
4174
  "account page."
4175
  msgstr ""
4176
 
4177
+ #: class/frontend-account.php:242
 
 
 
 
 
 
4178
  msgid "<p>You have not subscribed to any package yet.</p>"
4179
  msgstr ""
4180
 
4181
+ #: class/frontend-account.php:250
4182
  msgid "<p>You may have processed your payment, but the pack is not active yet.</p>"
4183
  msgstr ""
4184
 
4185
+ #: class/frontend-account.php:267
4186
  #. translators: %s: billing cycle number, %s: billing cycle period
4187
  msgid "For each"
4188
  msgstr ""
4189
 
4190
+ #: class/frontend-account.php:335
4191
  msgid "Nonce failure"
4192
  msgstr ""
4193
 
4194
+ #: class/frontend-account.php:349
4195
  msgid "First Name is a required field."
4196
  msgstr ""
4197
 
4198
+ #: class/frontend-account.php:353
4199
  msgid "Last Name is a required field."
4200
  msgstr ""
4201
 
4202
+ #: class/frontend-account.php:357
4203
  msgid "Email is a required field."
4204
  msgstr ""
4205
 
4206
+ #: class/frontend-account.php:369
4207
  msgid "Please provide a valid email address."
4208
  msgstr ""
4209
 
4210
+ #: class/frontend-account.php:371
4211
  msgid "This email address is already registered."
4212
  msgstr ""
4213
 
4214
+ #: class/frontend-account.php:377
4215
  msgid "Please fill out all password fields."
4216
  msgstr ""
4217
 
4218
+ #: class/frontend-account.php:380
4219
  msgid "Please enter your current password."
4220
  msgstr ""
4221
 
4222
+ #: class/frontend-account.php:383
4223
  msgid "Please re-enter your password."
4224
  msgstr ""
4225
 
4226
+ #: class/frontend-account.php:386
4227
  msgid "New passwords do not match."
4228
  msgstr ""
4229
 
4230
+ #: class/frontend-account.php:389 class/frontend-account.php:400
4231
  msgid "Your current password is incorrect."
4232
  msgstr ""
4233
 
4241
 
4242
  #: class/frontend-dashboard.php:217 templates/dashboard/posts.php:34
4243
  #. translators: %s: user display name
4244
+ msgid "You are not the post author. Cheating huh!"
4245
  msgstr ""
4246
 
4247
  #: class/payment.php:22 class/payment.php:23
4252
  msgid "Bank Payment"
4253
  msgstr ""
4254
 
4255
+ #: class/payment.php:76 includes/free/edit-profile.php:32
4256
  #: includes/free/edit-user.php:40 templates/unauthorized.php:4
4257
  #. translators: %s: login url
4258
  msgid "This page is restricted. Please %s to view this page."
4259
  msgstr ""
4260
 
4261
+ #: class/payment.php:82
4262
  msgid "Please select your payment page from admin panel"
4263
  msgstr ""
4264
 
4265
+ #: class/payment.php:97
4266
  msgid "No subscription pack found."
4267
  msgstr ""
4268
 
4269
+ #: class/payment.php:134
4270
  msgid "Your free package has been activated. Enjoy!"
4271
  msgstr ""
4272
 
4273
+ #: class/payment.php:136
4274
  msgid "You already have activated a free package previously."
4275
  msgstr ""
4276
 
4277
+ #: class/payment.php:154 includes/class-customizer.php:56
4278
+ #: wpuf-functions.php:2023
4279
  msgid "Billing Address"
4280
  msgstr ""
4281
 
4282
+ #: class/payment.php:186
4283
  msgid "Pricing & Plans"
4284
  msgstr ""
4285
 
4286
+ #: class/payment.php:188
4287
  msgid "Change Pack"
4288
  msgstr ""
4289
 
4290
+ #: class/payment.php:205
4291
  msgid "Selected Pack "
4292
  msgstr ""
4293
 
4294
+ #: class/payment.php:206
4295
  msgid "Pack Price "
4296
  msgstr ""
4297
 
4298
+ #: class/payment.php:210 class/payment.php:261 includes/class-privacy.php:338
4299
  msgid "Total"
4300
  msgstr ""
4301
 
4302
+ #: class/payment.php:224
4303
  msgid "Apply Coupon"
4304
  msgstr ""
4305
 
4306
+ #: class/payment.php:228
4307
  msgid "Have a discount code?"
4308
  msgstr ""
4309
 
4310
+ #: class/payment.php:257
4311
  msgid "Post cost"
4312
  msgstr ""
4313
 
4314
+ #: class/payment.php:270
4315
  msgid "Choose Your Payment Method"
4316
  msgstr ""
4317
 
4318
+ #: class/payment.php:307
4319
  msgid "Proceed"
4320
  msgstr ""
4321
 
4322
+ #: class/payment.php:315
4323
  msgid "No Payment gateway found"
4324
  msgstr ""
4325
 
4326
+ #: class/payment.php:505 lib/gateway/bank.php:107
4327
  #. translators: %s is site title name
4328
  msgid "[%s] Payment Received"
4329
  msgstr ""
4330
 
4331
+ #: class/payment.php:507
4332
  #. translators: %s is site title name
4333
  msgid "New payment received at %s"
4334
  msgstr ""
4422
  msgid "Update Post"
4423
  msgstr ""
4424
 
4425
+ #: class/render-form.php:87 includes/class-frontend-render-form.php:84
4426
  msgid "Really Simple Captcha validation failed"
4427
  msgstr ""
4428
 
4429
+ #: class/render-form.php:127 includes/class-frontend-render-form.php:121
4430
  msgid "noCaptcha reCAPTCHA validation failed"
4431
  msgstr ""
4432
 
4433
+ #: class/render-form.php:136 includes/class-frontend-render-form.php:130
4434
  msgid "reCAPTCHA validation failed"
4435
  msgstr ""
4436
 
4437
+ #: class/render-form.php:146 includes/class-frontend-render-form.php:140
4438
  msgid "Invisible reCAPTCHA validation failed"
4439
  msgstr ""
4440
 
4441
+ #: class/render-form.php:378 includes/class-frontend-render-form.php:285
4442
  msgid "Your selected form is no longer available."
4443
  msgstr ""
4444
 
4445
+ #: class/render-form.php:384 includes/class-frontend-render-form.php:291
4446
  msgid "Please make sure you've published your form."
4447
  msgstr ""
4448
 
4457
  msgstr ""
4458
 
4459
  #: class/render-form.php:1401 includes/fields/class-field-post-taxonomy.php:127
4460
+ #: includes/fields/class-field-post-taxonomy.php:258
4461
  msgid "-- Select --"
4462
  msgstr ""
4463
 
4680
  msgid "No transactions found."
4681
  msgstr ""
4682
 
4683
+ #: class/upload.php:276 wpuf-functions.php:1028
4684
  msgid "Caption"
4685
  msgstr ""
4686
 
4687
+ #: class/upload.php:299
4688
  msgid "attach_id is required."
4689
  msgstr ""
4690
 
4691
+ #: class/upload.php:309
4692
  msgid "Attachment deleted successfully."
4693
  msgstr ""
4694
 
4695
+ #: class/upload.php:312
4696
  msgid "Could not deleted the attachment"
4697
  msgstr ""
4698
 
4699
+ #: class/upload.php:315
4700
  msgid "Something went wrong."
4701
  msgstr ""
4702
 
4815
  msgid "Optional"
4816
  msgstr ""
4817
 
4818
+ #: includes/class-dokan-integration.php:34
4819
+ #: includes/class-wc-vendors-integration.php:110
4820
+ msgid "Posts"
4821
+ msgstr ""
4822
+
4823
  #: includes/class-dokan-integration.php:86
4824
  #: includes/class-wc-vendors-integration.php:36
4825
  #: includes/class-wcmp-integration.php:36
4929
  msgstr ""
4930
 
4931
  #: includes/class-frontend-form-post.php:621
4932
+ #: includes/class-frontend-render-form.php:320
4933
  msgid "You do not have sufficient permissions to access this form."
4934
  msgstr ""
4935
 
4944
  "Please check your inbox!"
4945
  msgstr ""
4946
 
4947
+ #: includes/class-frontend-render-form.php:863
4948
  #: includes/free/class-login.php:448
4949
  msgid "Empty reCaptcha Field"
4950
  msgstr ""
4978
  msgstr ""
4979
 
4980
  #: includes/class-list-table-subscribers.php:137
4981
+ #: templates/dashboard/posts.php:178 templates/dashboard.php:237
4982
  msgid "Completed"
4983
  msgstr ""
4984
 
6645
  msgid "Hello %1$s, (not %1$s? <a href=\"%2$s\">Sign out</a>)"
6646
  msgstr ""
6647
 
6648
+ #: templates/dashboard/dashboard.php:40
 
 
 
 
6649
  msgid "From your account dashboard you can view your dashboard, manage your %s"
6650
  msgstr ""
6651
 
6685
  msgid "Item Deleted successfully !"
6686
  msgstr ""
6687
 
6688
+ #: templates/dashboard/posts.php:132
6689
+ msgid "Featured Image: "
6690
+ msgstr ""
6691
+
6692
  #: templates/dashboard/posts.php:139 templates/dashboard.php:159
6693
  msgid "No Image"
6694
  msgstr ""
6695
 
6696
+ #: templates/dashboard/posts.php:149
6697
  msgid "Title: "
6698
  msgstr ""
6699
 
6700
+ #: templates/dashboard/posts.php:156 templates/dashboard.php:173
6701
  msgid "Permalink to %s"
6702
  msgstr ""
6703
 
6704
+ #: templates/dashboard/posts.php:165
6705
  msgid "Status: "
6706
  msgstr ""
6707
 
6708
+ #: templates/dashboard/posts.php:172
6709
  msgid "Payment: "
6710
  msgstr ""
6711
 
6712
+ #: templates/dashboard/posts.php:174 templates/dashboard.php:233
6713
  msgid "Not Applicable"
6714
  msgstr ""
6715
 
6716
+ #: templates/dashboard/posts.php:176 templates/dashboard.php:235
6717
  msgid "Pay Now"
6718
  msgstr ""
6719
 
6720
+ #: templates/dashboard/posts.php:183
6721
  msgid "Options: "
6722
  msgstr ""
6723
 
6724
+ #: templates/dashboard/posts.php:214
6725
  msgid "Are you sure to delete?"
6726
  msgstr ""
6727
 
6728
+ #: templates/dashboard/posts.php:235 templates/dashboard.php:296
6729
  msgid "&laquo;"
6730
  msgstr ""
6731
 
6732
+ #: templates/dashboard/posts.php:236 templates/dashboard.php:297
6733
  msgid "&raquo;"
6734
  msgstr ""
6735
 
6736
+ #: templates/dashboard/posts.php:259 templates/dashboard.php:319
6737
  msgid "No %s found"
6738
  msgstr ""
6739
 
6847
  msgid "Private"
6848
  msgstr ""
6849
 
 
 
 
 
6850
  #: wpuf-functions.php:510
6851
  msgid "Images"
6852
  msgstr ""
6883
  msgid "Directions »"
6884
  msgstr ""
6885
 
6886
+ #: wpuf-functions.php:2021
6887
  msgid "Edit Profile"
6888
  msgstr ""
6889
 
6890
+ #: wpuf-functions.php:2170
6891
  msgid "United Arab Emirates Dirham"
6892
  msgstr ""
6893
 
6894
+ #: wpuf-functions.php:2175
6895
  msgid "Australian Dollars"
6896
  msgstr ""
6897
 
6898
+ #: wpuf-functions.php:2180
6899
  msgid "Argentine Peso"
6900
  msgstr ""
6901
 
6902
+ #: wpuf-functions.php:2185
6903
  msgid "Bangladeshi Taka"
6904
  msgstr ""
6905
 
6906
+ #: wpuf-functions.php:2190
6907
  msgid "Brazilian Real"
6908
  msgstr ""
6909
 
6910
+ #: wpuf-functions.php:2195
6911
  msgid "Bulgarian Lev"
6912
  msgstr ""
6913
 
6914
+ #: wpuf-functions.php:2200
6915
  msgid "Canadian Dollars"
6916
  msgstr ""
6917
 
6918
+ #: wpuf-functions.php:2205
6919
  msgid "Chilean Peso"
6920
  msgstr ""
6921
 
6922
+ #: wpuf-functions.php:2210
6923
  msgid "Chinese Yuan"
6924
  msgstr ""
6925
 
6926
+ #: wpuf-functions.php:2215
6927
  msgid "Colombian Peso"
6928
  msgstr ""
6929
 
6930
+ #: wpuf-functions.php:2220
6931
  msgid "Czech Koruna"
6932
  msgstr ""
6933
 
6934
+ #: wpuf-functions.php:2225
6935
  msgid "Danish Krone"
6936
  msgstr ""
6937
 
6938
+ #: wpuf-functions.php:2230
6939
  msgid "Dominican Peso"
6940
  msgstr ""
6941
 
6942
+ #: wpuf-functions.php:2235
6943
  msgid "Algerian Dinar"
6944
  msgstr ""
6945
 
6946
+ #: wpuf-functions.php:2240
6947
  msgid "Euros"
6948
  msgstr ""
6949
 
6950
+ #: wpuf-functions.php:2245
6951
  msgid "Hong Kong Dollar"
6952
  msgstr ""
6953
 
6954
+ #: wpuf-functions.php:2250
6955
  msgid "Croatia kuna"
6956
  msgstr ""
6957
 
6958
+ #: wpuf-functions.php:2255
6959
  msgid "Hungarian Forint"
6960
  msgstr ""
6961
 
6962
+ #: wpuf-functions.php:2260
6963
  msgid "Icelandic krona"
6964
  msgstr ""
6965
 
6966
+ #: wpuf-functions.php:2265
6967
  msgid "Indonesia Rupiah"
6968
  msgstr ""
6969
 
6970
+ #: wpuf-functions.php:2270
6971
  msgid "Indian Rupee"
6972
  msgstr ""
6973
 
6974
+ #: wpuf-functions.php:2275
6975
  msgid "Mauritian Rupee"
6976
  msgstr ""
6977
 
6978
+ #: wpuf-functions.php:2280
6979
  msgid "Nepali Rupee"
6980
  msgstr ""
6981
 
6982
+ #: wpuf-functions.php:2285
6983
  msgid "Israeli Shekel"
6984
  msgstr ""
6985
 
6986
+ #: wpuf-functions.php:2290
6987
  msgid "Japanese Yen"
6988
  msgstr ""
6989
 
6990
+ #: wpuf-functions.php:2295
6991
  msgid "Lao Kip"
6992
  msgstr ""
6993
 
6994
+ #: wpuf-functions.php:2300
6995
  msgid "South Korean Won"
6996
  msgstr ""
6997
 
6998
+ #: wpuf-functions.php:2305
6999
  msgid "Malaysian Ringgits"
7000
  msgstr ""
7001
 
7002
+ #: wpuf-functions.php:2310
7003
  msgid "Mexican Peso"
7004
  msgstr ""
7005
 
7006
+ #: wpuf-functions.php:2315
7007
  msgid "Nigerian Naira"
7008
  msgstr ""
7009
 
7010
+ #: wpuf-functions.php:2320
7011
  msgid "Norwegian Krone"
7012
  msgstr ""
7013
 
7014
+ #: wpuf-functions.php:2325
7015
  msgid "New Zealand Dollar"
7016
  msgstr ""
7017
 
7018
+ #: wpuf-functions.php:2330
7019
  msgid "Namibian dollar"
7020
  msgstr ""
7021
 
7022
+ #: wpuf-functions.php:2335
7023
  msgid "Omani Rial"
7024
  msgstr ""
7025
 
7026
+ #: wpuf-functions.php:2340
7027
  msgid "Iranian Rial"
7028
  msgstr ""
7029
 
7030
+ #: wpuf-functions.php:2345
7031
  msgid "Pakistani Rupee"
7032
  msgstr ""
7033
 
7034
+ #: wpuf-functions.php:2350
7035
  msgid "Paraguayan Guaraní"
7036
  msgstr ""
7037
 
7038
+ #: wpuf-functions.php:2355
7039
  msgid "Philippine Pesos"
7040
  msgstr ""
7041
 
7042
+ #: wpuf-functions.php:2360
7043
  msgid "Polish Zloty"
7044
  msgstr ""
7045
 
7046
+ #: wpuf-functions.php:2365
7047
  msgid "Pounds Sterling"
7048
  msgstr ""
7049
 
7050
+ #: wpuf-functions.php:2370
7051
  msgid "Romanian Leu"
7052
  msgstr ""
7053
 
7054
+ #: wpuf-functions.php:2375
7055
  msgid "Russian Ruble"
7056
  msgstr ""
7057
 
7058
+ #: wpuf-functions.php:2380
7059
  msgid "Saudi Riyal"
7060
  msgstr ""
7061
 
7062
+ #: wpuf-functions.php:2385
7063
  msgid "Singapore Dollar"
7064
  msgstr ""
7065
 
7066
+ #: wpuf-functions.php:2390
7067
  msgid "South African rand"
7068
  msgstr ""
7069
 
7070
+ #: wpuf-functions.php:2395
7071
  msgid "Swedish Krona"
7072
  msgstr ""
7073
 
7074
+ #: wpuf-functions.php:2400
7075
  msgid "Swiss Franc"
7076
  msgstr ""
7077
 
7078
+ #: wpuf-functions.php:2405
7079
  msgid "Taiwan New Dollars"
7080
  msgstr ""
7081
 
7082
+ #: wpuf-functions.php:2410
7083
  msgid "Thai Baht"
7084
  msgstr ""
7085
 
7086
+ #: wpuf-functions.php:2415
7087
  msgid "Turkish Lira"
7088
  msgstr ""
7089
 
7090
+ #: wpuf-functions.php:2420
7091
  msgid "Trinidad and Tobago Dollar"
7092
  msgstr ""
7093
 
7094
+ #: wpuf-functions.php:2425
7095
  msgid "US Dollar"
7096
  msgstr ""
7097
 
7098
+ #: wpuf-functions.php:2430
7099
  msgid "Vietnamese Dong"
7100
  msgstr ""
7101
 
7102
+ #: wpuf-functions.php:2435
7103
  msgid "Egyptian Pound"
7104
  msgstr ""
7105
 
7106
+ #: wpuf-functions.php:2440
7107
  msgid "Jordanian dinar"
7108
  msgstr ""
7109
 
7110
+ #: wpuf-functions.php:3337
7111
  msgid "None"
7112
  msgstr ""
7113
 
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.7
7
  Requires PHP: 5.6
8
- Stable tag: 3.5.17
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -264,20 +264,40 @@ redirected to the edit page with that post id. Then you'll see the edit post for
264
 
265
  == Changelog ==
266
 
 
 
 
 
 
 
 
 
 
 
 
 
267
  = v3.5.17 (08 Jun, 2021) =
268
 
269
- * Enhancement - Preview page added for post form and registration form
270
- * Enhancement - Post types menu on account page added
271
- * Enhancement - Dashboard shortcode attributes enhanced
272
- * Enhancement - Account page post type list new design
273
- * Fix - Payment page restricted from direct unauthenticated access
274
- * Fix - Timepicker conflict with dokan handled
275
- * Fix - Trial inconsistency with paypal fixed
276
- * Fix - Subscription does not cancel with paypal due to profile missing id
277
- * Fix - Subscription email notification inconsistency fixed
278
- * Fix - Various issues on payment page for non-logged in user handled
279
- * Fix - Column inner field cloning inconsistency fixed
280
- * Fix - Popup z-index changed due to other plugin z-index
 
 
 
 
 
 
 
 
281
 
282
  = v3.5.15 (15 March, 2021) =
283
 
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.7.2
7
  Requires PHP: 5.6
8
+ Stable tag: 3.5.18
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
264
 
265
  == Changelog ==
266
 
267
+ = v3.5.18 (06 Jul, 2021) =
268
+
269
+ * Enhancement - Google Map field enhanced along with acf google map
270
+ * Enhancement - Filter added for dashboard account menu
271
+ * Fix - Fallback Pay Per Post inconsistency handled
272
+ * Fix - Google map search field not showing
273
+ * Fix - Form preview page inconsistency with builder
274
+ * Fix - Category not showing as hierarchy
275
+ * Fix - TOC field randering issue with registration form
276
+ * Fix - Custom plupload filter inconsistency with file upload handled
277
+ * Fix - Guest Pay Per Post inconsistency handled
278
+
279
  = v3.5.17 (08 Jun, 2021) =
280
 
281
+ * Enhancement - Preview page added for post form and registration form
282
+ * Enhancement - Post types menu on account page added
283
+ * Enhancement - Dashboard shortcode attributes enhanced
284
+ * Enhancement - Account page post type list new design
285
+ * Fix - Payment page restricted from direct unauthenticated access
286
+ * Fix - Timepicker conflict with dokan handled
287
+ * Fix - Trial inconsistency with paypal fixed
288
+ * Fix - Subscription does not cancel with paypal due to profile missing id
289
+ * Fix - Subscription email notification inconsistency fixed
290
+ * Fix - Various issues on payment page for non-logged in user handled
291
+ * Fix - Column inner field cloning inconsistency fixed
292
+ * Fix - Popup z-index changed due to other plugin z-index
293
+
294
+ = v3.5.16 (08 May, 2021) =
295
+
296
+ * Update - Added Mauritian Rupee for currency
297
+ * Update - Added eid promotional offer notice
298
+ * Fix - Multiple google map validation for same form
299
+ * Fix - Various issues on verification, autologin payments & address field
300
+ * Fix - Docs update for file & attachments feature which is pro only
301
 
302
  = v3.5.15 (15 March, 2021) =
303
 
templates/account.php CHANGED
@@ -3,14 +3,20 @@
3
  <ul>
4
  <?php
5
  if ( is_user_logged_in() ) {
6
- foreach ( $sections as $section ) {
7
- if ( 'subscription' == $section['slug'] ) {
 
 
 
 
 
 
8
  if ( 'off' == wpuf_get_option( 'show_subscriptions', 'wpuf_my_account', 'on' ) || 'on' != wpuf_get_option( 'enable_payment', 'wpuf_payment', 'on' ) ) {
9
  continue;
10
  }
11
  }
12
 
13
- if ( 'billing-address' == $section['slug'] ) {
14
  if ( 'off' == wpuf_get_option( 'show_billing_address', 'wpuf_my_account', 'on' ) || 'on' != wpuf_get_option( 'enable_payment', 'wpuf_payment', 'on' ) ) {
15
  continue;
16
  }
@@ -19,16 +25,16 @@
19
  $default_active_tab = wpuf_get_option( 'account_page_active_tab', 'wpuf_my_account', 'dashboard' );
20
  $active_tab = false;
21
 
22
- if ( ( isset( $_GET['section'] ) && $_GET['section'] == $section['slug'] ) || ( !isset( $_GET['section'] ) && $default_active_tab == $section['slug'] ) ) {
23
  $active_tab = true;
24
  }
25
 
26
- $active = $active_tab ? $section['slug'] . ' active' : $section['slug'];
27
  echo sprintf(
28
  '<li class="wpuf-menu-item %s"><a href="%s">%s</a></li>',
29
  esc_attr( $active ),
30
- esc_attr( add_query_arg( [ 'section' => $section['slug'] ], get_permalink() ) ),
31
- esc_attr( $section['label'] )
32
  );
33
  }
34
  }
@@ -36,10 +42,10 @@
36
  </ul>
37
  </nav>
38
 
39
- <div class="wpuf-dashboard-content <?php echo ( !empty( $current_section ) ) ? esc_attr( $current_section['slug'] ) : ''; ?>">
40
  <?php
41
  if ( !empty( $current_section ) && is_user_logged_in() ) {
42
- do_action( "wpuf_account_content_{$current_section['slug']}", $sections, $current_section );
43
  }
44
  ?>
45
  </div>
3
  <ul>
4
  <?php
5
  if ( is_user_logged_in() ) {
6
+ foreach ( $sections as $section => $label ) {
7
+ // backward compatibility
8
+ if ( is_array( $label ) ) {
9
+ $section = $label['slug'];
10
+ $label = $label['label'];
11
+ }
12
+
13
+ if ( 'subscription' == $section ) {
14
  if ( 'off' == wpuf_get_option( 'show_subscriptions', 'wpuf_my_account', 'on' ) || 'on' != wpuf_get_option( 'enable_payment', 'wpuf_payment', 'on' ) ) {
15
  continue;
16
  }
17
  }
18
 
19
+ if ( 'billing-address' == $section ) {
20
  if ( 'off' == wpuf_get_option( 'show_billing_address', 'wpuf_my_account', 'on' ) || 'on' != wpuf_get_option( 'enable_payment', 'wpuf_payment', 'on' ) ) {
21
  continue;
22
  }
25
  $default_active_tab = wpuf_get_option( 'account_page_active_tab', 'wpuf_my_account', 'dashboard' );
26
  $active_tab = false;
27
 
28
+ if ( ( isset( $_GET['section'] ) && $_GET['section'] == $section ) || ( !isset( $_GET['section'] ) && $default_active_tab == $section ) ) {
29
  $active_tab = true;
30
  }
31
 
32
+ $active = $active_tab ? $section . ' active' : $section;
33
  echo sprintf(
34
  '<li class="wpuf-menu-item %s"><a href="%s">%s</a></li>',
35
  esc_attr( $active ),
36
+ esc_attr( add_query_arg( [ 'section' => $section ], get_permalink() ) ),
37
+ esc_attr( $label )
38
  );
39
  }
40
  }
42
  </ul>
43
  </nav>
44
 
45
+ <div class="wpuf-dashboard-content <?php echo ( !empty( $current_section ) ) ? esc_attr( $current_section ) : ''; ?>">
46
  <?php
47
  if ( !empty( $current_section ) && is_user_logged_in() ) {
48
+ do_action( "wpuf_account_content_{$current_section}", $sections, $current_section );
49
  }
50
  ?>
51
  </div>
templates/dashboard/dashboard.php CHANGED
@@ -10,21 +10,7 @@
10
 
11
  <p><?php
12
 
13
- $tabs = apply_filters( 'wpuf_my_account_tab_links', [
14
- 'posts' => [
15
- 'label' => __( 'Posts', 'wp-user-frontend' ),
16
- 'url' => esc_url( add_query_arg( [ 'section' => 'posts' ], get_permalink() ) ),
17
- ],
18
- 'subscription' => [
19
- 'label' => __( 'Subscription', 'wp-user-frontend' ),
20
- 'url' => esc_url( add_query_arg( [ 'section' => 'subscription' ], get_permalink() ) ),
21
- ],
22
- 'edit-profile' => [
23
- 'label' => __( 'edit your password and profile', 'wp-user-frontend' ),
24
- 'url' => esc_url( add_query_arg( [ 'section' => 'edit-profile' ], get_permalink() ) ),
25
- ],
26
- ]
27
- );
28
 
29
  if ( 'off' == wpuf_get_option( 'show_subscriptions', 'wpuf_my_account', 'on' ) ) {
30
  unset( $tabs['subscription'] );
@@ -34,13 +20,19 @@
34
  $count = 1;
35
  $total_tabs = count( $tabs );
36
 
37
- foreach ( $tabs as $key => $tab ) {
 
 
 
 
 
 
38
  if ( $total_tabs == $count ) {
39
- $links .= ' <a href="' . $tab['url'] . '">' . $tab['label'] . '</a>';
40
  continue;
41
  }
42
 
43
- $links .= '<a href="' . $tab['url'] . '">' . $tab['label'] . '</a>, ';
44
  $count++;
45
  }
46
 
10
 
11
  <p><?php
12
 
13
+ $tabs = apply_filters( 'wpuf_my_account_tab_links', wpuf_get_account_sections() );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
  if ( 'off' == wpuf_get_option( 'show_subscriptions', 'wpuf_my_account', 'on' ) ) {
16
  unset( $tabs['subscription'] );
20
  $count = 1;
21
  $total_tabs = count( $tabs );
22
 
23
+ foreach ( $tabs as $section => $label ) {
24
+ // backward compatibility
25
+ if ( is_array( $label ) ) {
26
+ $section = $label['slug'];
27
+ $label = $label['label'];
28
+ }
29
+
30
  if ( $total_tabs == $count ) {
31
+ $links .= ' <a href="' . esc_url( add_query_arg( [ 'section' => $section ], get_permalink() ) ) . '">' . $label . '</a>';
32
  continue;
33
  }
34
 
35
+ $links .= '<a href="' . esc_url( add_query_arg( [ 'section' => $section ], get_permalink() ) ) . '">' . $label . '</a>, ';
36
  $count++;
37
  }
38
 
templates/dashboard/posts.php CHANGED
@@ -31,7 +31,7 @@ if ( $action == 'del' ) {
31
  wp_redirect( $redirect );
32
  exit;
33
  } else {
34
- echo wp_kses_post( '<div class="error">' . __( 'You are not the post author. Cheeting huh!', 'wp-user-frontend' ) . '</div>' );
35
  }
36
  }
37
 
@@ -129,7 +129,7 @@ $post_type_obj = get_post_type_object( $post_type );
129
  $payment_status = get_post_meta( $post->ID, '_wpuf_payment_status', true ); ?>
130
  <tr>
131
  <?php if ( 'on' == $featured_img ) { ?>
132
- <td>
133
  <?php
134
  echo $show_link ? wp_kses_post( '<a href="' . get_permalink( $post->ID ) . '">' ) : '';
135
 
@@ -141,9 +141,12 @@ $post_type_obj = get_post_type_object( $post_type );
141
 
142
  echo $show_link ? '</a>' : '';
143
  ?>
 
 
 
144
  </td>
145
  <?php } ?>
146
- <td data-label="<?php esc_attr_e( 'Title: ', 'wp-user-frontend' ); ?>">
147
  <?php if ( ! $show_link ) { ?>
148
 
149
  <?php echo wp_trim_words( get_the_title(), 5 ); ?>
@@ -153,9 +156,11 @@ $post_type_obj = get_post_type_object( $post_type );
153
  <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'wp-user-frontend' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php echo wp_trim_words( get_the_title(), 5 ); ?></a>
154
 
155
  <?php } ?>
156
- <span class="post-edit-icon">
157
- &#x25BE;
158
- </span>
 
 
159
  </td>
160
  <td data-label="<?php esc_attr_e( 'Status: ', 'wp-user-frontend' ); ?>" class="data-column">
161
  <?php wpuf_show_post_status( $post->post_status ); ?>
31
  wp_redirect( $redirect );
32
  exit;
33
  } else {
34
+ echo wp_kses_post( '<div class="error">' . __( 'You are not the post author. Cheating huh!', 'wp-user-frontend' ) . '</div>' );
35
  }
36
  }
37
 
129
  $payment_status = get_post_meta( $post->ID, '_wpuf_payment_status', true ); ?>
130
  <tr>
131
  <?php if ( 'on' == $featured_img ) { ?>
132
+ <td data-label="<?php esc_attr_e( 'Featured Image: ', 'wp-user-frontend' ); ?>">
133
  <?php
134
  echo $show_link ? wp_kses_post( '<a href="' . get_permalink( $post->ID ) . '">' ) : '';
135
 
141
 
142
  echo $show_link ? '</a>' : '';
143
  ?>
144
+ <span class="post-edit-icon">
145
+ &#x25BE;
146
+ </span>
147
  </td>
148
  <?php } ?>
149
+ <td data-label="<?php esc_attr_e( 'Title: ', 'wp-user-frontend' ); ?>" class="<?php echo 'on' === $featured_img ? 'data-column' : '' ; ?>">
150
  <?php if ( ! $show_link ) { ?>
151
 
152
  <?php echo wp_trim_words( get_the_title(), 5 ); ?>
156
  <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'wp-user-frontend' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php echo wp_trim_words( get_the_title(), 5 ); ?></a>
157
 
158
  <?php } ?>
159
+ <?php if ( 'on' !== $featured_img ){?>
160
+ <span class="post-edit-icon">
161
+ &#x25BE;
162
+ </span>
163
+ <?php }?>
164
  </td>
165
  <td data-label="<?php esc_attr_e( 'Status: ', 'wp-user-frontend' ); ?>" class="data-column">
166
  <?php wpuf_show_post_status( $post->post_status ); ?>
templates/login-form.php CHANGED
@@ -11,7 +11,7 @@
11
  $message = apply_filters( 'login_message', '' );
12
 
13
  if ( !empty( $message ) ) {
14
- echo esc_html( $message ) . "\n";
15
  }
16
  ?>
17
 
11
  $message = apply_filters( 'login_message', '' );
12
 
13
  if ( !empty( $message ) ) {
14
+ echo $message . "\n";
15
  }
16
  ?>
17
 
templates/registration-form.php CHANGED
@@ -10,7 +10,7 @@
10
  $message = apply_filters( 'registration_message', '' );
11
 
12
  if ( !empty( $message ) ) {
13
- echo esc_html( $message ) . "\n";
14
  }
15
 
16
  $success = isset( $_GET['success'] ) ? sanitize_text_field( wp_unslash( $_GET['success'] ) ) : '';
10
  $message = apply_filters( 'registration_message', '' );
11
 
12
  if ( !empty( $message ) ) {
13
+ echo $message . "\n";
14
  }
15
 
16
  $success = isset( $_GET['success'] ) ? sanitize_text_field( wp_unslash( $_GET['success'] ) ) : '';
wpuf-functions.php CHANGED
@@ -207,7 +207,7 @@ function wpuf_list_users() {
207
  * @return string HTML content, if not displaying
208
  */
209
  function wpuf_get_pages( $post_type = 'page' ) {
210
- $array = [ '' => __( '-- select --', 'wp-user-frontend' ) ];
211
  $pages = get_posts(
212
  [
213
  'post_type' => $post_type,
@@ -1805,7 +1805,7 @@ function taxnomy_select( $terms, $attr ) {
1805
  }
1806
 
1807
  $tax_args = [
1808
- 'show_option_none' => __( '-- Select --', 'wp-user-frontend' ),
1809
  'hierarchical' => 1,
1810
  'hide_empty' => 0,
1811
  'orderby' => isset( $attr['orderby'] ) ? $attr['orderby'] : 'name',
@@ -2017,26 +2017,31 @@ function wpuf_get_countries( $type = 'array' ) {
2017
  * @return array
2018
  */
2019
  function wpuf_get_account_sections() {
2020
- $account_sections = [
2021
- [
2022
- 'slug' => 'dashboard',
2023
- 'label' => __( 'Dashboard', 'wp-user-frontend' ),
2024
- ],
2025
- [
2026
- 'slug' => 'edit-profile',
2027
- 'label' => __( 'Edit Profile', 'wp-user-frontend' ),
2028
- ],
2029
- [
2030
- 'slug' => 'subscription',
2031
- 'label' => __( 'Subscription', 'wp-user-frontend' ),
2032
- ],
2033
- [
2034
- 'slug' => 'billing-address',
2035
- 'label' => __( 'Billing Address', 'wp-user-frontend' ),
2036
- ],
2037
  ];
2038
 
2039
- return apply_filters( 'wpuf_account_sections', $account_sections );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2040
  }
2041
 
2042
  /**
@@ -2048,11 +2053,11 @@ function wpuf_get_account_sections() {
2048
  */
2049
  function wpuf_get_account_sections_list( $post_type = 'page' ) {
2050
  $sections = wpuf_get_account_sections();
2051
- $array = [ '' => __( '-- select --', 'wp-user-frontend' ) ];
2052
 
2053
  if ( $sections ) {
2054
- foreach ( $sections as $section ) {
2055
- $array[ $section['slug'] ] = esc_attr( $section['label'] );
2056
  }
2057
  }
2058
 
@@ -3896,9 +3901,22 @@ function wpuf_user_has_roles( $roles, $user_id = 0 ) {
3896
  */
3897
  function get_wpuf_preview_page() {
3898
  $page_url = '';
 
3899
  $preview_page_id = get_option( 'wpuf_preview_page', false );
3900
 
3901
- if ( $preview_page_id && get_post_status( $preview_page_id ) !== 'private' ) {
 
 
 
 
 
 
 
 
 
 
 
 
3902
  wp_update_post(
3903
  [
3904
  'ID' => $preview_page_id,
207
  * @return string HTML content, if not displaying
208
  */
209
  function wpuf_get_pages( $post_type = 'page' ) {
210
+ $array = [ '' => __( '&mdash; Select &mdash;', 'wp-user-frontend' ) ];
211
  $pages = get_posts(
212
  [
213
  'post_type' => $post_type,
1805
  }
1806
 
1807
  $tax_args = [
1808
+ 'show_option_none' => __( '&mdash; Select &mdash;', 'wp-user-frontend' ),
1809
  'hierarchical' => 1,
1810
  'hide_empty' => 0,
1811
  'orderby' => isset( $attr['orderby'] ) ? $attr['orderby'] : 'name',
2017
  * @return array
2018
  */
2019
  function wpuf_get_account_sections() {
2020
+ $sections = [
2021
+ 'edit-profile' => __( 'Edit Profile', 'wp-user-frontend' ),
2022
+ 'subscription' => __( 'Subscription', 'wp-user-frontend' ),
2023
+ 'billing-address' => __( 'Billing Address', 'wp-user-frontend' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
2024
  ];
2025
 
2026
+ $post_types = wpuf_get_option( 'cp_on_acc_page', 'wpuf_my_account', [ 'post' ] );
2027
+ $cpt_sections = [];
2028
+
2029
+ if ( is_array( $post_types ) && $post_types ) {
2030
+ foreach ( $post_types as $post_type ) {
2031
+ $post_type_object = get_post_type_object( $post_type );
2032
+
2033
+ $cpt_sections[ $post_type ] = $post_type_object->label;
2034
+ }
2035
+ }
2036
+
2037
+ $sections = array_merge(
2038
+ // dashboard should be the first item
2039
+ [ 'dashboard' => __( 'Dashboard', 'wp-user-frontend' ) ],
2040
+ $cpt_sections,
2041
+ $sections
2042
+ );
2043
+
2044
+ return apply_filters( 'wpuf_account_sections', $sections );
2045
  }
2046
 
2047
  /**
2053
  */
2054
  function wpuf_get_account_sections_list( $post_type = 'page' ) {
2055
  $sections = wpuf_get_account_sections();
2056
+ $array = [ '' => __( '&mdash; Select &mdash;', 'wp-user-frontend' ) ];
2057
 
2058
  if ( $sections ) {
2059
+ foreach ( $sections as $section => $label ) {
2060
+ $array[ $section ] = esc_attr( $label );
2061
  }
2062
  }
2063
 
3901
  */
3902
  function get_wpuf_preview_page() {
3903
  $page_url = '';
3904
+ $post_status = '';
3905
  $preview_page_id = get_option( 'wpuf_preview_page', false );
3906
 
3907
+ if ( isset( $preview_page_id ) ){
3908
+ $page_url = get_permalink( $preview_page_id );
3909
+ }
3910
+
3911
+ if ( isset( $page_url ) ){
3912
+ $post_status = get_post_status( $preview_page_id );
3913
+ }
3914
+
3915
+ if ( $page_url && $post_status === 'private' ) {
3916
+ return $page_url;
3917
+ }
3918
+
3919
+ if ( $post_status !== 'private' ) {
3920
  wp_update_post(
3921
  [
3922
  'ID' => $preview_page_id,
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.17
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.17' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', __DIR__ );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
@@ -651,7 +651,7 @@ final class WP_User_Frontend {
651
 
652
  if ( wpuf_get_option( 'load_script', 'wpuf_general', 'on' ) == 'on' ) {
653
  $this->plugin_scripts();
654
- } elseif ( wpuf_has_shortcode( 'wpuf-login' ) || wpuf_has_shortcode( 'wpuf-registration' ) || wpuf_has_shortcode( 'wpuf-meta' ) || wpuf_has_shortcode( 'wpuf_form' ) || wpuf_has_shortcode( 'wpuf_edit' ) || wpuf_has_shortcode( 'wpuf_profile' ) || wpuf_has_shortcode( 'wpuf_dashboard' ) || wpuf_has_shortcode( 'weforms' ) || wpuf_has_shortcode( 'wpuf_account' ) || wpuf_has_shortcode( 'wpuf_sub_pack' ) || ( isset( $post->ID ) && ( $pay_page == $post->ID ) ) || isset( $_GET['wpuf_preview'] ) ) {
655
  $this->plugin_scripts();
656
  }
657
  }
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.18
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.18' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', __DIR__ );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
651
 
652
  if ( wpuf_get_option( 'load_script', 'wpuf_general', 'on' ) == 'on' ) {
653
  $this->plugin_scripts();
654
+ } elseif ( wpuf_has_shortcode( 'wpuf-login' ) || wpuf_has_shortcode( 'wpuf-registration' ) || wpuf_has_shortcode( 'wpuf-meta' ) || wpuf_has_shortcode( 'wpuf_form' ) || wpuf_has_shortcode( 'wpuf_edit' ) || wpuf_has_shortcode( 'wpuf_profile' ) || wpuf_has_shortcode( 'wpuf_dashboard' ) || wpuf_has_shortcode( 'weforms' ) || wpuf_has_shortcode( 'wpuf_account' ) || wpuf_has_shortcode( 'wpuf_sub_pack' ) || ( isset( $post->ID ) && ( $pay_page == $post->ID ) ) || isset( $_GET['wpuf_preview'] ) || class_exists('\Elementor\Plugin')) {
655
  $this->plugin_scripts();
656
  }
657
  }