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

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

Code changes from version 3.4.0 to 3.5.0

.github/workflows/phpcs.yml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ on: pull_request
2
+
3
+ name: Inspections
4
+ jobs:
5
+ runPHPCSInspection:
6
+ name: Run PHPCS inspection
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+
11
+ - name: Setup PHP
12
+ uses: shivammathur/setup-php@v2
13
+ with:
14
+ php-version: "7.3"
15
+ coverage: none
16
+ tools: composer, cs2pr
17
+
18
+ - name: Get Composer cache directory
19
+ id: composer-cache
20
+ run: echo "::set-output name=dir::$(composer config cache-files-dir)"
21
+
22
+ - name: Setup cache
23
+ uses: pat-s/always-upload-cache@v1.1.4
24
+ with:
25
+ path: ${{ steps.composer-cache.outputs.dir }}
26
+ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
27
+ restore-keys: ${{ runner.os }}-composer-
28
+
29
+ - name: Install dependencies
30
+ run: composer install --prefer-dist --no-suggest --no-progress
31
+
32
+ - id: changes
33
+ run: |
34
+ URL="https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files"
35
+ FILES=$(curl -s -X GET -G $URL | jq -r '.[] | .filename' | xargs)
36
+ echo "::set-output name=files::$FILES"
37
+
38
+ - name: Detect coding standard violations
39
+ run: vendor/bin/phpcs ${{ steps.changes.outputs.files }} -q --report=checkstyle | cs2pr --graceful-warnings
.php_cs ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ require_once __DIR__ . '/vendor/tareq1988/wp-php-cs-fixer/loader.php';
4
+
5
+ $finder = PhpCsFixer\Finder::create()
6
+ ->exclude( 'node_modules' )
7
+ ->exclude( 'vendors' )
8
+ ->exclude( 'assets' )
9
+ ->exclude( 'languages' )
10
+ ->exclude( 'src' )
11
+ ->exclude( 'bin' )
12
+ ->in( __DIR__ )
13
+ ;
14
+
15
+ $config = PhpCsFixer\Config::create()
16
+ ->registerCustomFixers( [
17
+ new WeDevs\Fixer\SpaceInsideParenthesisFixer(),
18
+ new WeDevs\Fixer\BlankLineAfterClassOpeningFixer(),
19
+ ] )
20
+ ->setRiskyAllowed( true )
21
+ ->setUsingCache( false )
22
+ ->setRules( WeDevs\Fixer\Fixer::rules() )
23
+ ->setFinder( $finder )
24
+ ;
25
+
26
+ return $config;
admin/form-builder/assets/js/components/field-multiselect/index.js CHANGED
@@ -12,6 +12,10 @@ Vue.component('field-multiselect', {
12
  },
13
 
14
  set: function (value) {
 
 
 
 
15
  this.$store.commit('update_editing_form_field', {
16
  editing_field_id: this.editing_form_field.id,
17
  field_name: this.option_field.name,
12
  },
13
 
14
  set: function (value) {
15
+ if ( ! value ) {
16
+ value = [];
17
+ }
18
+
19
  this.$store.commit('update_editing_form_field', {
20
  editing_field_id: this.editing_form_field.id,
21
  field_name: this.option_field.name,
admin/form-builder/assets/js/components/form-taxonomy/index.js CHANGED
@@ -33,9 +33,10 @@ Vue.component('form-taxonomy', {
33
 
34
  // selection type and terms
35
  if (this.field.exclude_type && this.field.exclude) {
 
36
 
37
- if ( this.field.exclude.length > 1 ) {
38
- var filter_ids = this.field.exclude.split(',').map(function (id) {
39
  id = id.trim();
40
  id = parseInt(id);
41
  return id;
@@ -136,7 +137,6 @@ Vue.component('form-taxonomy', {
136
  var self = this,
137
  checklist = '';
138
 
139
-
140
  checklist += '<ul class="wpuf-category-checklist">';
141
 
142
  _.each(this.sorted_terms, function (term) {
33
 
34
  // selection type and terms
35
  if (this.field.exclude_type && this.field.exclude) {
36
+ var filter_ids = [];
37
 
38
+ if ( this.field.exclude.length > 0 ) {
39
+ filter_ids = this.field.exclude.map(function (id) {
40
  id = id.trim();
41
  id = parseInt(id);
42
  return id;
137
  var self = this,
138
  checklist = '';
139
 
 
140
  checklist += '<ul class="wpuf-category-checklist">';
141
 
142
  _.each(this.sorted_terms, function (term) {
admin/form-builder/assets/js/components/form-taxonomy/template.php CHANGED
@@ -1,9 +1,9 @@
1
  <div class="wpuf-fields">
2
  <select
 
3
  :class="field.name"
4
  v-html ="get_term_dropdown_options()"
5
- >
6
- </select>
7
 
8
  <div v-if="'ajax' === field.type" class="category-wrap">
9
  <div>
@@ -27,12 +27,11 @@
27
  <div v-if="'yes' === field.show_inline" class="category-wrap">
28
  <div v-html="get_term_checklist_inline()"></div>
29
  </div>
30
- <div v-else-if="'no' === field.show_inline" class="category-wrap">
31
  <div v-html="get_term_checklist()"></div>
32
  </div>
33
  </div>
34
 
35
-
36
  <input
37
  v-if="'text' === field.type"
38
  class="textfield"
@@ -41,6 +40,5 @@
41
  size="40"
42
  autocomplete="off"
43
  >
44
-
45
  <span v-if="field.help" class="wpuf-help" v-html="field.help" />
46
  </div>
1
  <div class="wpuf-fields">
2
  <select
3
+ v-if="'select' === field.type"
4
  :class="field.name"
5
  v-html ="get_term_dropdown_options()"
6
+ />
 
7
 
8
  <div v-if="'ajax' === field.type" class="category-wrap">
9
  <div>
27
  <div v-if="'yes' === field.show_inline" class="category-wrap">
28
  <div v-html="get_term_checklist_inline()"></div>
29
  </div>
30
+ <div v-else class="category-wrap">
31
  <div v-html="get_term_checklist()"></div>
32
  </div>
33
  </div>
34
 
 
35
  <input
36
  v-if="'text' === field.type"
37
  class="textfield"
40
  size="40"
41
  autocomplete="off"
42
  >
 
43
  <span v-if="field.help" class="wpuf-help" v-html="field.help" />
44
  </div>
admin/html/whats-new.php CHANGED
@@ -1,5 +1,39 @@
1
  <?php
2
  $changelog = [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  [
4
  'version' => 'Version 3.4.0',
5
  'released' => '2020-08-24',
1
  <?php
2
  $changelog = [
3
+ [
4
+ 'version' => 'Version 3.5.0',
5
+ 'released' => '2020-09-22',
6
+ 'changes' => [
7
+ [
8
+ 'title' => __( 'Add character restriction feature', 'wp-user-frontend' ),
9
+ 'type' => 'New',
10
+ ],
11
+ [
12
+ 'title' => __( 'Make sure post author edit link works only in frontend', 'wp-user-frontend' ),
13
+ 'type' => 'Tweak',
14
+ ],
15
+ [
16
+ 'title' => __( 'Inconsistency in lost password reset email message', 'wp-user-frontend' ),
17
+ 'type' => 'Fix',
18
+ ],
19
+ [
20
+ 'title' => __( 'Saving custom taxonomy terms when input type is text', 'wp-user-frontend' ),
21
+ 'type' => 'Fix',
22
+ ],
23
+ [
24
+ 'title' => __( 'Taxonomy field JS error in builder', 'wp-user-frontend' ),
25
+ 'type' => 'Fix',
26
+ ],
27
+ [
28
+ 'title' => __( 'Showing WPUF edit link for WP default roles', 'wp-user-frontend' ),
29
+ 'type' => 'Fix',
30
+ ],
31
+ [
32
+ 'title' => __( 'Upload button unresponsive issue in iOS', 'wp-user-frontend' ),
33
+ 'type' => 'Fix',
34
+ ],
35
+ ],
36
+ ],
37
  [
38
  'version' => 'Version 3.4.0',
39
  'released' => '2020-08-24',
assets/css/frontend-forms.css CHANGED
@@ -1669,3 +1669,10 @@ ul.wpuf-form .wpuf-field-columns .wpuf-column-field-inner-columns .wpuf-column .
1669
  padding-left: 5px !important;
1670
  text-decoration: none !important;
1671
  }
 
 
 
 
 
 
 
1669
  padding-left: 5px !important;
1670
  text-decoration: none !important;
1671
  }
1672
+ /* Upload Button */
1673
+ .wpuf-attachment-upload-filelist {
1674
+ z-index: 1;
1675
+ }
1676
+ .wpuf-attachment-upload-filelist + .moxie-shim {
1677
+ z-index: 2;
1678
+ }
assets/js-templates/form-components.php CHANGED
@@ -749,10 +749,10 @@
749
  <script type="text/x-template" id="tmpl-wpuf-form-taxonomy">
750
  <div class="wpuf-fields">
751
  <select
 
752
  :class="field.name"
753
  v-html ="get_term_dropdown_options()"
754
- >
755
- </select>
756
 
757
  <div v-if="'ajax' === field.type" class="category-wrap">
758
  <div>
@@ -776,12 +776,11 @@
776
  <div v-if="'yes' === field.show_inline" class="category-wrap">
777
  <div v-html="get_term_checklist_inline()"></div>
778
  </div>
779
- <div v-else-if="'no' === field.show_inline" class="category-wrap">
780
  <div v-html="get_term_checklist()"></div>
781
  </div>
782
  </div>
783
 
784
-
785
  <input
786
  v-if="'text' === field.type"
787
  class="textfield"
@@ -790,7 +789,6 @@
790
  size="40"
791
  autocomplete="off"
792
  >
793
-
794
  <span v-if="field.help" class="wpuf-help" v-html="field.help" />
795
  </div>
796
  </script>
749
  <script type="text/x-template" id="tmpl-wpuf-form-taxonomy">
750
  <div class="wpuf-fields">
751
  <select
752
+ v-if="'select' === field.type"
753
  :class="field.name"
754
  v-html ="get_term_dropdown_options()"
755
+ />
 
756
 
757
  <div v-if="'ajax' === field.type" class="category-wrap">
758
  <div>
776
  <div v-if="'yes' === field.show_inline" class="category-wrap">
777
  <div v-html="get_term_checklist_inline()"></div>
778
  </div>
779
+ <div v-else class="category-wrap">
780
  <div v-html="get_term_checklist()"></div>
781
  </div>
782
  </div>
783
 
 
784
  <input
785
  v-if="'text' === field.type"
786
  class="textfield"
789
  size="40"
790
  autocomplete="off"
791
  >
 
792
  <span v-if="field.help" class="wpuf-help" v-html="field.help" />
793
  </div>
794
  </script>
assets/js/frontend-form.js CHANGED
@@ -833,22 +833,22 @@
833
 
834
  editorLimit: {
835
 
836
- bind: function(limit, field, type) {
837
  if ( type === 'no' ) {
838
  // it's a textarea
839
  $('textarea#' + field).keydown( function(event) {
840
- WP_User_Frontend.editorLimit.textLimit.call(this, event, limit);
841
  });
842
 
843
  $('input#' + field).keydown( function(event) {
844
- WP_User_Frontend.editorLimit.textLimit.call(this, event, limit);
845
  });
846
 
847
  $('textarea#' + field).on('paste', function(event) {
848
  var self = $(this);
849
 
850
  setTimeout(function() {
851
- WP_User_Frontend.editorLimit.textLimit.call(self, event, limit);
852
  }, 100);
853
  });
854
 
@@ -856,7 +856,7 @@
856
  var self = $(this);
857
 
858
  setTimeout(function() {
859
- WP_User_Frontend.editorLimit.textLimit.call(self, event, limit);
860
  }, 100);
861
  });
862
 
@@ -864,12 +864,12 @@
864
  // it's a rich textarea
865
  setTimeout(function () {
866
  tinyMCE.get(field).onKeyDown.add(function(ed, event) {
867
- WP_User_Frontend.editorLimit.tinymce.onKeyDown(ed, event, limit);
868
  } );
869
 
870
  tinyMCE.get(field).onPaste.add(function(ed, event) {
871
  setTimeout(function() {
872
- WP_User_Frontend.editorLimit.tinymce.onPaste(ed, event, limit);
873
  }, 100);
874
  });
875
 
@@ -888,14 +888,20 @@
888
  };
889
  },
890
 
891
- onKeyDown: function(ed, event, limit) {
892
- var numWords = WP_User_Frontend.editorLimit.tinymce.getStats(ed).words - 1;
893
 
894
- limit ? $('.mce-path-item.mce-last', ed.container).html('Word Limit : '+ numWords +'/'+limit):'';
 
 
 
 
 
 
 
895
 
896
  if ( limit && numWords > limit ) {
897
  WP_User_Frontend.editorLimit.blockTyping(event);
898
- jQuery('.mce-path-item.mce-last', ed.container).html( wpuf_frontend.word_limit );
899
  }
900
  },
901
 
@@ -910,12 +916,16 @@
910
  }
911
  },
912
 
913
- textLimit: function(event, limit) {
914
  var self = $(this),
915
- content = self.val().split(' ');
 
 
 
 
916
 
917
- if ( limit && content.length > limit ) {
918
- self.closest('.wpuf-fields').find('span.wpuf-wordlimit-message').html( wpuf_frontend.word_limit );
919
  WP_User_Frontend.editorLimit.blockTyping(event);
920
  } else {
921
  self.closest('.wpuf-fields').find('span.wpuf-wordlimit-message').html('');
@@ -923,7 +933,11 @@
923
 
924
  // handle the paste event
925
  if ( event.type === 'paste' ) {
926
- self.val( content.slice(0, limit).join( ' ' ) );
 
 
 
 
927
  }
928
  },
929
 
@@ -957,6 +971,10 @@
957
 
958
  doUncheckRadioBtn: function ( el ) {
959
  el.checked = false;
 
 
 
 
960
  }
961
  };
962
 
833
 
834
  editorLimit: {
835
 
836
+ bind: function(limit, field, type, limit_type) {
837
  if ( type === 'no' ) {
838
  // it's a textarea
839
  $('textarea#' + field).keydown( function(event) {
840
+ WP_User_Frontend.editorLimit.textLimit.call(this, event, limit, limit_type);
841
  });
842
 
843
  $('input#' + field).keydown( function(event) {
844
+ WP_User_Frontend.editorLimit.textLimit.call(this, event, limit, limit_type);
845
  });
846
 
847
  $('textarea#' + field).on('paste', function(event) {
848
  var self = $(this);
849
 
850
  setTimeout(function() {
851
+ WP_User_Frontend.editorLimit.textLimit.call(self, event, limit, limit_type);
852
  }, 100);
853
  });
854
 
856
  var self = $(this);
857
 
858
  setTimeout(function() {
859
+ WP_User_Frontend.editorLimit.textLimit.call(self, event, limit, limit_type);
860
  }, 100);
861
  });
862
 
864
  // it's a rich textarea
865
  setTimeout(function () {
866
  tinyMCE.get(field).onKeyDown.add(function(ed, event) {
867
+ WP_User_Frontend.editorLimit.tinymce.onKeyDown(ed, event, limit, limit_type);
868
  } );
869
 
870
  tinyMCE.get(field).onPaste.add(function(ed, event) {
871
  setTimeout(function() {
872
+ WP_User_Frontend.editorLimit.tinymce.onPaste(ed, event, limit, limit_type);
873
  }, 100);
874
  });
875
 
888
  };
889
  },
890
 
891
+ onKeyDown: function(ed, event, limit, limit_type) {
 
892
 
893
+ var numWords = WP_User_Frontend.editorLimit.tinymce.getStats(ed).chars + 1,
894
+ limit_label = ( 'word' === limit_type ) ? 'Word Limit : ' : 'Character Limit : ';
895
+
896
+ if ( 'word' === limit_type ) {
897
+ numWords = WP_User_Frontend.editorLimit.tinymce.getStats(ed).words - 1;
898
+ }
899
+
900
+ limit ? $('.mce-path-item.mce-last', ed.container).html( limit_label + numWords +'/'+limit):'';
901
 
902
  if ( limit && numWords > limit ) {
903
  WP_User_Frontend.editorLimit.blockTyping(event);
904
+ jQuery('.mce-path-item.mce-last', ed.container).html( WP_User_Frontend.content_limit_message( limit_type ) );
905
  }
906
  },
907
 
916
  }
917
  },
918
 
919
+ textLimit: function(event, limit, limit_type) {
920
  var self = $(this),
921
+ content_length = self.val().length + 1;
922
+
923
+ if ( 'word' === limit_type ) {
924
+ content_length = self.val().split(' ').length;
925
+ }
926
 
927
+ if ( limit && content_length > limit ) {
928
+ self.closest('.wpuf-fields').find('span.wpuf-wordlimit-message').html( WP_User_Frontend.content_limit_message( limit_type ) );
929
  WP_User_Frontend.editorLimit.blockTyping(event);
930
  } else {
931
  self.closest('.wpuf-fields').find('span.wpuf-wordlimit-message').html('');
933
 
934
  // handle the paste event
935
  if ( event.type === 'paste' ) {
936
+ self.val( content.substring( 0, limit) );
937
+
938
+ if ( 'word' === limit_type ) {
939
+ self.val( content.slice(0, limit).join( ' ' ) );
940
+ }
941
  }
942
  },
943
 
971
 
972
  doUncheckRadioBtn: function ( el ) {
973
  el.checked = false;
974
+ },
975
+
976
+ content_limit_message: function( content_limit_type ) {
977
+ return ( 'word' === content_limit_type ) ? 'Word limit reached.' : 'Character limit reached.';
978
  }
979
  };
980
 
assets/js/frontend-form.min.js CHANGED
@@ -1 +1 @@
1
- !function(a,b){a.fn.listautowidth=function(){return this.each(function(){var b=a(this).width(),c=b/a(this).children("li").length;a(this).children("li").each(function(){var b=a(this).outerWidth(!0)-a(this).width();a(this).width(c-b)})})},b.WP_User_Frontend={init:function(){this.enableMultistep(this),a(".wpuf-form").on("click","img.wpuf-clone-field",this.cloneField),a(".wpuf-form").on("click","img.wpuf-remove-field",this.removeField),a(".wpuf-form").on("click","a.wpuf-delete-avatar",this.deleteAvatar),a(".wpuf-form").on("click","a#wpuf-post-draft",this.draftPost),a(".wpuf-form").on("click","button#wpuf-account-update-profile",this.account_update_profile),a(".wpuf-form-add").on("submit",this.formSubmit),a("form#post").on("submit",this.adminPostSubmit),a(".wpuf-form").on("step-change-fieldset",function(a,b,c){if(wpuf_plupload_items.length)for(var d=wpuf_plupload_items.length-1;d>=0;d--)wpuf_plupload_items[d].refresh();if(wpuf_map_items.length)for(var d=wpuf_map_items.length-1;d>=0;d--)google.maps.event.trigger(wpuf_map_items[d].map,"resize"),wpuf_map_items[d].map.setCenter(wpuf_map_items[d].center)}),this.ajaxCategory(),a(':submit[name="wpuf_user_subscription_cancel"]').click(function(b){b.preventDefault(),swal({text:wpuf_frontend.cancelSubMsg,type:"warning",showCancelButton:!0,confirmButtonColor:"#d54e21",confirmButtonText:wpuf_frontend.delete_it,cancelButtonText:wpuf_frontend.cancel_it,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger"}).then(function(b){if(!b)return!1;a("#wpuf_cancel_subscription").submit()})})},check_pass_strength:function(){var b=a("#pass1").val();if(a("#pass-strength-result").show(),a("#pass-strength-result").removeClass("short bad good strong"),!b)return a("#pass-strength-result").html("&nbsp;"),void a("#pass-strength-result").hide();if(void 0!==wp.passwordStrength)switch(wp.passwordStrength.meter(b,wp.passwordStrength.userInputBlacklist(),b)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n.short)}},enableMultistep:function(c){var d=this,e=0,f=a(':hidden[name="wpuf_multistep_type"]').val();if(null!=f){if(a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-prev-btn").first().remove(),a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-next-btn").last().remove(),a(".wpuf-form fieldset").removeClass("field-active").first().addClass("field-active"),"progressive"==f&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){a("fieldset.wpuf-multistep-fieldset legend").first();a(".wpuf-multistep-progressbar").html('<div class="wpuf-progress-percentage"></div>');var g=a(".wpuf-multistep-progressbar"),h=a(".wpuf-progress-percentage");a(".wpuf-multistep-progressbar").progressbar({change:function(){h.text(g.progressbar("value")+"%")}}),a(".wpuf-multistep-fieldset legend").hide()}else a(".wpuf-form").each(function(){var b=a(this),c=a(".wpuf-multistep-progressbar",b),d="";c.addClass("wizard-steps"),d+='<ul class="wpuf-step-wizard">',a(".wpuf-multistep-fieldset",this).each(function(){d+="<li>"+a.trim(a("legend",this).text())+"</li>",a("legend",this).hide()}),d+="</ul>",c.append(d),a(".wpuf-step-wizard li",c).first().addClass("active-step"),a(".wpuf-step-wizard",c).listautowidth()});this.change_fieldset(e,f),a("fieldset .wpuf-multistep-prev-btn, fieldset .wpuf-multistep-next-btn").click(function(g){if(a(this).hasClass("wpuf-multistep-next-btn")){0!=d.formStepCheck("",a(this).closest("fieldset"))&&c.change_fieldset(++e,f)}else a(this).hasClass("wpuf-multistep-prev-btn")&&c.change_fieldset(--e,f);var h=a("form.wpuf-form-add"),i=h.offset().top;return b.scrollTo({top:i-32,behavior:"smooth"}),!1})}},change_fieldset:function(b,c){var d=a("fieldset.wpuf-multistep-fieldset").eq(b);a("fieldset.wpuf-multistep-fieldset").removeClass("field-active").eq(b).addClass("field-active"),a(".wpuf-step-wizard li").each(function(){a(this).index()<=b?"step_by_step"==c?a(this).addClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).addClass("passed-wpuf-ms-bar"):"step_by_step"==c?a(this).removeClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).removeClass("passed-wpuf-ms-bar")}),a(".wpuf-step-wizard li").removeClass("wpuf-ms-bar-active active-step completed-step"),a(".passed-wpuf-ms-bar").addClass("completed-step").last().addClass("wpuf-ms-bar-active"),a(".wpuf-ms-bar-active").addClass("active-step");var e=a("fieldset.wpuf-multistep-fieldset").eq(b).find("legend").text();if(e=a.trim(e),"progressive"==c&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){var f=100*(b+1)/a("fieldset.wpuf-multistep-fieldset").length,f=Number(f.toFixed(2));a(".wpuf-multistep-progressbar").progressbar({value:f}),a(".wpuf-progress-percentage").text(e+" ("+f+"%)")}a(".wpuf-form").trigger("step-change-fieldset",[b,d])},ajaxCategory:function(){a(".category-wrap").on("change",".cat-ajax",function(){var b=a(this).data("form-id");currentLevel=parseInt(a(this).parent().attr("level")),WP_User_Frontend.getChildCats(a(this),currentLevel+1,"category",b)})},getChildCats:function(b,c,d,e){var f=a(b).val(),g="wpuf-category-dropdown-lvl-"+c,d=void 0!==d?d:"category",h=a(b).siblings("span").data("taxonomy");a.ajax({type:"post",url:wpuf_frontend.ajaxurl,data:{action:"wpuf_get_child_cat",catID:f,nonce:wpuf_frontend.nonce,field_attr:h,form_id:e},beforeSend:function(){a(b).parent().parent().next(".loading").addClass("wpuf-loading")},complete:function(){a(b).parent().parent().next(".loading").removeClass("wpuf-loading")},success:function(e){a(b).parent().nextAll().each(function(){a(this).remove()}),""!=e&&(a(b).parent().addClass("hasChild").parent().append('<div id="'+g+'" level="'+c+'"></div>'),b.parent().parent().find("#"+g).html(e).slideDown("fast")),a(document).trigger("wpuf-ajax-fetched-child-categories",g,c,d)}})},cloneField:function(b){b.preventDefault();var c=a(this).closest("tr"),d=c.clone();d.find("input").val(""),d.find(":checked").attr("checked",""),c.after(d)},removeField:function(){var b=a(this).closest("tr");b.siblings().andSelf().length>1&&b.remove()},adminPostSubmit:function(b){b.preventDefault();var c=a(this);if(WP_User_Frontend.validateForm(c))return!0},draftPost:function(b){b.preventDefault();var c=a(this),d=a(this).closest("form"),e=d.serialize()+"&action=wpuf_draft_post",f=d.find('input[type="hidden"][name="post_id"]').val(),g=[];a(".wpuf-rich-validation").each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),f=a.trim(tinyMCE.get(d).getContent());g.push(e+"="+encodeURIComponent(f))}),e=e+"&"+g.join("&"),c.after(' <span class="wpuf-loading"></span>'),a.post(wpuf_frontend.ajaxurl,e,function(b){if(void 0===f){var e='<input type="hidden" name="post_id" value="'+b.post_id+'">';e+='<input type="hidden" name="post_date" value="'+b.date+'">',e+='<input type="hidden" name="post_author" value="'+b.post_author+'">',e+='<input type="hidden" name="comment_status" value="'+b.comment_status+'">',d.append(e)}c.next("span.wpuf-loading").remove(),c.after('<span class="wpuf-draft-saved">&nbsp; Post Saved</span>'),a(".wpuf-draft-saved").delay(2500).fadeOut("fast",function(){a(this).remove()})})},account_update_profile:function(b){b.preventDefault();var c=a(this).closest("form");a.post(wpuf_frontend.ajaxurl,c.serialize(),function(a){a.success?(c.find(".wpuf-error").hide(),c.find(".wpuf-success").show()):(c.find(".wpuf-success").hide(),c.find(".wpuf-error").show(),c.find(".wpuf-error").text(a.data))})},formStepCheck:function(a,b){var c=b;c.find("input[type=submit]");return form_data=WP_User_Frontend.validateForm(c),0==form_data&&WP_User_Frontend.addErrorNotice(self,"bottom"),form_data},formSubmit:function(c){c.preventDefault();var d=a(this),e=d.find("input[type=submit]");form_data=WP_User_Frontend.validateForm(d),form_data&&(d.find("li.wpuf-submit").append('<span class="wpuf-loading"></span>'),e.attr("disabled","disabled").addClass("button-primary-disabled"),a.post(wpuf_frontend.ajaxurl,form_data,function(c){if(c.success)a("body").trigger("wpuf:postform:success",c),1==c.show_message?(d.before('<div class="wpuf-success">'+c.message+"</div>"),d.slideUp("fast",function(){d.remove()}),a("html, body").animate({scrollTop:a(".wpuf-success").offset().top-100},"fast")):b.location=c.redirect_to;else{if(void 0!==c.type&&"login"===c.type)return void(confirm(c.error)?b.location=c.redirect_to:(e.removeAttr("disabled"),e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()));d.find(".g-recaptcha").length>0&&grecaptcha.reset(),swal({html:c.error,type:"warning",showCancelButton:!1,confirmButtonColor:"#d54e21",confirmButtonText:"OK",cancelButtonClass:"btn btn-danger"}),e.removeAttr("disabled")}e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()}))},validateForm:function(b){var c=!1;error_type="",WP_User_Frontend.removeErrors(b),WP_User_Frontend.removeErrorNotice(b),b.find('[data-required="yes"]:visible').each(function(b,d){var e=a(d).data("type");switch(j="",e){case"rich":var f=a(d).data("id");""===(j=a.trim(tinyMCE.get(f).getContent()))&&(c=!0,WP_User_Frontend.markError(d));break;case"textarea":case"text":""===(j=a.trim(a(d).val()))&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"password":case"confirm_password":var g=a(d).data("repeat");if(j=a.trim(a(d).val()),""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type)),g){var h=a('[data-type="confirm_password"]').eq(0);h.val()!=j&&(c=!0,error_type="mismatch",WP_User_Frontend.markError(h,error_type))}break;case"select":(j=a(d).val())&&"-1"!==j||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"multiselect":null!==(j=a(d).val())&&0!==j.length||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"tax-checkbox":var i=a(d).children().find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"radio":var i=a(d).find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"file":var i=a(d).find("ul").children().length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"email":var j=a(d).val();""!==j?WP_User_Frontend.isValidEmail(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)):""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"url":var j=a(d).val();""!==j&&(WP_User_Frontend.isValidURL(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)))}});var d=b.find('[data-required="yes"][name="google_map"]');if(d){","==a(d).val()&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type))}if(c)return WP_User_Frontend.addErrorNotice(b,"end"),!1;var e=b.serialize(),f=[];return a(".wpuf-rich-validation",b).each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),g=a.trim(tinyMCE.get(d).getContent());f.push(e+"="+encodeURIComponent(g))}),e=e+"&"+f.join("&")},addErrorNotice:function(b,c){"bottom"==c?a(".wpuf-multistep-fieldset:visible").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>"):a(b).find("li.wpuf-submit").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>")},removeErrorNotice:function(b){a(b).find(".wpuf-errors").remove()},markError:function(b,c){var d="";if(a(b).closest("li").addClass("has-error"),c){switch(d=a(b).closest("li").data("label"),c){case"required":case"mismatch":case"validation":d=d+" "+error_str_obj[c]}a(b).siblings(".wpuf-error-msg").remove(),a(b).after('<div class="wpuf-error-msg">'+d+"</div>")}a(b).focus()},removeErrors:function(b){a(b).find(".has-error").removeClass("has-error"),a(".wpuf-error-msg").remove()},isValidEmail:function(a){return new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(a)},isValidURL:function(a){return new RegExp("^(http://www.|https://www.|ftp://www.|www.|http://|https://){1}([0-9A-Za-z]+.)").test(a)},insertImage:function(b,c){if(a("#"+b).length){var d=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:"wpuf-insert-image-container",multipart:!0,multipart_params:{action:"wpuf_insert_image",form_id:a("#"+b).data("form_id")},multiple_queues:!1,multi_selection:!1,urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:wpuf_frontend_upload.max_filesize,url:wpuf_frontend_upload.plupload.url,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:"jpg,jpeg,gif,png,bmp"}]});d.bind("Init",function(a,b){}),d.bind("FilesAdded",function(b,c){var d=a("#wpuf-insert-image-container");a.each(c,function(a,b){d.append('<div class="upload-item" id="'+b.id+'"><div class="progress progress-striped active"><div class="bar"></div></div></div>')}),b.refresh(),b.start()}),d.bind("QueueChanged",function(a){d.start()}),d.bind("UploadProgress",function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")}),d.bind("Error",function(a,b){alert("Error #"+b.code+": "+b.message)}),d.bind("FileUploaded",function(b,d,e){if(a("#"+d.id).remove(),"error"!==e.response){if("undefined"!=typeof tinyMCE)if("function"!=typeof tinyMCE.execInstanceCommand){var f=tinyMCE.get("post_content_"+c);null!==f&&f.insertContent(e.response)}else tinyMCE.execInstanceCommand("post_content_"+c,"mceInsertContent",!1,e.response);var g=a("#post_content_"+c);g.val(g.val()+e.response)}else alert("Something went wrong")}),d.init()}},deleteAvatar:function(b){b.preventDefault(),confirm(a(this).data("confirm"))&&a.post(wpuf_frontend.ajaxurl,{action:"wpuf_delete_avatar",_wpnonce:wpuf_frontend.nonce},function(){a(b.target).parent().remove(),a("[id^=wpuf-avatar]").css("display","")})},editorLimit:{bind:function(b,c,d){"no"===d?(a("textarea#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b)}),a("input#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b)}),a("textarea#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b)},100)}),a("input#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b)},100)})):setTimeout(function(){tinyMCE.get(c).onKeyDown.add(function(a,c){WP_User_Frontend.editorLimit.tinymce.onKeyDown(a,c,b)}),tinyMCE.get(c).onPaste.add(function(a,c){setTimeout(function(){WP_User_Frontend.editorLimit.tinymce.onPaste(a,c,b)},100)})},1e3)},tinymce:{getStats:function(a){var b=a.getBody(),c=tinymce.trim(b.innerText||b.textContent);return{chars:c.length,words:c.split(/[\w\u2019\'-]+/).length}},onKeyDown:function(b,c,d){var e=WP_User_Frontend.editorLimit.tinymce.getStats(b).words-1;d&&a(".mce-path-item.mce-last",b.container).html("Word Limit : "+e+"/"+d),d&&e>d&&(WP_User_Frontend.editorLimit.blockTyping(c),jQuery(".mce-path-item.mce-last",b.container).html(wpuf_frontend.word_limit))},onPaste:function(a,b,c){var d=a.getContent().split(" ").slice(0,c).join(" ");a.setContent(d),WP_User_Frontend.editorLimit.make_media_embed_code(d,a)}},textLimit:function(b,c){var d=a(this),e=d.val().split(" ");c&&e.length>c?(d.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(wpuf_frontend.word_limit),WP_User_Frontend.editorLimit.blockTyping(b)):d.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(""),"paste"===b.type&&d.val(e.slice(0,c).join(" "))},blockTyping:function(b){-1!==a.inArray(b.keyCode,[46,8,9,27,13,110,190,189])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=40||(b.preventDefault(),b.stopPropagation())},make_media_embed_code:function(b,c){a.post(ajaxurl,{action:"make_media_embed_code",content:b},function(a){c.setContent(c.getContent()+c.setContent(a))})}},doUncheckRadioBtn:function(a){a.checked=!1}},a(function(){if(WP_User_Frontend.init(),a("ul.wpuf-payment-gateways").on("click","input[type=radio]",function(b){a(".wpuf-payment-instruction").slideUp(250),a(this).parents("li").find(".wpuf-payment-instruction").slideDown(250)}),a("ul.wpuf-payment-gateways li").find("input[type=radio]").is(":checked")){a("ul.wpuf-payment-gateways li").find("input[type=radio]:checked").parents("li").find(".wpuf-payment-instruction").slideDown(250)}else a("ul.wpuf-payment-gateways li").first().find("input[type=radio]").click()}),a(function(){a('input[name="first_name"], input[name="last_name"]').on("change keyup",function(){var b,c=a.makeArray(a('input[name="first_name"], input[name="last_name"]').map(function(){if(b=a(this).val())return b})).join(" ");a('input[name="display_name"]').val(c)})}),a(function(a){a('.wpuf-form-add input[name="dokan_store_name"]').on("focusout",function(){var b=a(this).val().toLowerCase().replace(/-+/g,"").replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"");a('input[name="shopurl"]').val(b),a("#url-alart").text(b),a('input[name="shopurl"]').focus()}),a('.wpuf-form-add input[name="shopurl"]').keydown(function(b){a(this).val();-1!==a.inArray(b.keyCode,[46,8,9,27,13,91,109,110,173,189,190])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=39||(b.shiftKey||(b.keyCode<65||b.keyCode>90)&&(b.keyCode<48||b.keyCode>57))&&(b.keyCode<96||b.keyCode>105)&&b.preventDefault()}),a('.wpuf-form-add input[name="shopurl"]').keyup(function(b){a("#url-alart").text(a(this).val())}),a('.wpuf-form-add input[name="shopurl"]').on("focusout",function(){var b=a(this),c={action:"shop_url",url_slug:b.val(),_nonce:dokan.nonce};""!==b.val()&&a.post(dokan.ajaxurl,c,function(b){0==b?(a("#url-alart").removeClass("text-success").addClass("text-danger"),a("#url-alart-mgs").removeClass("text-success").addClass("text-danger").text(dokan.seller.notAvailable)):(a("#url-alart").removeClass("text-danger").addClass("text-success"),a("#url-alart-mgs").removeClass("text-danger").addClass("text-success").text(dokan.seller.available))})}),a(".wpuf-form-add #wpuf-map-add-location").attr("name","find_address")})}(jQuery,window);
1
+ !function(a,b){a.fn.listautowidth=function(){return this.each(function(){var b=a(this).width(),c=b/a(this).children("li").length;a(this).children("li").each(function(){var b=a(this).outerWidth(!0)-a(this).width();a(this).width(c-b)})})},b.WP_User_Frontend={init:function(){this.enableMultistep(this),a(".wpuf-form").on("click","img.wpuf-clone-field",this.cloneField),a(".wpuf-form").on("click","img.wpuf-remove-field",this.removeField),a(".wpuf-form").on("click","a.wpuf-delete-avatar",this.deleteAvatar),a(".wpuf-form").on("click","a#wpuf-post-draft",this.draftPost),a(".wpuf-form").on("click","button#wpuf-account-update-profile",this.account_update_profile),a(".wpuf-form-add").on("submit",this.formSubmit),a("form#post").on("submit",this.adminPostSubmit),a(".wpuf-form").on("step-change-fieldset",function(a,b,c){if(wpuf_plupload_items.length)for(var d=wpuf_plupload_items.length-1;d>=0;d--)wpuf_plupload_items[d].refresh();if(wpuf_map_items.length)for(var d=wpuf_map_items.length-1;d>=0;d--)google.maps.event.trigger(wpuf_map_items[d].map,"resize"),wpuf_map_items[d].map.setCenter(wpuf_map_items[d].center)}),this.ajaxCategory(),a(':submit[name="wpuf_user_subscription_cancel"]').click(function(b){b.preventDefault(),swal({text:wpuf_frontend.cancelSubMsg,type:"warning",showCancelButton:!0,confirmButtonColor:"#d54e21",confirmButtonText:wpuf_frontend.delete_it,cancelButtonText:wpuf_frontend.cancel_it,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger"}).then(function(b){if(!b)return!1;a("#wpuf_cancel_subscription").submit()})})},check_pass_strength:function(){var b=a("#pass1").val();if(a("#pass-strength-result").show(),a("#pass-strength-result").removeClass("short bad good strong"),!b)return a("#pass-strength-result").html("&nbsp;"),void a("#pass-strength-result").hide();if(void 0!==wp.passwordStrength)switch(wp.passwordStrength.meter(b,wp.passwordStrength.userInputBlacklist(),b)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n.short)}},enableMultistep:function(c){var d=this,e=0,f=a(':hidden[name="wpuf_multistep_type"]').val();if(null!=f){if(a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-prev-btn").first().remove(),a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-next-btn").last().remove(),a(".wpuf-form fieldset").removeClass("field-active").first().addClass("field-active"),"progressive"==f&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){a("fieldset.wpuf-multistep-fieldset legend").first();a(".wpuf-multistep-progressbar").html('<div class="wpuf-progress-percentage"></div>');var g=a(".wpuf-multistep-progressbar"),h=a(".wpuf-progress-percentage");a(".wpuf-multistep-progressbar").progressbar({change:function(){h.text(g.progressbar("value")+"%")}}),a(".wpuf-multistep-fieldset legend").hide()}else a(".wpuf-form").each(function(){var b=a(this),c=a(".wpuf-multistep-progressbar",b),d="";c.addClass("wizard-steps"),d+='<ul class="wpuf-step-wizard">',a(".wpuf-multistep-fieldset",this).each(function(){d+="<li>"+a.trim(a("legend",this).text())+"</li>",a("legend",this).hide()}),d+="</ul>",c.append(d),a(".wpuf-step-wizard li",c).first().addClass("active-step"),a(".wpuf-step-wizard",c).listautowidth()});this.change_fieldset(e,f),a("fieldset .wpuf-multistep-prev-btn, fieldset .wpuf-multistep-next-btn").click(function(g){if(a(this).hasClass("wpuf-multistep-next-btn")){0!=d.formStepCheck("",a(this).closest("fieldset"))&&c.change_fieldset(++e,f)}else a(this).hasClass("wpuf-multistep-prev-btn")&&c.change_fieldset(--e,f);var h=a("form.wpuf-form-add"),i=h.offset().top;return b.scrollTo({top:i-32,behavior:"smooth"}),!1})}},change_fieldset:function(b,c){var d=a("fieldset.wpuf-multistep-fieldset").eq(b);a("fieldset.wpuf-multistep-fieldset").removeClass("field-active").eq(b).addClass("field-active"),a(".wpuf-step-wizard li").each(function(){a(this).index()<=b?"step_by_step"==c?a(this).addClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).addClass("passed-wpuf-ms-bar"):"step_by_step"==c?a(this).removeClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).removeClass("passed-wpuf-ms-bar")}),a(".wpuf-step-wizard li").removeClass("wpuf-ms-bar-active active-step completed-step"),a(".passed-wpuf-ms-bar").addClass("completed-step").last().addClass("wpuf-ms-bar-active"),a(".wpuf-ms-bar-active").addClass("active-step");var e=a("fieldset.wpuf-multistep-fieldset").eq(b).find("legend").text();if(e=a.trim(e),"progressive"==c&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){var f=100*(b+1)/a("fieldset.wpuf-multistep-fieldset").length,f=Number(f.toFixed(2));a(".wpuf-multistep-progressbar").progressbar({value:f}),a(".wpuf-progress-percentage").text(e+" ("+f+"%)")}a(".wpuf-form").trigger("step-change-fieldset",[b,d])},ajaxCategory:function(){a(".category-wrap").on("change",".cat-ajax",function(){var b=a(this).data("form-id");currentLevel=parseInt(a(this).parent().attr("level")),WP_User_Frontend.getChildCats(a(this),currentLevel+1,"category",b)})},getChildCats:function(b,c,d,e){var f=a(b).val(),g="wpuf-category-dropdown-lvl-"+c,d=void 0!==d?d:"category",h=a(b).siblings("span").data("taxonomy");a.ajax({type:"post",url:wpuf_frontend.ajaxurl,data:{action:"wpuf_get_child_cat",catID:f,nonce:wpuf_frontend.nonce,field_attr:h,form_id:e},beforeSend:function(){a(b).parent().parent().next(".loading").addClass("wpuf-loading")},complete:function(){a(b).parent().parent().next(".loading").removeClass("wpuf-loading")},success:function(e){a(b).parent().nextAll().each(function(){a(this).remove()}),""!=e&&(a(b).parent().addClass("hasChild").parent().append('<div id="'+g+'" level="'+c+'"></div>'),b.parent().parent().find("#"+g).html(e).slideDown("fast")),a(document).trigger("wpuf-ajax-fetched-child-categories",g,c,d)}})},cloneField:function(b){b.preventDefault();var c=a(this).closest("tr"),d=c.clone();d.find("input").val(""),d.find(":checked").attr("checked",""),c.after(d)},removeField:function(){var b=a(this).closest("tr");b.siblings().andSelf().length>1&&b.remove()},adminPostSubmit:function(b){b.preventDefault();var c=a(this);if(WP_User_Frontend.validateForm(c))return!0},draftPost:function(b){b.preventDefault();var c=a(this),d=a(this).closest("form"),e=d.serialize()+"&action=wpuf_draft_post",f=d.find('input[type="hidden"][name="post_id"]').val(),g=[];a(".wpuf-rich-validation").each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),f=a.trim(tinyMCE.get(d).getContent());g.push(e+"="+encodeURIComponent(f))}),e=e+"&"+g.join("&"),c.after(' <span class="wpuf-loading"></span>'),a.post(wpuf_frontend.ajaxurl,e,function(b){if(void 0===f){var e='<input type="hidden" name="post_id" value="'+b.post_id+'">';e+='<input type="hidden" name="post_date" value="'+b.date+'">',e+='<input type="hidden" name="post_author" value="'+b.post_author+'">',e+='<input type="hidden" name="comment_status" value="'+b.comment_status+'">',d.append(e)}c.next("span.wpuf-loading").remove(),c.after('<span class="wpuf-draft-saved">&nbsp; Post Saved</span>'),a(".wpuf-draft-saved").delay(2500).fadeOut("fast",function(){a(this).remove()})})},account_update_profile:function(b){b.preventDefault();var c=a(this).closest("form");a.post(wpuf_frontend.ajaxurl,c.serialize(),function(a){a.success?(c.find(".wpuf-error").hide(),c.find(".wpuf-success").show()):(c.find(".wpuf-success").hide(),c.find(".wpuf-error").show(),c.find(".wpuf-error").text(a.data))})},formStepCheck:function(a,b){var c=b;c.find("input[type=submit]");return form_data=WP_User_Frontend.validateForm(c),0==form_data&&WP_User_Frontend.addErrorNotice(self,"bottom"),form_data},formSubmit:function(c){c.preventDefault();var d=a(this),e=d.find("input[type=submit]");form_data=WP_User_Frontend.validateForm(d),form_data&&(d.find("li.wpuf-submit").append('<span class="wpuf-loading"></span>'),e.attr("disabled","disabled").addClass("button-primary-disabled"),a.post(wpuf_frontend.ajaxurl,form_data,function(c){if(c.success)a("body").trigger("wpuf:postform:success",c),1==c.show_message?(d.before('<div class="wpuf-success">'+c.message+"</div>"),d.slideUp("fast",function(){d.remove()}),a("html, body").animate({scrollTop:a(".wpuf-success").offset().top-100},"fast")):b.location=c.redirect_to;else{if(void 0!==c.type&&"login"===c.type)return void(confirm(c.error)?b.location=c.redirect_to:(e.removeAttr("disabled"),e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()));d.find(".g-recaptcha").length>0&&grecaptcha.reset(),swal({html:c.error,type:"warning",showCancelButton:!1,confirmButtonColor:"#d54e21",confirmButtonText:"OK",cancelButtonClass:"btn btn-danger"}),e.removeAttr("disabled")}e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()}))},validateForm:function(b){var c=!1;error_type="",WP_User_Frontend.removeErrors(b),WP_User_Frontend.removeErrorNotice(b),b.find('[data-required="yes"]:visible').each(function(b,d){var e=a(d).data("type");switch(j="",e){case"rich":var f=a(d).data("id");""===(j=a.trim(tinyMCE.get(f).getContent()))&&(c=!0,WP_User_Frontend.markError(d));break;case"textarea":case"text":""===(j=a.trim(a(d).val()))&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"password":case"confirm_password":var g=a(d).data("repeat");if(j=a.trim(a(d).val()),""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type)),g){var h=a('[data-type="confirm_password"]').eq(0);h.val()!=j&&(c=!0,error_type="mismatch",WP_User_Frontend.markError(h,error_type))}break;case"select":(j=a(d).val())&&"-1"!==j||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"multiselect":null!==(j=a(d).val())&&0!==j.length||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"tax-checkbox":var i=a(d).children().find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"radio":var i=a(d).find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"file":var i=a(d).find("ul").children().length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"email":var j=a(d).val();""!==j?WP_User_Frontend.isValidEmail(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)):""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"url":var j=a(d).val();""!==j&&(WP_User_Frontend.isValidURL(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)))}});var d=b.find('[data-required="yes"][name="google_map"]');if(d){","==a(d).val()&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type))}if(c)return WP_User_Frontend.addErrorNotice(b,"end"),!1;var e=b.serialize(),f=[];return a(".wpuf-rich-validation",b).each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),g=a.trim(tinyMCE.get(d).getContent());f.push(e+"="+encodeURIComponent(g))}),e=e+"&"+f.join("&")},addErrorNotice:function(b,c){"bottom"==c?a(".wpuf-multistep-fieldset:visible").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>"):a(b).find("li.wpuf-submit").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>")},removeErrorNotice:function(b){a(b).find(".wpuf-errors").remove()},markError:function(b,c){var d="";if(a(b).closest("li").addClass("has-error"),c){switch(d=a(b).closest("li").data("label"),c){case"required":case"mismatch":case"validation":d=d+" "+error_str_obj[c]}a(b).siblings(".wpuf-error-msg").remove(),a(b).after('<div class="wpuf-error-msg">'+d+"</div>")}a(b).focus()},removeErrors:function(b){a(b).find(".has-error").removeClass("has-error"),a(".wpuf-error-msg").remove()},isValidEmail:function(a){return new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(a)},isValidURL:function(a){return new RegExp("^(http://www.|https://www.|ftp://www.|www.|http://|https://){1}([0-9A-Za-z]+.)").test(a)},insertImage:function(b,c){if(a("#"+b).length){var d=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:"wpuf-insert-image-container",multipart:!0,multipart_params:{action:"wpuf_insert_image",form_id:a("#"+b).data("form_id")},multiple_queues:!1,multi_selection:!1,urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:wpuf_frontend_upload.max_filesize,url:wpuf_frontend_upload.plupload.url,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:"jpg,jpeg,gif,png,bmp"}]});d.bind("Init",function(a,b){}),d.bind("FilesAdded",function(b,c){var d=a("#wpuf-insert-image-container");a.each(c,function(a,b){d.append('<div class="upload-item" id="'+b.id+'"><div class="progress progress-striped active"><div class="bar"></div></div></div>')}),b.refresh(),b.start()}),d.bind("QueueChanged",function(a){d.start()}),d.bind("UploadProgress",function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")}),d.bind("Error",function(a,b){alert("Error #"+b.code+": "+b.message)}),d.bind("FileUploaded",function(b,d,e){if(a("#"+d.id).remove(),"error"!==e.response){if("undefined"!=typeof tinyMCE)if("function"!=typeof tinyMCE.execInstanceCommand){var f=tinyMCE.get("post_content_"+c);null!==f&&f.insertContent(e.response)}else tinyMCE.execInstanceCommand("post_content_"+c,"mceInsertContent",!1,e.response);var g=a("#post_content_"+c);g.val(g.val()+e.response)}else alert("Something went wrong")}),d.init()}},deleteAvatar:function(b){b.preventDefault(),confirm(a(this).data("confirm"))&&a.post(wpuf_frontend.ajaxurl,{action:"wpuf_delete_avatar",_wpnonce:wpuf_frontend.nonce},function(){a(b.target).parent().remove(),a("[id^=wpuf-avatar]").css("display","")})},editorLimit:{bind:function(b,c,d,e){"no"===d?(a("textarea#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b,e)}),a("input#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b,e)}),a("textarea#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b,e)},100)}),a("input#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b,e)},100)})):setTimeout(function(){tinyMCE.get(c).onKeyDown.add(function(a,c){WP_User_Frontend.editorLimit.tinymce.onKeyDown(a,c,b,e)}),tinyMCE.get(c).onPaste.add(function(a,c){setTimeout(function(){WP_User_Frontend.editorLimit.tinymce.onPaste(a,c,b,e)},100)})},1e3)},tinymce:{getStats:function(a){var b=a.getBody(),c=tinymce.trim(b.innerText||b.textContent);return{chars:c.length,words:c.split(/[\w\u2019\'-]+/).length}},onKeyDown:function(b,c,d,e){var f=WP_User_Frontend.editorLimit.tinymce.getStats(b).chars+1,g="word"===e?"Word Limit : ":"Character Limit : ";"word"===e&&(f=WP_User_Frontend.editorLimit.tinymce.getStats(b).words-1),d&&a(".mce-path-item.mce-last",b.container).html(g+f+"/"+d),d&&f>d&&(WP_User_Frontend.editorLimit.blockTyping(c),jQuery(".mce-path-item.mce-last",b.container).html(WP_User_Frontend.content_limit_message(e)))},onPaste:function(a,b,c){var d=a.getContent().split(" ").slice(0,c).join(" ");a.setContent(d),WP_User_Frontend.editorLimit.make_media_embed_code(d,a)}},textLimit:function(b,c,d){var e=a(this),f=e.val().length+1;"word"===d&&(f=e.val().split(" ").length),c&&f>c?(e.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(WP_User_Frontend.content_limit_message(d)),WP_User_Frontend.editorLimit.blockTyping(b)):e.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(""),"paste"===b.type&&(e.val(content.substring(0,c)),"word"===d&&e.val(content.slice(0,c).join(" ")))},blockTyping:function(b){-1!==a.inArray(b.keyCode,[46,8,9,27,13,110,190,189])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=40||(b.preventDefault(),b.stopPropagation())},make_media_embed_code:function(b,c){a.post(ajaxurl,{action:"make_media_embed_code",content:b},function(a){c.setContent(c.getContent()+c.setContent(a))})}},doUncheckRadioBtn:function(a){a.checked=!1},content_limit_message:function(a){return"word"===a?"Word limit reached.":"Character limit reached."}},a(function(){if(WP_User_Frontend.init(),a("ul.wpuf-payment-gateways").on("click","input[type=radio]",function(b){a(".wpuf-payment-instruction").slideUp(250),a(this).parents("li").find(".wpuf-payment-instruction").slideDown(250)}),a("ul.wpuf-payment-gateways li").find("input[type=radio]").is(":checked")){a("ul.wpuf-payment-gateways li").find("input[type=radio]:checked").parents("li").find(".wpuf-payment-instruction").slideDown(250)}else a("ul.wpuf-payment-gateways li").first().find("input[type=radio]").click()}),a(function(){a('input[name="first_name"], input[name="last_name"]').on("change keyup",function(){var b,c=a.makeArray(a('input[name="first_name"], input[name="last_name"]').map(function(){if(b=a(this).val())return b})).join(" ");a('input[name="display_name"]').val(c)})}),a(function(a){a('.wpuf-form-add input[name="dokan_store_name"]').on("focusout",function(){var b=a(this).val().toLowerCase().replace(/-+/g,"").replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"");a('input[name="shopurl"]').val(b),a("#url-alart").text(b),a('input[name="shopurl"]').focus()}),a('.wpuf-form-add input[name="shopurl"]').keydown(function(b){a(this).val();-1!==a.inArray(b.keyCode,[46,8,9,27,13,91,109,110,173,189,190])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=39||(b.shiftKey||(b.keyCode<65||b.keyCode>90)&&(b.keyCode<48||b.keyCode>57))&&(b.keyCode<96||b.keyCode>105)&&b.preventDefault()}),a('.wpuf-form-add input[name="shopurl"]').keyup(function(b){a("#url-alart").text(a(this).val())}),a('.wpuf-form-add input[name="shopurl"]').on("focusout",function(){var b=a(this),c={action:"shop_url",url_slug:b.val(),_nonce:dokan.nonce};""!==b.val()&&a.post(dokan.ajaxurl,c,function(b){0==b?(a("#url-alart").removeClass("text-success").addClass("text-danger"),a("#url-alart-mgs").removeClass("text-success").addClass("text-danger").text(dokan.seller.notAvailable)):(a("#url-alart").removeClass("text-danger").addClass("text-success"),a("#url-alart-mgs").removeClass("text-danger").addClass("text-success").text(dokan.seller.available))})}),a(".wpuf-form-add #wpuf-map-add-location").attr("name","find_address")})}(jQuery,window);
assets/js/wpuf-form-builder-components.js CHANGED
@@ -246,6 +246,10 @@ Vue.component('field-multiselect', {
246
  },
247
 
248
  set: function (value) {
 
 
 
 
249
  this.$store.commit('update_editing_form_field', {
250
  editing_field_id: this.editing_form_field.id,
251
  field_name: this.option_field.name,
@@ -1436,9 +1440,10 @@ Vue.component('form-taxonomy', {
1436
 
1437
  // selection type and terms
1438
  if (this.field.exclude_type && this.field.exclude) {
 
1439
 
1440
- if ( this.field.exclude.length > 1 ) {
1441
- var filter_ids = this.field.exclude.split(',').map(function (id) {
1442
  id = id.trim();
1443
  id = parseInt(id);
1444
  return id;
@@ -1539,7 +1544,6 @@ Vue.component('form-taxonomy', {
1539
  var self = this,
1540
  checklist = '';
1541
 
1542
-
1543
  checklist += '<ul class="wpuf-category-checklist">';
1544
 
1545
  _.each(this.sorted_terms, function (term) {
246
  },
247
 
248
  set: function (value) {
249
+ if ( ! value ) {
250
+ value = [];
251
+ }
252
+
253
  this.$store.commit('update_editing_form_field', {
254
  editing_field_id: this.editing_form_field.id,
255
  field_name: this.option_field.name,
1440
 
1441
  // selection type and terms
1442
  if (this.field.exclude_type && this.field.exclude) {
1443
+ var filter_ids = [];
1444
 
1445
+ if ( this.field.exclude.length > 0 ) {
1446
+ filter_ids = this.field.exclude.map(function (id) {
1447
  id = id.trim();
1448
  id = parseInt(id);
1449
  return id;
1544
  var self = this,
1545
  checklist = '';
1546
 
 
1547
  checklist += '<ul class="wpuf-category-checklist">';
1548
 
1549
  _.each(this.sorted_terms, function (term) {
assets/less/frontend-forms.less CHANGED
@@ -1938,3 +1938,12 @@ ul.wpuf-form{
1938
  padding-left: 5px !important;
1939
  text-decoration: none !important;
1940
  }
 
 
 
 
 
 
 
 
 
1938
  padding-left: 5px !important;
1939
  text-decoration: none !important;
1940
  }
1941
+
1942
+ /* Upload Button */
1943
+ .wpuf-attachment-upload-filelist {
1944
+ z-index: 1;
1945
+ }
1946
+
1947
+ .wpuf-attachment-upload-filelist + .moxie-shim {
1948
+ z-index: 2;
1949
+ }
changelog.txt CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  ### v3.4.0 (24 August, 2020) ###
2
  * New - Add post edit link for post authors in single or archive pages
3
  * Enhancement - Enhance post delete message
1
+ ### v3.5.0 (22 September, 2020) ###
2
+ * New - Add character restriction feature
3
+ * Tweak - Make sure post author edit link works only in frontend
4
+ * Fix - Inconsistency in lost password reset email message
5
+ * Fix - Saving custom taxonomy terms when input type is text
6
+ * Fix - Taxonomy field JS error in builder
7
+ * Fix - Showing WPUF edit link for WP default roles
8
+ * Fix - Upload button unresponsive issue in iOS
9
+
10
  ### v3.4.0 (24 August, 2020) ###
11
  * New - Add post edit link for post authors in single or archive pages
12
  * Enhancement - Enhance post delete message
class/post-form-templates/post.php CHANGED
@@ -14,19 +14,20 @@ class WPUF_Post_Form_Template_Post extends WPUF_Post_Form_Template {
14
  $this->image = WPUF_ASSET_URI . '/images/templates/post.png';
15
  $this->form_fields = [
16
  [
17
- 'input_type' => 'text',
18
- 'template' => 'post_title',
19
- 'required' => 'yes',
20
- 'label' => __( 'Post Title', 'wp-user-frontend' ),
21
- 'name' => 'post_title',
22
- 'is_meta' => 'no',
23
- 'help' => '',
24
- 'css' => '',
25
- 'placeholder' => __( 'Please enter your post name', 'wp-user-frontend' ),
26
- 'default' => '',
27
- 'size' => '40',
28
- 'wpuf_cond' => $this->conditionals,
29
- 'wpuf_visibility' => $this->get_default_visibility_prop(),
 
30
  ],
31
  [
32
  'input_type' => 'taxonomy',
@@ -64,9 +65,9 @@ class WPUF_Post_Form_Template_Post extends WPUF_Post_Form_Template {
64
  'default' => '',
65
  'rich' => 'yes',
66
  'insert_image' => 'yes',
67
- 'word_restriction' => '',
68
  'wpuf_cond' => $this->conditionals,
69
  'wpuf_visibility' => $this->get_default_visibility_prop(),
 
70
  ],
71
  [
72
  'input_type' => 'image_upload',
@@ -84,21 +85,22 @@ class WPUF_Post_Form_Template_Post extends WPUF_Post_Form_Template {
84
  'wpuf_visibility' => $this->get_default_visibility_prop(),
85
  ],
86
  [
87
- 'input_type' => 'textarea',
88
- 'template' => 'post_excerpt',
89
- 'required' => 'no',
90
- 'label' => __( 'Excerpt', 'wp-user-frontend' ),
91
- 'name' => 'post_excerpt',
92
- 'is_meta' => 'no',
93
- 'help' => __( 'Provide a short description of this post (optional)', 'wp-user-frontend' ),
94
- 'css' => '',
95
- 'rows' => '5',
96
- 'cols' => '25',
97
- 'placeholder' => '',
98
- 'default' => '',
99
- 'rich' => 'no',
100
- 'wpuf_cond' => $this->conditionals,
101
- 'wpuf_visibility' => $this->get_default_visibility_prop(),
 
102
  ],
103
  [
104
  'input_type' => 'text',
14
  $this->image = WPUF_ASSET_URI . '/images/templates/post.png';
15
  $this->form_fields = [
16
  [
17
+ 'input_type' => 'text',
18
+ 'template' => 'post_title',
19
+ 'required' => 'yes',
20
+ 'label' => __( 'Post Title', 'wp-user-frontend' ),
21
+ 'name' => 'post_title',
22
+ 'is_meta' => 'no',
23
+ 'help' => '',
24
+ 'css' => '',
25
+ 'placeholder' => __( 'Please enter your post name', 'wp-user-frontend' ),
26
+ 'default' => '',
27
+ 'size' => '40',
28
+ 'wpuf_cond' => $this->conditionals,
29
+ 'wpuf_visibility' => $this->get_default_visibility_prop(),
30
+ 'restriction_type' => 'character'
31
  ],
32
  [
33
  'input_type' => 'taxonomy',
65
  'default' => '',
66
  'rich' => 'yes',
67
  'insert_image' => 'yes',
 
68
  'wpuf_cond' => $this->conditionals,
69
  'wpuf_visibility' => $this->get_default_visibility_prop(),
70
+ 'restriction_type' => 'character'
71
  ],
72
  [
73
  'input_type' => 'image_upload',
85
  'wpuf_visibility' => $this->get_default_visibility_prop(),
86
  ],
87
  [
88
+ 'input_type' => 'textarea',
89
+ 'template' => 'post_excerpt',
90
+ 'required' => 'no',
91
+ 'label' => __( 'Excerpt', 'wp-user-frontend' ),
92
+ 'name' => 'post_excerpt',
93
+ 'is_meta' => 'no',
94
+ 'help' => __( 'Provide a short description of this post (optional)', 'wp-user-frontend' ),
95
+ 'css' => '',
96
+ 'rows' => '5',
97
+ 'cols' => '25',
98
+ 'placeholder' => '',
99
+ 'default' => '',
100
+ 'rich' => 'no',
101
+ 'wpuf_cond' => $this->conditionals,
102
+ 'wpuf_visibility' => $this->get_default_visibility_prop(),
103
+ 'restriction_type' => 'character'
104
  ],
105
  [
106
  'input_type' => 'text',
includes/class-frontend-form-post.php CHANGED
@@ -27,9 +27,11 @@ class WPUF_Frontend_Form extends WPUF_Frontend_Render_Form {
27
  add_action( 'wp_ajax_wpuf_form_preview', [ $this, 'preview_form' ] );
28
  $this->set_wp_post_types();
29
 
30
- // enable post edit link for post authors
31
- add_filter( 'user_has_cap', [ $this, 'map_capabilities_for_post_authors' ], 10, 4 );
32
- add_filter( 'get_edit_post_link', [ $this, 'get_edit_post_link' ], 10, 3 );
 
 
33
  }
34
 
35
  /**
@@ -1099,10 +1101,17 @@ class WPUF_Frontend_Form extends WPUF_Frontend_Render_Form {
1099
  * @return string
1100
  */
1101
  public function get_edit_post_link( $url, $post_id ) {
1102
- if ( ! current_user_can( 'manage_options' ) && current_user_can( 'edit_post', $post_id ) ) {
1103
- $post = get_post( $post_id );
 
 
 
 
 
 
 
1104
 
1105
- if ( absint( $post->post_author ) === get_current_user_id() ) {
1106
  return $this->get_frontend_post_edit_link( $post_id );
1107
  }
1108
  }
27
  add_action( 'wp_ajax_wpuf_form_preview', [ $this, 'preview_form' ] );
28
  $this->set_wp_post_types();
29
 
30
+ // Enable post edit link for post authors in frontend
31
+ if ( ! is_admin() ) {
32
+ add_filter( 'user_has_cap', [ $this, 'map_capabilities_for_post_authors' ], 10, 4 );
33
+ add_filter( 'get_edit_post_link', [ $this, 'get_edit_post_link' ], 10, 3 );
34
+ }
35
  }
36
 
37
  /**
1101
  * @return string
1102
  */
1103
  public function get_edit_post_link( $url, $post_id ) {
1104
+ if (
1105
+ current_user_can( 'edit_post', $post_id )
1106
+ && ! current_user_can( 'administrator' )
1107
+ && ! current_user_can( 'editor' )
1108
+ && ! current_user_can( 'author' )
1109
+ && ! current_user_can( 'contributor' )
1110
+ ) {
1111
+ $post = get_post( $post_id );
1112
+ $form_id = get_post_meta( $post_id, '_wpuf_form_id', true );
1113
 
1114
+ if ( absint( $post->post_author ) === get_current_user_id() && $form_id ) {
1115
  return $this->get_frontend_post_edit_link( $post_id );
1116
  }
1117
  }
includes/class-frontend-render-form.php CHANGED
@@ -574,11 +574,18 @@ class WPUF_Frontend_Render_Form {
574
  $terms = array_map( function ( $term_name ) use ( $taxonomy ) {
575
  $term = get_term_by( 'name', $term_name, $taxonomy['name'] );
576
 
 
 
 
 
577
  if ( $term instanceof WP_Term ) {
578
  return $term->term_id;
579
- }
580
 
581
- return null;
 
 
 
 
582
 
583
  }, $terms );
584
 
574
  $terms = array_map( function ( $term_name ) use ( $taxonomy ) {
575
  $term = get_term_by( 'name', $term_name, $taxonomy['name'] );
576
 
577
+ if ( empty( $term_name ) ) {
578
+ return null;
579
+ }
580
+
581
  if ( $term instanceof WP_Term ) {
582
  return $term->term_id;
 
583
 
584
+ }
585
+
586
+ $new_term = wp_insert_term( $term_name, $taxonomy['name'] );
587
+
588
+ return $new_term['term_id'];
589
 
590
  }, $terms );
591
 
includes/fields/class-abstract-fields.php CHANGED
@@ -374,7 +374,7 @@ abstract class WPUF_Field_Contract {
374
  *
375
  * @return array
376
  */
377
- public function get_default_taxonomy_option_setttings( $word_restriction = false, $tax_name ) {
378
  $properties = [
379
  [
380
  'name' => 'type',
@@ -496,16 +496,34 @@ abstract class WPUF_Field_Contract {
496
  ],
497
  ];
498
 
499
- if ( $word_restriction ) {
500
- $properties[] = [
501
- 'name' => 'word_restriction',
502
- 'title' => __( 'Word Restriction', 'wp-user-frontend' ),
503
- 'type' => 'text',
504
- 'section' => 'advanced',
505
- 'priority' => 15,
506
- 'help_text' => __( 'Numebr of words the author to be restricted in', 'wp-user-frontend' ),
507
- ];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
508
  }
 
509
 
510
  return apply_filters( 'wpuf-form-builder-common-taxonomy-fields-properties', $properties );
511
  }
@@ -513,11 +531,11 @@ abstract class WPUF_Field_Contract {
513
  /**
514
  * Common properties of a text input field
515
  *
516
- * @param bool $word_restriction
517
  *
518
  * @return array
519
  */
520
- public static function get_default_text_option_settings( $word_restriction = false ) {
521
  $properties = [
522
  [
523
  'name' => 'placeholder',
@@ -552,15 +570,31 @@ abstract class WPUF_Field_Contract {
552
  ],
553
  ];
554
 
555
- if ( $word_restriction ) {
556
- $properties[] = [
557
- 'name' => 'word_restriction',
558
- 'title' => __( 'Word Restriction', 'wp-user-frontend' ),
559
- 'type' => 'text',
560
- 'section' => 'advanced',
561
- 'priority' => 15,
562
- 'help_text' => __( 'Numebr of words the author to be restricted in', 'wp-user-frontend' ),
563
- ];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
564
  }
565
 
566
  return apply_filters( 'wpuf-form-builder-common-text-fields-properties', $properties );
@@ -646,12 +680,26 @@ abstract class WPUF_Field_Contract {
646
  ],
647
 
648
  [
649
- 'name' => 'word_restriction',
650
- 'title' => __( 'Word Restriction', 'wp-user-frontend' ),
651
- 'type' => 'text',
 
 
 
 
652
  'section' => 'advanced',
653
  'priority' => 15,
654
- 'help_text' => __( 'Number of words the author to be restricted in', 'wp-user-frontend' ),
 
 
 
 
 
 
 
 
 
 
655
  ],
656
  ];
657
  }
@@ -811,11 +859,25 @@ abstract class WPUF_Field_Contract {
811
  }
812
 
813
  /**
814
- * Function to check word restriction
 
 
 
 
 
 
 
 
 
 
 
 
 
 
815
  *
816
- * @param $word_nums number of words allowed
817
  */
818
- public function check_word_restriction_func( $word_nums, $rich_text, $field_name ) {
819
  // bail out if it is dashboard
820
  if ( is_admin() ) {
821
  return;
@@ -823,24 +885,10 @@ abstract class WPUF_Field_Contract {
823
  <script type="text/javascript">
824
  ;(function($) {
825
  $(document).ready( function(){
826
- WP_User_Frontend.editorLimit.bind(<?php printf( '%d, "%s", "%s"', esc_attr( $word_nums ), esc_attr( $field_name ), esc_attr( $rich_text ) ); ?>);
827
  });
828
  })(jQuery);
829
  </script>
830
  <?php
831
  }
832
-
833
- /**
834
- * wpuf_visibility property for all fields
835
- *
836
- * @since 2.6
837
- *
838
- * @return array
839
- */
840
- public function get_default_visibility_prop( $default = 'everyone' ) {
841
- return [
842
- 'selected' => $default,
843
- 'choices' => [],
844
- ];
845
- }
846
  }
374
  *
375
  * @return array
376
  */
377
+ public function get_default_taxonomy_option_setttings( $content_restriction = false, $tax_name ) {
378
  $properties = [
379
  [
380
  'name' => 'type',
496
  ],
497
  ];
498
 
499
+
500
+ if ( $content_restriction ) {
501
+ $properties = array_merge( $properties, [
502
+ [
503
+ 'name' => 'restriction_type',
504
+ 'title' => __( 'Content restricted by', 'wp-user-frontend' ),
505
+ 'type' => 'radio',
506
+ 'options' => [
507
+ 'character' => __( 'Character', 'wp-user-frontend' ),
508
+ 'word' => __( 'Word', 'wp-user-frontend' ),
509
+ ],
510
+ 'section' => 'advanced',
511
+ 'priority' => 15,
512
+ 'inline' => true,
513
+ 'default' => 'character',
514
+ ],
515
+
516
+ [
517
+ 'name' => 'content_restriction',
518
+ 'title' => __( 'Content Restriction', 'wp-user-frontend' ),
519
+ 'type' => 'text',
520
+ 'section' => 'advanced',
521
+ 'priority' => 16,
522
+ 'help_text' => __( 'Number of characters or words the author to be restricted in', 'wp-user-frontend' ),
523
+ ],
524
+ ] );
525
  }
526
+
527
 
528
  return apply_filters( 'wpuf-form-builder-common-taxonomy-fields-properties', $properties );
529
  }
531
  /**
532
  * Common properties of a text input field
533
  *
534
+ * @param bool $content_restriction
535
  *
536
  * @return array
537
  */
538
+ public static function get_default_text_option_settings( $content_restriction = false ) {
539
  $properties = [
540
  [
541
  'name' => 'placeholder',
570
  ],
571
  ];
572
 
573
+ if ( $content_restriction ) {
574
+ $properties = array_merge( $properties, [
575
+ [
576
+ 'name' => 'restriction_type',
577
+ 'title' => __( 'Content restricted by', 'wp-user-frontend' ),
578
+ 'type' => 'radio',
579
+ 'options' => [
580
+ 'character' => __( 'Character', 'wp-user-frontend' ),
581
+ 'word' => __( 'Word', 'wp-user-frontend' ),
582
+ ],
583
+ 'section' => 'advanced',
584
+ 'priority' => 15,
585
+ 'inline' => true,
586
+ 'default' => 'character',
587
+ ],
588
+
589
+ [
590
+ 'name' => 'content_restriction',
591
+ 'title' => __( 'Content Restriction', 'wp-user-frontend' ),
592
+ 'type' => 'text',
593
+ 'section' => 'advanced',
594
+ 'priority' => 16,
595
+ 'help_text' => __( 'Number of characters or words the author to be restricted in', 'wp-user-frontend' ),
596
+ ],
597
+ ] );
598
  }
599
 
600
  return apply_filters( 'wpuf-form-builder-common-text-fields-properties', $properties );
680
  ],
681
 
682
  [
683
+ 'name' => 'restriction_type',
684
+ 'title' => __( 'Content restricted by', 'wp-user-frontend' ),
685
+ 'type' => 'radio',
686
+ 'options' => [
687
+ 'character' => __( 'Character', 'wp-user-frontend' ),
688
+ 'word' => __( 'Word', 'wp-user-frontend' ),
689
+ ],
690
  'section' => 'advanced',
691
  'priority' => 15,
692
+ 'inline' => true,
693
+ 'default' => 'character',
694
+ ],
695
+
696
+ [
697
+ 'name' => 'content_restriction',
698
+ 'title' => __( 'Content Restriction', 'wp-user-frontend' ),
699
+ 'type' => 'text',
700
+ 'section' => 'advanced',
701
+ 'priority' => 16,
702
+ 'help_text' => __( 'Number of characters or words the author to be restricted in', 'wp-user-frontend' ),
703
  ],
704
  ];
705
  }
859
  }
860
 
861
  /**
862
+ * wpuf_visibility property for all fields
863
+ *
864
+ * @since 2.6
865
+ *
866
+ * @return array
867
+ */
868
+ public function get_default_visibility_prop( $default = 'everyone' ) {
869
+ return [
870
+ 'selected' => $default,
871
+ 'choices' => [],
872
+ ];
873
+ }
874
+
875
+ /**
876
+ * Function to check character or word restriction
877
  *
878
+ * @param $content_limit number of words allowed
879
  */
880
+ public function check_content_restriction_func( $content_limit, $rich_text, $field_name, $limit_type ) {
881
  // bail out if it is dashboard
882
  if ( is_admin() ) {
883
  return;
885
  <script type="text/javascript">
886
  ;(function($) {
887
  $(document).ready( function(){
888
+ WP_User_Frontend.editorLimit.bind(<?php printf( '%d, "%s", "%s", "%s"', esc_attr( $content_limit ), esc_attr( $field_name ), esc_attr( $rich_text ), esc_attr( $limit_type ) ); ?>);
889
  });
890
  })(jQuery);
891
  </script>
892
  <?php
893
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
894
  }
includes/fields/class-field-post-content.php CHANGED
@@ -101,12 +101,13 @@ class WPUF_Form_Field_Post_Content extends WPUF_Field_Contract {
101
  <?php
102
  $this->help_text( $field_settings );
103
 
104
- if ( isset( $field_settings['word_restriction'] ) && $field_settings['word_restriction'] ) {
105
- $this->check_word_restriction_func(
106
- $field_settings['word_restriction'],
107
- $field_settings['rich'],
108
- $field_settings['name'] . '_' . $form_id
109
- );
 
110
  } ?>
111
  </li>
112
  <?php
@@ -145,14 +146,15 @@ class WPUF_Form_Field_Post_Content extends WPUF_Field_Contract {
145
  $defaults = $this->default_attributes();
146
 
147
  $props = [
148
- 'input_type' => 'textarea',
149
- 'is_meta' => 'no',
150
- 'name' => 'post_content',
151
- 'rows' => 5,
152
- 'cols' => 25,
153
- 'rich' => 'yes',
154
- 'id' => 0,
155
- 'is_new' => true,
 
156
  ];
157
 
158
  return array_merge( $defaults, $props );
101
  <?php
102
  $this->help_text( $field_settings );
103
 
104
+ if ( isset( $field_settings['content_restriction'] ) && $field_settings['content_restriction'] ) {
105
+ $this->check_content_restriction_func(
106
+ $field_settings['content_restriction'],
107
+ $field_settings['rich'],
108
+ $field_settings['name'] . '_' . $form_id,
109
+ $field_settings['restriction_type']
110
+ );
111
  } ?>
112
  </li>
113
  <?php
146
  $defaults = $this->default_attributes();
147
 
148
  $props = [
149
+ 'input_type' => 'textarea',
150
+ 'is_meta' => 'no',
151
+ 'name' => 'post_content',
152
+ 'rows' => 5,
153
+ 'cols' => 25,
154
+ 'rich' => 'yes',
155
+ 'id' => 0,
156
+ 'is_new' => true,
157
+ 'restriction_type' => 'character',
158
  ];
159
 
160
  return array_merge( $defaults, $props );
includes/fields/class-field-post-excerpt.php CHANGED
@@ -86,11 +86,12 @@ class WPUF_Form_Field_Post_Excerpt extends WPUF_Field_Contract {
86
  <?php
87
  $this->help_text( $field_settings );
88
 
89
- if ( isset( $field_settings['word_restriction'] ) && $field_settings['word_restriction'] ) {
90
- $this->check_word_restriction_func(
91
- $field_settings['word_restriction'],
92
  $field_settings['rich'],
93
- $field_settings['name'] . '_' . $form_id
 
94
  );
95
  } ?>
96
  </li>
@@ -126,6 +127,7 @@ class WPUF_Form_Field_Post_Excerpt extends WPUF_Field_Contract {
126
  'rich' => 'no',
127
  'id' => 0,
128
  'is_new' => true,
 
129
  ];
130
 
131
  return array_merge( $defaults, $props );
86
  <?php
87
  $this->help_text( $field_settings );
88
 
89
+ if ( isset( $field_settings['content_restriction'] ) && $field_settings['content_restriction'] ) {
90
+ $this->check_content_restriction_func(
91
+ $field_settings['content_restriction'],
92
  $field_settings['rich'],
93
+ $field_settings['name'] . '_' . $form_id,
94
+ $field_settings['restriction_type']
95
  );
96
  } ?>
97
  </li>
127
  'rich' => 'no',
128
  'id' => 0,
129
  'is_new' => true,
130
+ 'restriction_type' => 'character',
131
  ];
132
 
133
  return array_merge( $defaults, $props );
includes/fields/class-field-post-taxonomy.php CHANGED
@@ -347,6 +347,7 @@ class WPUF_Form_Field_Post_Taxonomy extends WPUF_Field_Contract {
347
  'exclude' => [],
348
  'id' => 0,
349
  'is_new' => true,
 
350
  ];
351
 
352
  return array_merge( $defaults, $props );
347
  'exclude' => [],
348
  'id' => 0,
349
  'is_new' => true,
350
+ 'restriction_type' => 'character',
351
  ];
352
 
353
  return array_merge( $defaults, $props );
includes/fields/class-field-post-title.php CHANGED
@@ -42,12 +42,13 @@ class WPUF_Form_Field_Post_Title extends WPUF_Field_Contract {
42
  <?php $this->help_text( $field_settings ); ?>
43
  </div>
44
  <?php
45
- if ( isset( $field_settings['word_restriction'] ) && $field_settings['word_restriction'] ) {
46
- $this->check_word_restriction_func(
47
- $field_settings['word_restriction'],
48
  'no',
49
- $field_settings['name'] . '_' . $form_id
50
- );
 
51
  }
52
 
53
  $mask_option = isset( $field_settings['mask_options'] ) ? $field_settings['mask_options'] : '';
@@ -109,9 +110,9 @@ class WPUF_Form_Field_Post_Title extends WPUF_Field_Contract {
109
  'name' => 'post_title',
110
  'width' => 'large',
111
  'size' => 40,
112
- 'word_restriction' => '',
113
  'id' => 0,
114
  'is_new' => true,
 
115
  ];
116
 
117
  return array_merge( $defaults, $props );
42
  <?php $this->help_text( $field_settings ); ?>
43
  </div>
44
  <?php
45
+ if ( isset( $field_settings['content_restriction'] ) && $field_settings['content_restriction'] ) {
46
+ $this->check_content_restriction_func(
47
+ $field_settings['content_restriction'],
48
  'no',
49
+ $field_settings['name'] . '_' . $form_id,
50
+ $field_settings['restriction_type']
51
+ );
52
  }
53
 
54
  $mask_option = isset( $field_settings['mask_options'] ) ? $field_settings['mask_options'] : '';
110
  'name' => 'post_title',
111
  'width' => 'large',
112
  'size' => 40,
 
113
  'id' => 0,
114
  'is_new' => true,
115
+ 'restriction_type' => 'character',
116
  ];
117
 
118
  return array_merge( $defaults, $props );
includes/fields/class-field-text.php CHANGED
@@ -49,13 +49,13 @@ class WPUF_Form_Field_Text extends WPUF_Field_Contract {
49
  </div>
50
 
51
  <?php
52
-
53
- if ( isset( $field_settings['word_restriction'] ) && $field_settings['word_restriction'] ) {
54
- $this->check_word_restriction_func(
55
- $field_settings['word_restriction'],
56
  'no',
57
- $field_settings['name'] . '_' . $form_id
58
- );
 
59
  }
60
 
61
  $mask_option = isset( $field_settings['mask_options'] ) ? $field_settings['mask_options'] : '';
@@ -127,6 +127,7 @@ class WPUF_Form_Field_Text extends WPUF_Field_Contract {
127
  'is_new' => true,
128
  'show_in_post' => 'yes',
129
  'hide_field_label' => 'no',
 
130
  ];
131
 
132
  return array_merge( $defaults, $props );
49
  </div>
50
 
51
  <?php
52
+ if ( isset( $field_settings['content_restriction'] ) && $field_settings['content_restriction'] ) {
53
+ $this->check_content_restriction_func(
54
+ $field_settings['content_restriction'],
 
55
  'no',
56
+ $field_settings['name'] . '_' . $form_id,
57
+ $field_settings['restriction_type']
58
+ );
59
  }
60
 
61
  $mask_option = isset( $field_settings['mask_options'] ) ? $field_settings['mask_options'] : '';
127
  'is_new' => true,
128
  'show_in_post' => 'yes',
129
  'hide_field_label' => 'no',
130
+ 'restriction_type' => 'character'
131
  ];
132
 
133
  return array_merge( $defaults, $props );
includes/fields/class-field-textarea.php CHANGED
@@ -70,7 +70,7 @@ class WPUF_Form_Field_Textarea extends WPUF_Field_Contract {
70
  ?>
71
  <textarea
72
  class="textareafield <?php echo esc_attr( ' wpuf_' . $field_settings['name'] . '_' . $form_id ); ?>"
73
- id="<?php esc_attr( $field_settings['name'] . '_' . $form_id ); ?>"
74
  name="<?php echo esc_attr( $field_settings['name'] ); ?>"
75
  data-required="<?php echo esc_attr( $field_settings['required'] ); ?>"
76
  data-type="textarea"
@@ -85,12 +85,14 @@ class WPUF_Form_Field_Textarea extends WPUF_Field_Contract {
85
 
86
  <?php
87
  $this->help_text( $field_settings );
88
-
89
- if ( isset( $field_settings['word_restriction'] ) && $field_settings['word_restriction'] ) {
90
- $this->check_word_restriction_func(
91
- $field_settings['word_restriction'],
92
- $field_settings['rich'],
93
- $field_settings['name'] . '_' . $form_id
 
 
94
  );
95
  } ?>
96
 
@@ -127,6 +129,7 @@ class WPUF_Form_Field_Textarea extends WPUF_Field_Contract {
127
  'is_new' => true,
128
  'show_in_post' => 'yes',
129
  'hide_field_label' => 'no',
 
130
  ];
131
 
132
  return array_merge( $defaults, $props );
70
  ?>
71
  <textarea
72
  class="textareafield <?php echo esc_attr( ' wpuf_' . $field_settings['name'] . '_' . $form_id ); ?>"
73
+ id="<?php echo esc_attr( $field_settings['name'] . '_' . $form_id ); ?>"
74
  name="<?php echo esc_attr( $field_settings['name'] ); ?>"
75
  data-required="<?php echo esc_attr( $field_settings['required'] ); ?>"
76
  data-type="textarea"
85
 
86
  <?php
87
  $this->help_text( $field_settings );
88
+ error_log(print_r($field_settings, true));
89
+
90
+ if ( isset( $field_settings['content_restriction'] ) && $field_settings['content_restriction'] ) {
91
+ $this->check_content_restriction_func(
92
+ $field_settings['content_restriction'],
93
+ 'no',
94
+ $field_settings['name'] . '_' . $form_id,
95
+ $field_settings['restriction_type']
96
  );
97
  } ?>
98
 
129
  'is_new' => true,
130
  'show_in_post' => 'yes',
131
  'hide_field_label' => 'no',
132
+ 'restriction_type' => 'character'
133
  ];
134
 
135
  return array_merge( $defaults, $props );
includes/free/class-login.php CHANGED
@@ -360,8 +360,15 @@ class WPUF_Simple_Login {
360
 
361
  switch ( $action ) {
362
  case 'lostpassword':
 
363
 
364
- $this->messages[] = __( 'Please enter your username or email address. You will receive a link to create a new password via email.', 'wp-user-frontend' );
 
 
 
 
 
 
365
 
366
  wpuf_load_template( 'lost-pass-form.php', $args );
367
  break;
@@ -382,14 +389,8 @@ class WPUF_Simple_Login {
382
  break;
383
 
384
  default:
385
- $checkemail = isset( $getdata['checkemail'] ) ? sanitize_email( $getdata['checkemail'] ) : '';
386
-
387
  $loggedout = isset( $getdata['loggedout'] ) ? sanitize_text_field( $getdata['loggedout'] ) : '';
388
 
389
- if ( $checkemail == 'confirm' ) {
390
- $this->messages[] = __( 'Check your e-mail for the confirmation link.', 'wp-user-frontend' );
391
- }
392
-
393
  if ( $loggedout == 'true' ) {
394
  $this->messages[] = __( 'You are now logged out.', 'wp-user-frontend' );
395
  }
@@ -612,7 +613,7 @@ class WPUF_Simple_Login {
612
  wp_verify_nonce( $nonce, 'wpuf_lost_pass' );
613
 
614
  if ( $this->retrieve_password() ) {
615
- $url = add_query_arg( [ 'checkemail' => 'confirm' ], $this->get_login_url() );
616
  wp_redirect( $url );
617
  exit;
618
  }
360
 
361
  switch ( $action ) {
362
  case 'lostpassword':
363
+ $checkemail = isset( $getdata['checkemail'] ) ? sanitize_text_field( $getdata['checkemail'] ) : '';
364
 
365
+ if ( 'confirm' === $checkemail ) {
366
+ $this->messages[] = __( 'Check your e-mail for the confirmation link.', 'wp-user-frontend' );
367
+ }
368
+
369
+ if ( ! $checkemail ) {
370
+ $this->messages[] = __( 'Please enter your username or email address. You will receive a link to create a new password via email.', 'wp-user-frontend' );
371
+ }
372
 
373
  wpuf_load_template( 'lost-pass-form.php', $args );
374
  break;
389
  break;
390
 
391
  default:
 
 
392
  $loggedout = isset( $getdata['loggedout'] ) ? sanitize_text_field( $getdata['loggedout'] ) : '';
393
 
 
 
 
 
394
  if ( $loggedout == 'true' ) {
395
  $this->messages[] = __( 'You are now logged out.', 'wp-user-frontend' );
396
  }
613
  wp_verify_nonce( $nonce, 'wpuf_lost_pass' );
614
 
615
  if ( $this->retrieve_password() ) {
616
+ $url = add_query_arg( [ 'action' => 'lostpassword', 'checkemail' => 'confirm' ], $this->get_login_url() );
617
  wp_redirect( $url );
618
  exit;
619
  }
includes/log/class-log-wpdb-query.php ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * WPDB query logger
5
+ *
6
+ * @since 3.5.0
7
+ *
8
+ * Log wpdb query using the stop and end methods. Log queries between
9
+ * two points of execution. Start logging with `wpuf()->log->wpdb_query->start( 'some_id ).
10
+ * Then stop logging using `wpuf()->log->wpdb_query->stop( 'some_id ). Log will be dumped
11
+ * in debug.log.
12
+ */
13
+ class WPUF_Log_WPDB_Query {
14
+
15
+ /**
16
+ * Log store
17
+ *
18
+ * @var array
19
+ */
20
+ protected static $store = [];
21
+
22
+ /**
23
+ * Handle dynamic filter hook for log_query_custom_data tag
24
+ *
25
+ * @since 3.5.0
26
+ *
27
+ * @param string $name
28
+ * @param array $arguments
29
+ *
30
+ * @return array|void
31
+ */
32
+ public static function __callStatic( $name, $arguments ) {
33
+ if ( 0 === strpos( $name, 'log_query_callback_' ) ) {
34
+ $id = str_replace( 'log_query_callback_', '', $name );
35
+ self::log_query( $id, ...$arguments );
36
+ return $arguments[0];
37
+ }
38
+ }
39
+
40
+ /**
41
+ * Store the query log
42
+ *
43
+ * @since 3.5.0
44
+ *
45
+ * @param string $id
46
+ * @param array $query_data
47
+ * @param string $query
48
+ * @param float $query_time
49
+ * @param string $query_callstack
50
+ * @param float $query_start
51
+ *
52
+ * @return void
53
+ */
54
+ protected static function log_query( $id, $query_data, $query, $query_time, $query_callstack, $query_start ) {
55
+ self::$store[ $id ][] = [
56
+ 'sql' => $query,
57
+ 'time' => $query_time,
58
+ 'callstack' => explode( ', ', $query_callstack ),
59
+ 'start' => $query_start,
60
+ 'data' => $query_data,
61
+ ];
62
+ }
63
+
64
+ /**
65
+ * Start logging wpdb query
66
+ *
67
+ * @since 3.5.0
68
+ *
69
+ * @param string $id
70
+ *
71
+ * @return void
72
+ */
73
+ public function start( $id ) {
74
+ if ( isset( self::$store[ $id ] ) ) {
75
+ throw new Exception( 'Error starting wpdb query log. $id already exists.' );
76
+ }
77
+
78
+ if ( ! defined( 'SAVEQUERIES' ) || ! SAVEQUERIES ) {
79
+ define( 'SAVEQUERIES', true );
80
+ }
81
+
82
+ self::$store[ $id ] = [];
83
+
84
+ add_filter( 'log_query_custom_data', [ self::class, 'log_query_callback_' . $id ], 10, 5 );
85
+ }
86
+
87
+ /**
88
+ * Stop or finish logging wpdb query
89
+ *
90
+ * @since 3.5.0
91
+ *
92
+ * @param string $id
93
+ *
94
+ * @return void
95
+ */
96
+ public function stop( $id ) {
97
+ if ( ! isset( self::$store[ $id ] ) ) {
98
+ throw new Exception( 'Error starting wpdb query log. $id does not exists.' );
99
+ }
100
+
101
+ remove_filter( 'log_query_custom_data', [ self::class, 'log_query_callback_' . $id ] );
102
+
103
+ $store = print_r( self::$store[ $id ], true );
104
+ $total_time = 0;
105
+
106
+ if ( ! empty( $store ) ) {
107
+ foreach( self::$store[ $id ] as $item ) {
108
+ $total_time += $item['time'];
109
+ }
110
+ }
111
+
112
+ error_log( sprintf(
113
+ "[WPUF] wpdb query log for `%s`:\nTotal Time: %s\n%s",
114
+ $id,
115
+ $total_time,
116
+ $store
117
+ ) );
118
+ unset( self::$store[ $id ] );
119
+ }
120
+ }
includes/log/class-log.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WPUF_Log {
4
+
5
+ /**
6
+ * wpdb query logger
7
+ *
8
+ * @var \WPUF_Log_WPDB_Query
9
+ */
10
+ public $wpdb_query;
11
+
12
+ /**
13
+ * Class constructor
14
+ *
15
+ * @since 3.5.0
16
+ */
17
+ public function __construct() {
18
+ $this->wpdb_query = new WPUF_Log_WPDB_Query();
19
+ }
20
+ }
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.4.0\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2020-08-24 08:03:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -178,7 +178,7 @@ msgstr ""
178
  #: includes/fields/class-abstract-fields.php:409
179
  #: includes/fields/class-field-checkbox.php:74
180
  #: includes/fields/class-field-radio.php:83 includes/free/form-element.php:460
181
- #: wpuf.php:712
182
  msgid "Yes"
183
  msgstr ""
184
 
@@ -193,7 +193,7 @@ msgstr ""
193
  #: includes/fields/class-abstract-fields.php:410
194
  #: includes/fields/class-field-checkbox.php:75
195
  #: includes/fields/class-field-radio.php:84 includes/free/form-element.php:461
196
- #: wpuf.php:713
197
  msgid "No"
198
  msgstr ""
199
 
@@ -587,12 +587,12 @@ msgid "Are you sure you want to delete this field?"
587
  msgstr ""
588
 
589
  #: admin/form-builder/class-wpuf-admin-form-builder.php:281
590
- #: admin/posting.php:73 class/asset-loader.php:56 wpuf.php:722
591
  msgid "Yes, delete it"
592
  msgstr ""
593
 
594
  #: admin/form-builder/class-wpuf-admin-form-builder.php:282
595
- #: admin/posting.php:74 class/asset-loader.php:57 wpuf.php:723
596
  msgid "No, cancel it"
597
  msgstr ""
598
 
@@ -1021,7 +1021,7 @@ msgstr ""
1021
  msgid "After how many hours user will be locked from editing the submitted post."
1022
  msgstr ""
1023
 
1024
- #: admin/html/form-settings-post.php:7 class/post-form-templates/post.php:125
1025
  #: includes/free/post-form-templates/the_events_calendar.php:171
1026
  msgid "This page is restricted. Please Log in / Register to view this page."
1027
  msgstr ""
@@ -1333,7 +1333,9 @@ msgstr ""
1333
  msgid "Subscription &amp; Payment"
1334
  msgstr ""
1335
 
1336
- #: admin/html/support.php:282
 
 
1337
  msgid "Content Restriction"
1338
  msgstr ""
1339
 
@@ -1406,417 +1408,445 @@ msgid "Contact Support"
1406
  msgstr ""
1407
 
1408
  #: admin/html/whats-new.php:8
1409
- msgid "Add post edit link for post authors in single or archive pages"
1410
  msgstr ""
1411
 
1412
  #: admin/html/whats-new.php:12
1413
- msgid "Enhance post delete message"
1414
  msgstr ""
1415
 
1416
  #: admin/html/whats-new.php:16
1417
- msgid "Refactor control buttons visibility in form builder"
1418
  msgstr ""
1419
 
1420
  #: admin/html/whats-new.php:20
1421
- msgid "Add missing colons after field label"
1422
  msgstr ""
1423
 
1424
  #: admin/html/whats-new.php:24
1425
- msgid "Post edit map capability condition"
1426
  msgstr ""
1427
 
1428
  #: admin/html/whats-new.php:28
1429
- msgid "Role based permission for accessing a post form"
1430
  msgstr ""
1431
 
1432
  #: admin/html/whats-new.php:32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1433
  msgid "Section-break field alignment"
1434
  msgstr ""
1435
 
1436
- #: admin/html/whats-new.php:36
1437
  msgid "Pay per post doesn't work if subscription pack is activated"
1438
  msgstr ""
1439
 
1440
- #: admin/html/whats-new.php:40
1441
  msgid "Mime type for uploading JSON files"
1442
  msgstr ""
1443
 
1444
- #: admin/html/whats-new.php:44
1445
  msgid "File upload with same file name"
1446
  msgstr ""
1447
 
1448
- #: admin/html/whats-new.php:48
1449
  msgid "Post preview missing fields"
1450
  msgstr ""
1451
 
1452
- #: admin/html/whats-new.php:52
1453
  msgid "Illigal variable declartion"
1454
  msgstr ""
1455
 
1456
- #: admin/html/whats-new.php:56
1457
  msgid "Featured image updating issue"
1458
  msgstr ""
1459
 
1460
- #: admin/html/whats-new.php:60
1461
  msgid "Conflict with Phlox theme"
1462
  msgstr ""
1463
 
1464
- #: admin/html/whats-new.php:64
1465
  msgid "Textarea custom field data sanitization"
1466
  msgstr ""
1467
 
1468
- #: admin/html/whats-new.php:68
1469
  msgid "exclude_type warning in wpuf_category_checklist"
1470
  msgstr ""
1471
 
1472
- #: admin/html/whats-new.php:72
1473
  msgid "Category field not showing all child categories for selection type child of"
1474
  msgstr ""
1475
 
1476
- #: admin/html/whats-new.php:76
1477
  msgid "Conflict between image and file upload custom fields"
1478
  msgstr ""
1479
 
1480
- #: admin/html/whats-new.php:80
1481
  msgid "Login url when login page is not set"
1482
  msgstr ""
1483
 
1484
- #: admin/html/whats-new.php:90
1485
  msgid ""
1486
  "Use common names for Ivory Coast, North Korea and Sourth Korea instead of "
1487
  "their official names"
1488
  msgstr ""
1489
 
1490
- #: admin/html/whats-new.php:94
1491
  msgid "Fix condition to use default avatar"
1492
  msgstr ""
1493
 
1494
- #: admin/html/whats-new.php:98
1495
  msgid "Make Email and URL fields clickable"
1496
  msgstr ""
1497
 
1498
- #: admin/html/whats-new.php:102
1499
  msgid "Fix redirect after user login"
1500
  msgstr ""
1501
 
1502
- #: admin/html/whats-new.php:106
1503
  msgid "Sanitize textarea field data"
1504
  msgstr ""
1505
 
1506
- #: admin/html/whats-new.php:110
1507
  msgid ""
1508
  "Fix missing colon to email, URL, text and textarea labels when renders "
1509
  "their data"
1510
  msgstr ""
1511
 
1512
- #: admin/html/whats-new.php:114
1513
  msgid "Prevent showing empty labels for fields that have render_field_data method"
1514
  msgstr ""
1515
 
1516
- #: admin/html/whats-new.php:124
1517
  msgid "Add Namibian Dollar in currency list"
1518
  msgstr ""
1519
 
1520
- #: admin/html/whats-new.php:128
1521
  msgid "Add sync values option for option data fields"
1522
  msgstr ""
1523
 
1524
- #: admin/html/whats-new.php:132
1525
  msgid "Allow uploading image that having filesize meets php ini settings"
1526
  msgstr ""
1527
 
1528
- #: admin/html/whats-new.php:136
1529
  msgid "Limit the selection of one image at a time"
1530
  msgstr ""
1531
 
1532
- #: admin/html/whats-new.php:140
1533
  msgid "Use file name and size to generate hash to prevent duplicant image upload"
1534
  msgstr ""
1535
 
1536
- #: admin/html/whats-new.php:144
1537
  msgid "Sanitize text and textarea field data"
1538
  msgstr ""
1539
 
1540
- #: admin/html/whats-new.php:148
1541
  msgid ""
1542
  "Show label instead of values for radio, checkbox, dropdown and multiselect "
1543
  "data"
1544
  msgstr ""
1545
 
1546
- #: admin/html/whats-new.php:152
1547
  msgid "Saving custom taxonomies for type text input"
1548
  msgstr ""
1549
 
1550
- #: admin/html/whats-new.php:156
1551
  msgid "Admin settings link for recaptcha helper text"
1552
  msgstr ""
1553
 
1554
- #: admin/html/whats-new.php:160
1555
  msgid "Undefined name property for Custom HTML fields"
1556
  msgstr ""
1557
 
1558
- #: admin/html/whats-new.php:164
1559
  msgid "Delete attachment process"
1560
  msgstr ""
1561
 
1562
- #: admin/html/whats-new.php:168
1563
  msgid "Missing billing address in invoice PDF"
1564
  msgstr ""
1565
 
1566
- #: admin/html/whats-new.php:172
1567
  msgid "Showing country field value in frontend post content"
1568
  msgstr ""
1569
 
1570
- #: admin/html/whats-new.php:176
1571
  msgid "Avatar size display not complying with admin settings size"
1572
  msgstr ""
1573
 
1574
- #: admin/html/whats-new.php:180
1575
  msgid "Display default avatars on admin settings discussion page"
1576
  msgstr ""
1577
 
1578
- #: admin/html/whats-new.php:184
1579
  msgid "Redirect to subscription page at registration"
1580
  msgstr ""
1581
 
1582
- #: admin/html/whats-new.php:188
1583
  msgid "Error notice regarding registration page redirect"
1584
  msgstr ""
1585
 
1586
- #: admin/html/whats-new.php:192
1587
  msgid "Escaping html in registration errors"
1588
  msgstr ""
1589
 
1590
- #: admin/html/whats-new.php:196
1591
  msgid "Default login redirect link"
1592
  msgstr ""
1593
 
1594
- #: admin/html/whats-new.php:200
1595
  msgid "Implementing default WP login page override option"
1596
  msgstr ""
1597
 
1598
- #: admin/html/whats-new.php:204
1599
  msgid "Transparent background of autosuggestion dropdown"
1600
  msgstr ""
1601
 
1602
- #: admin/html/whats-new.php:214
1603
  msgid "Import forms system"
1604
  msgstr ""
1605
 
1606
- #: admin/html/whats-new.php:218
1607
  msgid "Password reset system"
1608
  msgstr ""
1609
 
1610
- #: admin/html/whats-new.php:222
1611
  msgid "Updated url validation regex to support modern tlds"
1612
  msgstr ""
1613
 
1614
- #: admin/html/whats-new.php:226
1615
  msgid "Export WPUF forms individually from admin tools page"
1616
  msgstr ""
1617
 
1618
- #: admin/html/whats-new.php:230
1619
  msgid "Subscription cycle label translation issue"
1620
  msgstr ""
1621
 
1622
- #: admin/html/whats-new.php:234
1623
  msgid "ACF integration for checkbox fields"
1624
  msgstr ""
1625
 
1626
- #: admin/html/whats-new.php:238
1627
  msgid "Illegal string offset warning while updating settings"
1628
  msgstr ""
1629
 
1630
- #: admin/html/whats-new.php:242
1631
  msgid "Conditional logic for Section Break field"
1632
  msgstr ""
1633
 
1634
- #: admin/html/whats-new.php:246
1635
  msgid "Subscriptions cannot be deleted from backend"
1636
  msgstr ""
1637
 
1638
- #: admin/html/whats-new.php:250
1639
  msgid "A regression regarding saving checkbox data"
1640
  msgstr ""
1641
 
1642
- #: admin/html/whats-new.php:254
1643
  msgid "Default value of multi-select fields is not showing"
1644
  msgstr ""
1645
 
1646
- #: admin/html/whats-new.php:264
1647
  msgid "Hide post edit option when subscription is expired"
1648
  msgstr ""
1649
 
1650
- #: admin/html/whats-new.php:266
1651
  msgid "Hide post edit option from users whose subscription pack is expired."
1652
  msgstr ""
1653
 
1654
- #: admin/html/whats-new.php:269
1655
  msgid "Check files to prevent duplicity in media upload"
1656
  msgstr ""
1657
 
1658
- #: admin/html/whats-new.php:271
1659
  msgid ""
1660
  "A simple measure has been taken to prevent maliciously flooding the site by "
1661
  "uploading same file multiple times. Though this won't work with already "
1662
  "uploaded medias."
1663
  msgstr ""
1664
 
1665
- #: admin/html/whats-new.php:274
1666
  msgid "Refactor address fields in Account section"
1667
  msgstr ""
1668
 
1669
- #: admin/html/whats-new.php:276
1670
  msgid "Address edit section from Account section has been rewritten to improve UX."
1671
  msgstr ""
1672
 
1673
- #: admin/html/whats-new.php:279
1674
  msgid "Update Paypal payment gateway"
1675
  msgstr ""
1676
 
1677
- #: admin/html/whats-new.php:281
1678
  msgid "Paypal payment gateway has seen some improvements."
1679
  msgstr ""
1680
 
1681
- #: admin/html/whats-new.php:284
1682
  msgid "Default Category selection improvements"
1683
  msgstr ""
1684
 
1685
- #: admin/html/whats-new.php:286
1686
  msgid ""
1687
  "An intuitive way of selecting default category of a selected post type has "
1688
  "been introduced."
1689
  msgstr ""
1690
 
1691
- #: admin/html/whats-new.php:289
1692
  msgid "Compatibility issue with ACF date time field"
1693
  msgstr ""
1694
 
1695
- #: admin/html/whats-new.php:291
1696
  msgid "A Compatibility issue with ACF date time field has been addressed."
1697
  msgstr ""
1698
 
1699
- #: admin/html/whats-new.php:294
1700
  msgid "Media title, caption & description not saving"
1701
  msgstr ""
1702
 
1703
- #: admin/html/whats-new.php:296
1704
  msgid ""
1705
  "Media title, caption & description were not saving from frontend. They will "
1706
  "now."
1707
  msgstr ""
1708
 
1709
- #: admin/html/whats-new.php:299
1710
  msgid ""
1711
  "The Events Calendar venue and organizer fields issue in WPUF Custom Fields "
1712
  "metabox"
1713
  msgstr ""
1714
 
1715
- #: admin/html/whats-new.php:301
1716
  msgid ""
1717
  "A workaround has been introduced to save The Events Calendar Venue and "
1718
  "Organizer fields properly from WPUF Custom Fields metabox."
1719
  msgstr ""
1720
 
1721
- #: admin/html/whats-new.php:304
1722
  msgid "Checkbox data not saving from WPUF Custom Fields metabox"
1723
  msgstr ""
1724
 
1725
- #: admin/html/whats-new.php:306
1726
  msgid ""
1727
  "Checkboxe data from WPUF Custom Fields metabox were not saving. It has been "
1728
  "fixed."
1729
  msgstr ""
1730
 
1731
- #: admin/html/whats-new.php:309
1732
  msgid "Multi-column Repeater field data saving issue"
1733
  msgstr ""
1734
 
1735
- #: admin/html/whats-new.php:311
1736
  msgid ""
1737
  "Multi-column Repeater field data from a form was not saving. It has been "
1738
  "fixed."
1739
  msgstr ""
1740
 
1741
- #: admin/html/whats-new.php:314
1742
  msgid "Multistep form conflict with Elementor"
1743
  msgstr ""
1744
 
1745
- #: admin/html/whats-new.php:316
1746
  msgid "Multistep form had a conflict with Elementor. It has been fixed."
1747
  msgstr ""
1748
 
1749
- #: admin/html/whats-new.php:319
1750
  msgid "Multiple images showing issue in frontend"
1751
  msgstr ""
1752
 
1753
- #: admin/html/whats-new.php:321
1754
  msgid "Multiple images in a post were not showing in frontend. Now they will."
1755
  msgstr ""
1756
 
1757
- #: admin/html/whats-new.php:330
1758
  msgid "Nonce not verify on login"
1759
  msgstr ""
1760
 
1761
- #: admin/html/whats-new.php:332
1762
  msgid "Return of function wp_verify_nonce() was ignored."
1763
  msgstr ""
1764
 
1765
- #: admin/html/whats-new.php:341
1766
  msgid "Option to set which tab shows as active on the account page"
1767
  msgstr ""
1768
 
1769
- #: admin/html/whats-new.php:343
1770
  msgid ""
1771
  "Option to set which tab shows as active on the account page. To configure "
1772
  "this setting navigate to wp-admin->User Frontend->Settings->My "
1773
  "Account->Active Tab "
1774
  msgstr ""
1775
 
1776
- #: admin/html/whats-new.php:346
1777
  msgid "Unlock option was unavailable after the post being locked"
1778
  msgstr ""
1779
 
1780
- #: admin/html/whats-new.php:348
1781
  msgid "Unlock option was unavailable after the post being locked."
1782
  msgstr ""
1783
 
1784
- #: admin/html/whats-new.php:351
1785
  msgid "Gutenberg block of WPUF didn't work on bedrock installation"
1786
  msgstr ""
1787
 
1788
- #: admin/html/whats-new.php:353
1789
  msgid "Gutenberg block of WPUF didn't work on bedrock installation."
1790
  msgstr ""
1791
 
1792
- #: admin/html/whats-new.php:356
1793
  msgid "Sending admin payment received email twice"
1794
  msgstr ""
1795
 
1796
- #: admin/html/whats-new.php:358
1797
  msgid ""
1798
  "After processing payment admin & user was receiving payment received email "
1799
  "twice."
1800
  msgstr ""
1801
 
1802
- #: admin/html/whats-new.php:361
1803
  msgid ""
1804
  "Add shortcode support to display post information in the Post Expiration "
1805
  "Message"
1806
  msgstr ""
1807
 
1808
- #: admin/html/whats-new.php:363
1809
  msgid ""
1810
  "Add shortcode support to display post information in the Post Expiration "
1811
  "Message. You can use: <strong>{post_author} {post_url} {blogname} "
1812
  "{post_title} {post_status}</strong>"
1813
  msgstr ""
1814
 
1815
- #: admin/html/whats-new.php:366
1816
  msgid "Add optin on the setup wizard"
1817
  msgstr ""
1818
 
1819
- #: admin/html/whats-new.php:368
1820
  msgid ""
1821
  "Added optin on the setup wizard, admin can choose whether he/she wants to "
1822
  "share server environment details (php, mysql, server, WordPress versions), "
@@ -1824,126 +1854,126 @@ msgid ""
1824
  "name and url, admin name and email address. No sensitive data is tracked"
1825
  msgstr ""
1826
 
1827
- #: admin/html/whats-new.php:377
1828
  msgid "Post Owner problem"
1829
  msgstr ""
1830
 
1831
- #: admin/html/whats-new.php:379
1832
  msgid ""
1833
  "Posts were not assigned to the selected default post owner, this issue has "
1834
  "been fixed."
1835
  msgstr ""
1836
 
1837
- #: admin/html/whats-new.php:382
1838
  msgid "Google reCaptcha was not working"
1839
  msgstr ""
1840
 
1841
- #: admin/html/whats-new.php:384
1842
  msgid ""
1843
  "Google reCaptcha was not working, users could submit the form without "
1844
  "reCaptcha validation."
1845
  msgstr ""
1846
 
1847
- #: admin/html/whats-new.php:393
1848
  msgid "Added column field"
1849
  msgstr ""
1850
 
1851
- #: admin/html/whats-new.php:398
1852
  msgid "Unable to render the events on the front-end dashboard"
1853
  msgstr ""
1854
 
1855
- #: admin/html/whats-new.php:400
1856
  msgid ""
1857
  "On the frontend dashboard, the submitted events were not showing, you will "
1858
  "get it fixed in this version."
1859
  msgstr ""
1860
 
1861
- #: admin/html/whats-new.php:403
1862
  msgid "Page order getting 0(zero) after editing from the frontend"
1863
  msgstr ""
1864
 
1865
- #: admin/html/whats-new.php:405
1866
  msgid ""
1867
  "Page order was not saving while editing a post using WPUF form, it has been "
1868
  "fixed."
1869
  msgstr ""
1870
 
1871
- #: admin/html/whats-new.php:408
1872
  msgid "Text input field for taxonomies not working"
1873
  msgstr ""
1874
 
1875
- #: admin/html/whats-new.php:410
1876
  msgid ""
1877
  "When taxonomy field type is set to `Text Input` then a fatal error was "
1878
  "showing on the frontend, no error with taxonomy field in the latest version."
1879
  msgstr ""
1880
 
1881
- #: admin/html/whats-new.php:413
1882
  msgid ""
1883
  "In radio and checkbox field use conditional logic that value does not save "
1884
  "in database"
1885
  msgstr ""
1886
 
1887
- #: admin/html/whats-new.php:415
1888
  msgid ""
1889
  "The selected value of radio and checkbox field were not showing while "
1890
  "editing posts from the backend or frontend, you can see the selected value "
1891
  "in this version."
1892
  msgstr ""
1893
 
1894
- #: admin/html/whats-new.php:418
1895
  msgid "The args param not working with get_avatar filter"
1896
  msgstr ""
1897
 
1898
- #: admin/html/whats-new.php:420
1899
  msgid "The args parameter did not exist with get_avatar filter, which now exists."
1900
  msgstr ""
1901
 
1902
- #: admin/html/whats-new.php:423
1903
  msgid "The item in ajax taxonomy field was not selected"
1904
  msgstr ""
1905
 
1906
- #: admin/html/whats-new.php:425
1907
  msgid ""
1908
  "When the taxonomy field type is set to Ajax, the submitted terms were not "
1909
  "showing in the backend and frontend which have been fixed."
1910
  msgstr ""
1911
 
1912
- #: admin/html/whats-new.php:434
1913
  msgid "Unable to send new user registration email"
1914
  msgstr ""
1915
 
1916
- #: admin/html/whats-new.php:436
1917
  msgid ""
1918
  "WP User Frontend default registration form `[wpuf-registration]` was unable "
1919
  "to send the new user registration email."
1920
  msgstr ""
1921
 
1922
- #: admin/html/whats-new.php:439
1923
  msgid "WPUF forms block compatibility issue with the latest WP version"
1924
  msgstr ""
1925
 
1926
- #: admin/html/whats-new.php:441
1927
  msgid ""
1928
  "With the latest version of WordPress the gutenberg block of WP User "
1929
  "Frontend were not working. In this version, you will get it fixed."
1930
  msgstr ""
1931
 
1932
- #: admin/html/whats-new.php:444
1933
  msgid "Page not update where `[wpuf_dashboard]` shortcode exist"
1934
  msgstr ""
1935
 
1936
- #: admin/html/whats-new.php:446
1937
  msgid ""
1938
  "While using Gutenberg, the page were not being updated with WPUF shortcode "
1939
  "[wpuf dashboard]"
1940
  msgstr ""
1941
 
1942
- #: admin/html/whats-new.php:449
1943
  msgid "Retain default when determining whether to display the admin bar"
1944
  msgstr ""
1945
 
1946
- #: admin/html/whats-new.php:451
1947
  msgid ""
1948
  "From the User Frontend Settings, set that Administrator, Editor, Vendor can "
1949
  "see the admin bar. Now, the super admin want, one specific user ( who has "
@@ -1953,11 +1983,11 @@ msgid ""
1953
  "frontend."
1954
  msgstr ""
1955
 
1956
- #: admin/html/whats-new.php:454
1957
  msgid "Fatal error when use PHP lower version (5.4 or lower)"
1958
  msgstr ""
1959
 
1960
- #: admin/html/whats-new.php:456
1961
  msgid ""
1962
  "It was unable to install WP User Frontend with PHP 5.4 or lower version. "
1963
  "Here is the error details: <br><br><strong>Fatal error: Can't use method "
@@ -1965,42 +1995,42 @@ msgid ""
1965
  "/wp-user-frontend/class/frontend-form-post.php on line 194</strong>"
1966
  msgstr ""
1967
 
1968
- #: admin/html/whats-new.php:459
1969
  msgid "Product form was unable to show the single gallery image"
1970
  msgstr ""
1971
 
1972
- #: admin/html/whats-new.php:461
1973
  msgid ""
1974
  "When user upload single image for product gallery using WPUF WooCommerce "
1975
  "product form, that image were not showing on the frontend."
1976
  msgstr ""
1977
 
1978
- #: admin/html/whats-new.php:470
1979
  msgid "WooCommerce gallery images not getting saved"
1980
  msgstr ""
1981
 
1982
- #: admin/html/whats-new.php:472
1983
  msgid ""
1984
  "After releasing version 2.9.3, WooCommerce gallery image field stopped "
1985
  "working. You will get it fixed in this version."
1986
  msgstr ""
1987
 
1988
- #: admin/html/whats-new.php:481
1989
  msgid "The Events Calendar Integration Form"
1990
  msgstr ""
1991
 
1992
- #: admin/html/whats-new.php:483
1993
  msgid ""
1994
  "Now admin can allow users to create event from the frontend. Currently WPUF "
1995
  "has a one click pre-build event form that has been integrated with The "
1996
  "Events Calendar plugin"
1997
  msgstr ""
1998
 
1999
- #: admin/html/whats-new.php:486
2000
  msgid "Post Submission Facility From Account Page"
2001
  msgstr ""
2002
 
2003
- #: admin/html/whats-new.php:488
2004
  msgid ""
2005
  "On the frontend account page, added a new menu item named <b>Submit "
2006
  "Post</b>. Now admin can allow users to submit post from their default "
@@ -2009,504 +2039,504 @@ msgid ""
2009
  "you can assign any post form that will use to submit posts."
2010
  msgstr ""
2011
 
2012
- #: admin/html/whats-new.php:491
2013
  msgid "Login/Lost Password Link Under Registration Form"
2014
  msgstr ""
2015
 
2016
- #: admin/html/whats-new.php:493
2017
  msgid "Added Login/Lost Password link under registration form"
2018
  msgstr ""
2019
 
2020
- #: admin/html/whats-new.php:502
2021
  msgid "Added drag and drop image ordering on image upload"
2022
  msgstr ""
2023
 
2024
- #: admin/html/whats-new.php:504
2025
  msgid ""
2026
  "Now frontend users can drag & drop the images/files to change the order "
2027
  "while uploading."
2028
  msgstr ""
2029
 
2030
- #: admin/html/whats-new.php:507
2031
  msgid "Added reCAPTCHA field in login form"
2032
  msgstr ""
2033
 
2034
- #: admin/html/whats-new.php:509
2035
  msgid ""
2036
  "Admin has the option to show reCAPTCHA field in login form. Check the "
2037
  "related settings from <strong>User Frontend > Settings > "
2038
  "Login/Registration</strong>"
2039
  msgstr ""
2040
 
2041
- #: admin/html/whats-new.php:512
2042
  msgid "Added preview option in forms"
2043
  msgstr ""
2044
 
2045
- #: admin/html/whats-new.php:514
2046
  msgid ""
2047
  "You can see a nice <strong>Preview</strong> button with <strong>Save "
2048
  "Form</strong> button, admin can take a quick look of the form without using "
2049
  "shortcode"
2050
  msgstr ""
2051
 
2052
- #: admin/html/whats-new.php:517
2053
  msgid "Fixed hiding “Select Image” button while uploading multiple images."
2054
  msgstr ""
2055
 
2056
- #: admin/html/whats-new.php:519
2057
  msgid ""
2058
  "The upload button will not be hidden until the user selects max number of "
2059
  "files "
2060
  msgstr ""
2061
 
2062
- #: admin/html/whats-new.php:522
2063
  msgid "Added form limit notice before form submission"
2064
  msgstr ""
2065
 
2066
- #: admin/html/whats-new.php:524
2067
  msgid ""
2068
  "Limit notice message was showing after submission, now it is showing when "
2069
  "rendering the form"
2070
  msgstr ""
2071
 
2072
- #: admin/html/whats-new.php:527
2073
  msgid "Fixed: default post category not saving"
2074
  msgstr ""
2075
 
2076
- #: admin/html/whats-new.php:529
2077
  msgid ""
2078
  "From the form <strong>Settings > Post Settings</strong>, default post "
2079
  "category options were not saving. Now, it's fixed."
2080
  msgstr ""
2081
 
2082
- #: admin/html/whats-new.php:532
2083
  msgid ""
2084
  "WPUF dashboard shortcode with form_id attribute was not showing posts "
2085
  "properly"
2086
  msgstr ""
2087
 
2088
- #: admin/html/whats-new.php:534
2089
  msgid ""
2090
  "Now you can list posts on the frontend by using <strong>form_id<strong/> "
2091
  "attribute with <strong>[wpuf_dashboard]</strong> shortcode"
2092
  msgstr ""
2093
 
2094
- #: admin/html/whats-new.php:543
2095
  msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
2096
  msgstr ""
2097
 
2098
- #: admin/html/whats-new.php:545
2099
  msgid ""
2100
  "If you are using other language than English. Please <b>rename</b> your "
2101
  "<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
2102
  "change was made to support translations from translate.wordpress.org"
2103
  msgstr ""
2104
 
2105
- #: admin/html/whats-new.php:548
2106
  msgid "Added WP User Frontend Data export and erase functionality."
2107
  msgstr ""
2108
 
2109
- #: admin/html/whats-new.php:550
2110
  msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
2111
  msgstr ""
2112
 
2113
- #: admin/html/whats-new.php:553
2114
  msgid "Added billing address customizer."
2115
  msgstr ""
2116
 
2117
- #: admin/html/whats-new.php:555
2118
  msgid "Added customizer options for billing address in payment page."
2119
  msgstr ""
2120
 
2121
- #: admin/html/whats-new.php:558
2122
  msgid "Make the payment page responsive."
2123
  msgstr ""
2124
 
2125
- #: admin/html/whats-new.php:560
2126
  msgid "Some css adjustments are made in payment page to make it responsive."
2127
  msgstr ""
2128
 
2129
- #: admin/html/whats-new.php:563
2130
  msgid "Fixed image upload issue in Safari."
2131
  msgstr ""
2132
 
2133
- #: admin/html/whats-new.php:565
2134
  msgid "Images were not showing after upload in safari, it is fixed now."
2135
  msgstr ""
2136
 
2137
- #: admin/html/whats-new.php:568
2138
  msgid "Post update issue after updating or removing post images."
2139
  msgstr ""
2140
 
2141
- #: admin/html/whats-new.php:570
2142
  msgid ""
2143
  "Posts cannot be updated after updating or removing post images, it is fixed "
2144
  "now."
2145
  msgstr ""
2146
 
2147
- #: admin/html/whats-new.php:579
2148
  msgid "Allow overriding form input styles using theme styling."
2149
  msgstr ""
2150
 
2151
- #: admin/html/whats-new.php:581
2152
  msgid "Overriding form input styles using theme style is now possible."
2153
  msgstr ""
2154
 
2155
- #: admin/html/whats-new.php:584
2156
  msgid "Fixed Auto Login after registration."
2157
  msgstr ""
2158
 
2159
- #: admin/html/whats-new.php:586
2160
  msgid "Auto Login after registration was not working is fixed now."
2161
  msgstr ""
2162
 
2163
- #: admin/html/whats-new.php:589
2164
  msgid "Fixed fallback cost calculation"
2165
  msgstr ""
2166
 
2167
- #: admin/html/whats-new.php:591
2168
  msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
2169
  msgstr ""
2170
 
2171
- #: admin/html/whats-new.php:594
2172
  msgid "Removal of subscription from User Profile gets reverted if updated"
2173
  msgstr ""
2174
 
2175
- #: admin/html/whats-new.php:596
2176
  msgid "User subscription deletion gets reverted if updated is fixed."
2177
  msgstr ""
2178
 
2179
- #: admin/html/whats-new.php:599
2180
  msgid "Show Free pack users in subscribers list."
2181
  msgstr ""
2182
 
2183
- #: admin/html/whats-new.php:601
2184
  msgid "Free pack users were not showing in subscribers list, now they will."
2185
  msgstr ""
2186
 
2187
- #: admin/html/whats-new.php:610
2188
  msgid "WP User Frontend Guten Block is added"
2189
  msgstr ""
2190
 
2191
- #: admin/html/whats-new.php:612
2192
  msgid ""
2193
  "WPUF Form Block is now available to be used within gutenberg editor with "
2194
  "preview of the form. "
2195
  msgstr ""
2196
 
2197
- #: admin/html/whats-new.php:615
2198
  msgid "Advanced Custom Fields plugin compatibility"
2199
  msgstr ""
2200
 
2201
- #: admin/html/whats-new.php:617
2202
  msgid "Now all your ACF fields can be used within WPUF Post forms. "
2203
  msgstr ""
2204
 
2205
- #: admin/html/whats-new.php:620
2206
  msgid "Taxonomy Terms not showing for custom post types"
2207
  msgstr ""
2208
 
2209
- #: admin/html/whats-new.php:622
2210
  msgid ""
2211
  "Fixed an issue with taxonomy terms not appearing for Custom Post types "
2212
  "within Form Settings and Dashboard Post Listing"
2213
  msgstr ""
2214
 
2215
- #: admin/html/whats-new.php:625
2216
  msgid "Various other code optimizations"
2217
  msgstr ""
2218
 
2219
- #: admin/html/whats-new.php:627 admin/html/whats-new.php:684
2220
  msgid "Code structure organization and optimization for better performance"
2221
  msgstr ""
2222
 
2223
- #: admin/html/whats-new.php:636
2224
  msgid "WoooCommerce billing address Sync"
2225
  msgstr ""
2226
 
2227
- #: admin/html/whats-new.php:638
2228
  msgid ""
2229
  "If an existing customer has previously set his billing address, that will "
2230
  "be imported into WPUF Billing address "
2231
  msgstr ""
2232
 
2233
- #: admin/html/whats-new.php:641
2234
  msgid "Trial subscription message not showing properly"
2235
  msgstr ""
2236
 
2237
- #: admin/html/whats-new.php:643
2238
  msgid "Subscriptions with Trial now shows trial notices"
2239
  msgstr ""
2240
 
2241
- #: admin/html/whats-new.php:646
2242
  msgid "Reset email Key not working"
2243
  msgstr ""
2244
 
2245
- #: admin/html/whats-new.php:648
2246
  msgid "Reset Email key was not working in some cases"
2247
  msgstr ""
2248
 
2249
- #: admin/html/whats-new.php:651
2250
  msgid "Post count not showing on the frontend dashboard"
2251
  msgstr ""
2252
 
2253
- #: admin/html/whats-new.php:653
2254
  msgid ""
2255
  "Dashboard with multiple post type was not showing post counts properly, is "
2256
  "now fixed and shows count for each post type"
2257
  msgstr ""
2258
 
2259
- #: admin/html/whats-new.php:656
2260
  msgid "Login Redirect showing blank page is fixed"
2261
  msgstr ""
2262
 
2263
- #: admin/html/whats-new.php:658
2264
  msgid ""
2265
  "If \"Previous Page\" was set for redirection, login redirect was "
2266
  "redirecting to blank page for users who hit login page directly"
2267
  msgstr ""
2268
 
2269
- #: admin/html/whats-new.php:667
2270
  msgid "Enhanced Login Redirect to redirect users to previous page"
2271
  msgstr ""
2272
 
2273
- #: admin/html/whats-new.php:669
2274
  msgid ""
2275
  "You can choose Previous Page as Login Redirect page settings now to "
2276
  "redirect users to the page from which they went for Login. "
2277
  msgstr ""
2278
 
2279
- #: admin/html/whats-new.php:672
2280
  msgid "Email HTML links not Rendreing properly issue is fixed"
2281
  msgstr ""
2282
 
2283
- #: admin/html/whats-new.php:674
2284
  msgid ""
2285
  "For some clients emails were not rendering the HTML links properly, this is "
2286
  "now fixed"
2287
  msgstr ""
2288
 
2289
- #: admin/html/whats-new.php:677
2290
  msgid "Form Builder : Form Field's Help text styles not showing properly"
2291
  msgstr ""
2292
 
2293
- #: admin/html/whats-new.php:679
2294
  msgid "Help texts styling is now fixed and much easier to read and understand"
2295
  msgstr ""
2296
 
2297
- #: admin/html/whats-new.php:682
2298
  msgid "Various other code improvements"
2299
  msgstr ""
2300
 
2301
- #: admin/html/whats-new.php:693
2302
  msgid "Dashboard Post Listing now supports multiple post types"
2303
  msgstr ""
2304
 
2305
- #: admin/html/whats-new.php:695
2306
  msgid ""
2307
  "Now you can show multiple post type in user dashboard using shortcode like "
2308
  "this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
2309
  msgstr ""
2310
 
2311
- #: admin/html/whats-new.php:698
2312
  msgid "Added Login Redirect Settings"
2313
  msgstr ""
2314
 
2315
- #: admin/html/whats-new.php:700
2316
  msgid ""
2317
  "You can now set a page from <i>WPUF Settings > Login/Registration > "
2318
  "Redirect after Login</i>. When login redirection is active the user will be "
2319
  "redirected to this page after login."
2320
  msgstr ""
2321
 
2322
- #: admin/html/whats-new.php:703
2323
  msgid "Image Upload field button text can be changed"
2324
  msgstr ""
2325
 
2326
- #: admin/html/whats-new.php:705
2327
  msgid ""
2328
  "The upload button text can now be changed for image upload fields which "
2329
  "defaults to \"Select Image\" if not set. "
2330
  msgstr ""
2331
 
2332
- #: admin/html/whats-new.php:708
2333
  msgid "Multi Step Form styles made compatible with more themes"
2334
  msgstr ""
2335
 
2336
- #: admin/html/whats-new.php:710
2337
  msgid "Multi Step form can now be styled more easily with other themes "
2338
  msgstr ""
2339
 
2340
- #: admin/html/whats-new.php:713
2341
  msgid "Required field condition for google map not working is fixed"
2342
  msgstr ""
2343
 
2344
- #: admin/html/whats-new.php:715
2345
  msgid ""
2346
  "If Google Map field was set as required users were able to submit form "
2347
  "without changing the default value."
2348
  msgstr ""
2349
 
2350
- #: admin/html/whats-new.php:724
2351
  msgid "Admin form builder is now fully responsive."
2352
  msgstr ""
2353
 
2354
- #: admin/html/whats-new.php:726
2355
  msgid ""
2356
  "Now you can edit forms from your mobile devices directly. Our improved "
2357
  "responsive layouts of form builder makes it easy for you to build forms on "
2358
  "the go."
2359
  msgstr ""
2360
 
2361
- #: admin/html/whats-new.php:729
2362
  msgid "Added color schemes for creating attractive form layouts."
2363
  msgstr ""
2364
 
2365
- #: admin/html/whats-new.php:731
2366
  msgid ""
2367
  "We have added 3 new color schemes for the form layouts which you can choose "
2368
  "from each form's new display settings."
2369
  msgstr ""
2370
 
2371
- #: admin/html/whats-new.php:734
2372
  msgid "Restrict Free subscription pack to be enabled multiple times "
2373
  msgstr ""
2374
 
2375
- #: admin/html/whats-new.php:736
2376
  msgid ""
2377
  "Free subscription packs now can only be purchased once and the limit "
2378
  "applies properly"
2379
  msgstr ""
2380
 
2381
- #: admin/html/whats-new.php:739
2382
  msgid "Various other bug fixes and improvements were made "
2383
  msgstr ""
2384
 
2385
- #: admin/html/whats-new.php:741
2386
  msgid "Please see the change log to see full details."
2387
  msgstr ""
2388
 
2389
- #: admin/html/whats-new.php:750
2390
  msgid "Added upgrade function for default category"
2391
  msgstr ""
2392
 
2393
- #: admin/html/whats-new.php:752
2394
  msgid "Upgrader added to upgrade previously set default post category."
2395
  msgstr ""
2396
 
2397
- #: admin/html/whats-new.php:755
2398
  msgid "Subscription pack cannot be canceled"
2399
  msgstr ""
2400
 
2401
- #: admin/html/whats-new.php:757
2402
  msgid ""
2403
  "Fixed recurring subscription pack cannot be canceled from my account page "
2404
  "in subscription details section."
2405
  msgstr ""
2406
 
2407
- #: admin/html/whats-new.php:760
2408
  msgid "page installer admin notice logic issue"
2409
  msgstr ""
2410
 
2411
- #: admin/html/whats-new.php:762
2412
  msgid ""
2413
  "Fixed page installer admin notice logic problem due to new payment settings "
2414
  "default value not set."
2415
  msgstr ""
2416
 
2417
- #: admin/html/whats-new.php:772
2418
  msgid "Setup Wizard"
2419
  msgstr ""
2420
 
2421
- #: admin/html/whats-new.php:774
2422
  msgid "Setup Wizard added to turn off payment options and install pages."
2423
  msgstr ""
2424
 
2425
- #: admin/html/whats-new.php:778
2426
  msgid "Multi-select Category"
2427
  msgstr ""
2428
 
2429
- #: admin/html/whats-new.php:780
2430
  msgid "Add multi-select to default category in post form settings."
2431
  msgstr ""
2432
 
2433
- #: admin/html/whats-new.php:784
2434
  msgid "Select Text option for Taxonomy"
2435
  msgstr ""
2436
 
2437
- #: admin/html/whats-new.php:786
2438
  msgid ""
2439
  "Add Select Text option for taxonomy fields. Now you can add default text "
2440
  "with empty value as first option for Taxonomy dropdown."
2441
  msgstr ""
2442
 
2443
- #: admin/html/whats-new.php:789
2444
  msgid "Taxonomy Checkbox Inline"
2445
  msgstr ""
2446
 
2447
- #: admin/html/whats-new.php:791
2448
  msgid ""
2449
  "Added checkbox inline option to taxonomy checkbox. You can now display "
2450
  "Taxonomy checkbox fields inline."
2451
  msgstr ""
2452
 
2453
- #: admin/html/whats-new.php:801
2454
  msgid "Manage schedule for form submission"
2455
  msgstr ""
2456
 
2457
- #: admin/html/whats-new.php:803
2458
  msgid ""
2459
  "Do not accept form submission if the current date is not between the date "
2460
  "range of the schedule."
2461
  msgstr ""
2462
 
2463
- #: admin/html/whats-new.php:807
2464
  msgid "Restrict form submission based on the user roles"
2465
  msgstr ""
2466
 
2467
- #: admin/html/whats-new.php:809
2468
  msgid ""
2469
  "Restrict form submission based on the user roles. Now you can manage user "
2470
  "role base permission on form submission."
2471
  msgstr ""
2472
 
2473
- #: admin/html/whats-new.php:813
2474
  msgid "Limit how many entries a form will accept"
2475
  msgstr ""
2476
 
2477
- #: admin/html/whats-new.php:815
2478
  msgid ""
2479
  "Limit how many entries a form will accept and display a custom message when "
2480
  "that limit is reached."
2481
  msgstr ""
2482
 
2483
- #: admin/html/whats-new.php:819
2484
  msgid "Show/hide Admin Bar"
2485
  msgstr ""
2486
 
2487
- #: admin/html/whats-new.php:821
2488
  msgid "Control the admin bar visibility based on user roles."
2489
  msgstr ""
2490
 
2491
- #: admin/html/whats-new.php:825
2492
  msgid "Ajax Login widget"
2493
  msgstr ""
2494
 
2495
- #: admin/html/whats-new.php:827
2496
  msgid ""
2497
  "Login user is more simple now with Ajax Login Widget. The simple ajax login "
2498
  "form do not required page loading for login."
2499
  msgstr ""
2500
 
2501
- #: admin/html/whats-new.php:831
2502
  msgid "Form submission with Captcha field"
2503
  msgstr ""
2504
 
2505
- #: admin/html/whats-new.php:833
2506
  msgid "Form field validation process updated if form submits with captcha field."
2507
  msgstr ""
2508
 
2509
- #: admin/html/whats-new.php:847
2510
  msgid "What's New in WPUF?"
2511
  msgstr ""
2512
 
@@ -2641,23 +2671,23 @@ msgid "Draft"
2641
  msgstr ""
2642
 
2643
  #: admin/posting.php:72 class/asset-loader.php:55 class/render-form.php:1673
2644
- #: wpuf.php:721
2645
  msgid "Are you sure?"
2646
  msgstr ""
2647
 
2648
- #: admin/posting.php:80 class/asset-loader.php:63 wpuf.php:732
2649
  msgid "Allowed Files"
2650
  msgstr ""
2651
 
2652
- #: admin/posting.php:83 class/asset-loader.php:66 wpuf.php:738
2653
  msgid "Maximum number of files reached!"
2654
  msgstr ""
2655
 
2656
- #: admin/posting.php:84 class/asset-loader.php:67 wpuf.php:739
2657
  msgid "The file you have uploaded exceeds the file size limit. Please try again."
2658
  msgstr ""
2659
 
2660
- #: admin/posting.php:85 class/asset-loader.php:68 wpuf.php:740
2661
  msgid "You have uploaded an incorrect file type. Please try again."
2662
  msgstr ""
2663
 
@@ -3462,11 +3492,11 @@ msgstr ""
3462
  msgid "Number of subscribers per page:"
3463
  msgstr ""
3464
 
3465
- #: admin/template-post.php:36 includes/fields/class-field-post-content.php:127
3466
  msgid "Enable Image Insertion"
3467
  msgstr ""
3468
 
3469
- #: admin/template-post.php:42 includes/fields/class-field-post-content.php:129
3470
  msgid "Enable image upload in post area"
3471
  msgstr ""
3472
 
@@ -3669,72 +3699,67 @@ msgid "Add a CSS class name for this field"
3669
  msgstr ""
3670
 
3671
  #: admin/template.php:117 admin/template.php:175
3672
- #: includes/fields/class-abstract-fields.php:524
3673
- #: includes/fields/class-abstract-fields.php:615
3674
  msgid "Placeholder text"
3675
  msgstr ""
3676
 
3677
- #: admin/template.php:118 includes/fields/class-abstract-fields.php:530
3678
- #: includes/fields/class-abstract-fields.php:619
3679
  msgid "Text for HTML5 placeholder attribute"
3680
  msgstr ""
3681
 
3682
  #: admin/template.php:122 admin/template.php:180
3683
- #: includes/fields/class-abstract-fields.php:535
3684
- #: includes/fields/class-abstract-fields.php:627
3685
  msgid "Default value"
3686
  msgstr ""
3687
 
3688
- #: admin/template.php:123 includes/fields/class-abstract-fields.php:541
3689
- #: includes/fields/class-abstract-fields.php:631
3690
  msgid "The default value this field will have"
3691
  msgstr ""
3692
 
3693
- #: admin/template.php:127 includes/fields/class-abstract-fields.php:546
3694
  msgid "Size"
3695
  msgstr ""
3696
 
3697
- #: admin/template.php:128 includes/fields/class-abstract-fields.php:551
3698
  msgid "Size of this input field"
3699
  msgstr ""
3700
 
3701
  #: admin/template.php:132 admin/template.php:195
3702
- #: includes/fields/class-abstract-fields.php:502
3703
- #: includes/fields/class-abstract-fields.php:558
3704
- #: includes/fields/class-abstract-fields.php:650
3705
  msgid "Word Restriction"
3706
  msgstr ""
3707
 
3708
  #: admin/template.php:136 admin/template.php:199
3709
- #: includes/fields/class-abstract-fields.php:506
3710
- #: includes/fields/class-abstract-fields.php:562
3711
  msgid "Numebr of words the author to be restricted in"
3712
  msgstr ""
3713
 
3714
- #: admin/template.php:165 includes/fields/class-abstract-fields.php:597
3715
  msgid "Rows"
3716
  msgstr ""
3717
 
3718
- #: admin/template.php:170 includes/fields/class-abstract-fields.php:606
3719
  #: includes/fields/class-field-column.php:9
3720
  msgid "Columns"
3721
  msgstr ""
3722
 
3723
- #: admin/template.php:185 includes/fields/class-abstract-fields.php:636
3724
  #: includes/fields/class-field-textarea.php:9
3725
- #: includes/fields/class-field-textarea.php:121
3726
  msgid "Textarea"
3727
  msgstr ""
3728
 
3729
- #: admin/template.php:188 includes/fields/class-abstract-fields.php:639
3730
  msgid "Normal"
3731
  msgstr ""
3732
 
3733
- #: admin/template.php:189 includes/fields/class-abstract-fields.php:640
3734
  msgid "Rich textarea"
3735
  msgstr ""
3736
 
3737
- #: admin/template.php:190 includes/fields/class-abstract-fields.php:641
3738
  msgid "Teeny Rich textarea"
3739
  msgstr ""
3740
 
@@ -3743,7 +3768,7 @@ msgid "show values"
3743
  msgstr ""
3744
 
3745
  #: admin/template.php:377 admin/template.php:401 admin/template.php:432
3746
- #: admin/template.php:463 includes/fields/class-abstract-fields.php:579
3747
  #: templates/dashboard/posts.php:98 templates/dashboard.php:139
3748
  msgid "Options"
3749
  msgstr ""
@@ -3817,27 +3842,27 @@ msgstr ""
3817
  msgid "Import"
3818
  msgstr ""
3819
 
3820
- #: class/asset-loader.php:32 wpuf.php:629
3821
  msgid "is required"
3822
  msgstr ""
3823
 
3824
- #: class/asset-loader.php:33 wpuf.php:630
3825
  msgid "does not match"
3826
  msgstr ""
3827
 
3828
- #: class/asset-loader.php:34 wpuf.php:631
3829
  msgid "is not valid"
3830
  msgstr ""
3831
 
3832
- #: class/asset-loader.php:46 wpuf.php:708
3833
  msgid "Please fix the errors to proceed"
3834
  msgstr ""
3835
 
3836
- #: class/asset-loader.php:48 wpuf.php:710
3837
  msgid "Word limit reached"
3838
  msgstr ""
3839
 
3840
- #: class/asset-loader.php:49 wpuf.php:711
3841
  msgid "Are you sure you want to cancel your current subscription ?"
3842
  msgstr ""
3843
 
@@ -4040,15 +4065,15 @@ msgstr ""
4040
  msgid "Please enter your post name"
4041
  msgstr ""
4042
 
4043
- #: class/post-form-templates/post.php:35 templates/dashboard.php:108
4044
  msgid "Category"
4045
  msgstr ""
4046
 
4047
- #: class/post-form-templates/post.php:38
4048
  msgid "Select a category for your post"
4049
  msgstr ""
4050
 
4051
- #: class/post-form-templates/post.php:39
4052
  #: includes/fields/class-abstract-fields.php:188
4053
  #: includes/fields/class-field-dropdown.php:106
4054
  #: includes/fields/class-field-multidropdown.php:83
@@ -4056,15 +4081,15 @@ msgstr ""
4056
  msgid "- select -"
4057
  msgstr ""
4058
 
4059
- #: class/post-form-templates/post.php:56
4060
  msgid "Post description"
4061
  msgstr ""
4062
 
4063
- #: class/post-form-templates/post.php:59
4064
  msgid "Write the full description of your Post"
4065
  msgstr ""
4066
 
4067
- #: class/post-form-templates/post.php:76 class/post-form-templates/post.php:77
4068
  #: includes/fields/class-field-featured-image.php:9
4069
  #: includes/fields/class-field-featured-image.php:142
4070
  #: includes/free/post-form-templates/the_events_calendar.php:125
@@ -4073,41 +4098,41 @@ msgstr ""
4073
  msgid "Featured Image"
4074
  msgstr ""
4075
 
4076
- #: class/post-form-templates/post.php:80
4077
  msgid "Upload the main image of your post"
4078
  msgstr ""
4079
 
4080
- #: class/post-form-templates/post.php:90
4081
  #: includes/free/post-form-templates/the_events_calendar.php:138
4082
  #: templates/dashboard.php:128
4083
  msgid "Excerpt"
4084
  msgstr ""
4085
 
4086
- #: class/post-form-templates/post.php:93
4087
  msgid "Provide a short description of this post (optional)"
4088
  msgstr ""
4089
 
4090
- #: class/post-form-templates/post.php:107
4091
  #: includes/fields/class-field-post-tags.php:6
4092
  msgid "Tags"
4093
  msgstr ""
4094
 
4095
- #: class/post-form-templates/post.php:110
4096
  #: includes/free/post-form-templates/the_events_calendar.php:157
4097
  msgid "Separate tags with commas."
4098
  msgstr ""
4099
 
4100
- #: class/post-form-templates/post.php:128
4101
  msgid "Create Post"
4102
  msgstr ""
4103
 
4104
- #: class/post-form-templates/post.php:142
4105
  msgid ""
4106
  "Post has been updated successfully. <a target=\"_blank\" "
4107
  "href=\"%link%\">View post</a>"
4108
  msgstr ""
4109
 
4110
- #: class/post-form-templates/post.php:144
4111
  msgid "Update Post"
4112
  msgstr ""
4113
 
@@ -4548,52 +4573,52 @@ msgstr ""
4548
  msgid "Post Limit Exceeded for your purchased subscription pack."
4549
  msgstr ""
4550
 
4551
- #: includes/class-frontend-form-post.php:53
4552
  msgid "You are not logged in"
4553
  msgstr ""
4554
 
4555
- #: includes/class-frontend-form-post.php:63
4556
- #: includes/class-frontend-form-post.php:93
4557
  msgid "Invalid post"
4558
  msgstr ""
4559
 
4560
- #: includes/class-frontend-form-post.php:70
4561
  msgid "Your edit access for this post has been locked by an administrator."
4562
  msgstr ""
4563
 
4564
- #: includes/class-frontend-form-post.php:74
4565
  msgid "Your allocated time for editing this post has been expired."
4566
  msgstr ""
4567
 
4568
- #: includes/class-frontend-form-post.php:82
4569
  msgid "Your post edit access has been locked by an administrator."
4570
  msgstr ""
4571
 
4572
- #: includes/class-frontend-form-post.php:87
4573
  msgid "Post Editing is disabled"
4574
  msgstr ""
4575
 
4576
- #: includes/class-frontend-form-post.php:98
4577
  msgid "You are not allowed to edit"
4578
  msgstr ""
4579
 
4580
- #: includes/class-frontend-form-post.php:109
4581
  msgid "I don't know how to edit this post, I don't have the form ID"
4582
  msgstr ""
4583
 
4584
- #: includes/class-frontend-form-post.php:121
4585
  msgid "You can't edit a post while in pending mode."
4586
  msgstr ""
4587
 
4588
- #: includes/class-frontend-form-post.php:528
4589
  msgid "Something went wrong"
4590
  msgstr ""
4591
 
4592
- #: includes/class-frontend-form-post.php:549
4593
  msgid "Invalid email address."
4594
  msgstr ""
4595
 
4596
- #: includes/class-frontend-form-post.php:559
4597
  msgid ""
4598
  "You already have an account in our site. Please login to continue.\n"
4599
  "\n"
@@ -4602,24 +4627,24 @@ msgid ""
4602
  "Click 'Cancel' to stay at this page."
4603
  msgstr ""
4604
 
4605
- #: includes/class-frontend-form-post.php:608
4606
  #: includes/class-frontend-render-form.php:312
4607
  msgid "You do not have sufficient permissions to access this form."
4608
  msgstr ""
4609
 
4610
- #: includes/class-frontend-form-post.php:881
4611
  msgid "Email successfully verified. Please Login."
4612
  msgstr ""
4613
 
4614
- #: includes/class-frontend-form-post.php:996
4615
- #: includes/class-frontend-form-post.php:1002
4616
  msgid ""
4617
  "Thank you for posting on our site. We have sent you an confirmation email. "
4618
  "Please check your inbox!"
4619
  msgstr ""
4620
 
4621
- #: includes/class-frontend-render-form.php:847
4622
- #: includes/free/class-login.php:452
4623
  msgid "Empty reCaptcha Field"
4624
  msgstr ""
4625
 
@@ -4696,20 +4721,20 @@ msgstr ""
4696
  msgid "Someone has requested a password reset for the following account:"
4697
  msgstr ""
4698
 
4699
- #: includes/class-login-widget.php:147 includes/free/class-login.php:854
4700
- #: includes/free/class-login.php:935 includes/free/class-registration.php:291
4701
  msgid "Username: %s"
4702
  msgstr ""
4703
 
4704
- #: includes/class-login-widget.php:148 includes/free/class-login.php:936
4705
  msgid "If this was a mistake, just ignore this email and nothing will happen."
4706
  msgstr ""
4707
 
4708
- #: includes/class-login-widget.php:149 includes/free/class-login.php:937
4709
  msgid "To reset your password, visit the following address:"
4710
  msgstr ""
4711
 
4712
- #: includes/class-login-widget.php:154 includes/free/class-login.php:948
4713
  msgid "[%s] Password Reset"
4714
  msgstr ""
4715
 
@@ -4767,7 +4792,7 @@ msgid "Remember Me"
4767
  msgstr ""
4768
 
4769
  #: includes/class-login-widget.php:281 includes/free/class-login.php:318
4770
- #: includes/free/class-login.php:373 templates/login-form.php:75
4771
  msgid "Log In"
4772
  msgstr ""
4773
 
@@ -5278,22 +5303,42 @@ msgstr ""
5278
  msgid "Selection Terms"
5279
  msgstr ""
5280
 
5281
- #: includes/fields/class-abstract-fields.php:584
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5282
  msgid "Add options for the form field"
5283
  msgstr ""
5284
 
5285
- #: includes/fields/class-abstract-fields.php:601
5286
  msgid "Number of rows in textarea"
5287
  msgstr ""
5288
 
5289
- #: includes/fields/class-abstract-fields.php:610
5290
  msgid "Number of columns in textarea"
5291
  msgstr ""
5292
 
5293
- #: includes/fields/class-abstract-fields.php:654
5294
- msgid "Number of words the author to be restricted in"
5295
- msgstr ""
5296
-
5297
  #: includes/fields/class-field-column.php:70
5298
  msgid "Number of Columns"
5299
  msgstr ""
@@ -5517,41 +5562,41 @@ msgstr ""
5517
  msgid "Lost Password"
5518
  msgstr ""
5519
 
5520
- #: includes/free/class-login.php:364
 
 
 
 
5521
  msgid ""
5522
  "Please enter your username or email address. You will receive a link to "
5523
  "create a new password via email."
5524
  msgstr ""
5525
 
5526
- #: includes/free/class-login.php:373
5527
  msgid "Your password has been reset. %s"
5528
  msgstr ""
5529
 
5530
- #: includes/free/class-login.php:377
5531
  msgid "Enter your new password below."
5532
  msgstr ""
5533
 
5534
- #: includes/free/class-login.php:390
5535
- msgid "Check your e-mail for the confirmation link."
5536
- msgstr ""
5537
-
5538
- #: includes/free/class-login.php:394
5539
  msgid "You are now logged out."
5540
  msgstr ""
5541
 
5542
- #: includes/free/class-login.php:420
5543
  msgid "Nonce is invalid"
5544
  msgstr ""
5545
 
5546
- #: includes/free/class-login.php:439 includes/free/class-registration.php:224
5547
  msgid "Username is required."
5548
  msgstr ""
5549
 
5550
- #: includes/free/class-login.php:445 includes/free/class-registration.php:230
5551
  msgid "Password is required."
5552
  msgstr ""
5553
 
5554
- #: includes/free/class-login.php:468 includes/free/class-registration.php:200
5555
  #: includes/free/class-registration.php:206
5556
  #: includes/free/class-registration.php:212
5557
  #: includes/free/class-registration.php:218
@@ -5564,96 +5609,96 @@ msgstr ""
5564
  msgid "Error"
5565
  msgstr ""
5566
 
5567
- #: includes/free/class-login.php:468 includes/free/class-registration.php:259
5568
  msgid "A user could not be found with this email address."
5569
  msgstr ""
5570
 
5571
- #: includes/free/class-login.php:642
5572
  msgid "Please enter your password."
5573
  msgstr ""
5574
 
5575
- #: includes/free/class-login.php:648
5576
  msgid "Passwords do not match."
5577
  msgstr ""
5578
 
5579
- #: includes/free/class-login.php:696
5580
  msgid "Enter a username or e-mail address."
5581
  msgstr ""
5582
 
5583
- #: includes/free/class-login.php:703
5584
  msgid "There is no user registered with that email address."
5585
  msgstr ""
5586
 
5587
- #: includes/free/class-login.php:720
5588
  msgid "Invalid username or e-mail."
5589
  msgstr ""
5590
 
5591
- #: includes/free/class-login.php:734
5592
  msgid "Password reset is not allowed for this user"
5593
  msgstr ""
5594
 
5595
- #: includes/free/class-login.php:772
5596
  msgid ""
5597
  "<strong>Your account is not active.</strong><br>Please check your email for "
5598
  "activation link. <br><a href=\"%s\">Click here</a> to resend the activation "
5599
  "link"
5600
  msgstr ""
5601
 
5602
- #: includes/free/class-login.php:793 includes/free/class-login.php:818
5603
  msgid "Activation URL is not valid"
5604
  msgstr ""
5605
 
5606
- #: includes/free/class-login.php:804
5607
  msgid "Invalid User activation url"
5608
  msgstr ""
5609
 
5610
- #: includes/free/class-login.php:810
5611
  msgid "User already verified"
5612
  msgstr ""
5613
 
5614
- #: includes/free/class-login.php:826 includes/free/class-login.php:890
5615
  msgid "Your account has been activated"
5616
  msgstr ""
5617
 
5618
- #: includes/free/class-login.php:829
5619
  msgid ""
5620
  "Your account has been verified , but you can't login until manually "
5621
  "approved your account by an administrator."
5622
  msgstr ""
5623
 
5624
- #: includes/free/class-login.php:852
5625
  msgid "[%s] Your username and password info"
5626
  msgstr ""
5627
 
5628
- #: includes/free/class-login.php:855
5629
  msgid "To set your password, visit the following address:"
5630
  msgstr ""
5631
 
5632
- #: includes/free/class-login.php:865
5633
  msgid "[%s] Account has been activated"
5634
  msgstr ""
5635
 
5636
- #: includes/free/class-login.php:867
5637
  msgid "Hi %s,"
5638
  msgstr ""
5639
 
5640
- #: includes/free/class-login.php:868
5641
  msgid "Congrats! Your account has been activated. To login visit the following url:"
5642
  msgstr ""
5643
 
5644
- #: includes/free/class-login.php:870
5645
  msgid "Thanks"
5646
  msgstr ""
5647
 
5648
- #: includes/free/class-login.php:933
5649
  msgid "Someone requested that the password be reset for the following account:"
5650
  msgstr ""
5651
 
5652
- #: includes/free/class-login.php:954
5653
  msgid "The e-mail could not be sent."
5654
  msgstr ""
5655
 
5656
- #: includes/free/class-login.php:954
5657
  msgid "Possible reason: your host may have disabled the mail() function."
5658
  msgstr ""
5659
 
@@ -6746,7 +6791,7 @@ msgstr ""
6746
  msgid "Your Post Has Been Expired"
6747
  msgstr ""
6748
 
6749
- #: wpuf.php:453
6750
  msgid ""
6751
  "<p style=\"font-size: 13px\">\n"
6752
  " <strong class=\"highlight-text\" "
@@ -6759,19 +6804,19 @@ msgid ""
6759
  " </p>"
6760
  msgstr ""
6761
 
6762
- #: wpuf.php:467
6763
  msgid "Update WP User Frontend Pro Now"
6764
  msgstr ""
6765
 
6766
- #: wpuf.php:471
6767
  msgid "Update WP User Frontend Pro NOW"
6768
  msgstr ""
6769
 
6770
- #: wpuf.php:717
6771
  msgid "Please Cancel Your Currently Active Pack first!"
6772
  msgstr ""
6773
 
6774
- #: wpuf.php:884
6775
  msgid "Error: Nonce verification failed"
6776
  msgstr ""
6777
 
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP User Frontend 3.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2020-09-22 09:52:48+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
178
  #: includes/fields/class-abstract-fields.php:409
179
  #: includes/fields/class-field-checkbox.php:74
180
  #: includes/fields/class-field-radio.php:83 includes/free/form-element.php:460
181
+ #: wpuf.php:715
182
  msgid "Yes"
183
  msgstr ""
184
 
193
  #: includes/fields/class-abstract-fields.php:410
194
  #: includes/fields/class-field-checkbox.php:75
195
  #: includes/fields/class-field-radio.php:84 includes/free/form-element.php:461
196
+ #: wpuf.php:716
197
  msgid "No"
198
  msgstr ""
199
 
587
  msgstr ""
588
 
589
  #: admin/form-builder/class-wpuf-admin-form-builder.php:281
590
+ #: admin/posting.php:73 class/asset-loader.php:56 wpuf.php:725
591
  msgid "Yes, delete it"
592
  msgstr ""
593
 
594
  #: admin/form-builder/class-wpuf-admin-form-builder.php:282
595
+ #: admin/posting.php:74 class/asset-loader.php:57 wpuf.php:726
596
  msgid "No, cancel it"
597
  msgstr ""
598
 
1021
  msgid "After how many hours user will be locked from editing the submitted post."
1022
  msgstr ""
1023
 
1024
+ #: admin/html/form-settings-post.php:7 class/post-form-templates/post.php:127
1025
  #: includes/free/post-form-templates/the_events_calendar.php:171
1026
  msgid "This page is restricted. Please Log in / Register to view this page."
1027
  msgstr ""
1333
  msgid "Subscription &amp; Payment"
1334
  msgstr ""
1335
 
1336
+ #: admin/html/support.php:282 includes/fields/class-abstract-fields.php:518
1337
+ #: includes/fields/class-abstract-fields.php:591
1338
+ #: includes/fields/class-abstract-fields.php:698
1339
  msgid "Content Restriction"
1340
  msgstr ""
1341
 
1408
  msgstr ""
1409
 
1410
  #: admin/html/whats-new.php:8
1411
+ msgid "Add character restriction feature"
1412
  msgstr ""
1413
 
1414
  #: admin/html/whats-new.php:12
1415
+ msgid "Make sure post author edit link works only in frontend"
1416
  msgstr ""
1417
 
1418
  #: admin/html/whats-new.php:16
1419
+ msgid "Inconsistency in lost password reset email message"
1420
  msgstr ""
1421
 
1422
  #: admin/html/whats-new.php:20
1423
+ msgid "Saving custom taxonomy terms when input type is text"
1424
  msgstr ""
1425
 
1426
  #: admin/html/whats-new.php:24
1427
+ msgid "Taxonomy field JS error in builder"
1428
  msgstr ""
1429
 
1430
  #: admin/html/whats-new.php:28
1431
+ msgid "Showing WPUF edit link for WP default roles"
1432
  msgstr ""
1433
 
1434
  #: admin/html/whats-new.php:32
1435
+ msgid "Upload button unresponsive issue in iOS"
1436
+ msgstr ""
1437
+
1438
+ #: admin/html/whats-new.php:42
1439
+ msgid "Add post edit link for post authors in single or archive pages"
1440
+ msgstr ""
1441
+
1442
+ #: admin/html/whats-new.php:46
1443
+ msgid "Enhance post delete message"
1444
+ msgstr ""
1445
+
1446
+ #: admin/html/whats-new.php:50
1447
+ msgid "Refactor control buttons visibility in form builder"
1448
+ msgstr ""
1449
+
1450
+ #: admin/html/whats-new.php:54
1451
+ msgid "Add missing colons after field label"
1452
+ msgstr ""
1453
+
1454
+ #: admin/html/whats-new.php:58
1455
+ msgid "Post edit map capability condition"
1456
+ msgstr ""
1457
+
1458
+ #: admin/html/whats-new.php:62
1459
+ msgid "Role based permission for accessing a post form"
1460
+ msgstr ""
1461
+
1462
+ #: admin/html/whats-new.php:66
1463
  msgid "Section-break field alignment"
1464
  msgstr ""
1465
 
1466
+ #: admin/html/whats-new.php:70
1467
  msgid "Pay per post doesn't work if subscription pack is activated"
1468
  msgstr ""
1469
 
1470
+ #: admin/html/whats-new.php:74
1471
  msgid "Mime type for uploading JSON files"
1472
  msgstr ""
1473
 
1474
+ #: admin/html/whats-new.php:78
1475
  msgid "File upload with same file name"
1476
  msgstr ""
1477
 
1478
+ #: admin/html/whats-new.php:82
1479
  msgid "Post preview missing fields"
1480
  msgstr ""
1481
 
1482
+ #: admin/html/whats-new.php:86
1483
  msgid "Illigal variable declartion"
1484
  msgstr ""
1485
 
1486
+ #: admin/html/whats-new.php:90
1487
  msgid "Featured image updating issue"
1488
  msgstr ""
1489
 
1490
+ #: admin/html/whats-new.php:94
1491
  msgid "Conflict with Phlox theme"
1492
  msgstr ""
1493
 
1494
+ #: admin/html/whats-new.php:98
1495
  msgid "Textarea custom field data sanitization"
1496
  msgstr ""
1497
 
1498
+ #: admin/html/whats-new.php:102
1499
  msgid "exclude_type warning in wpuf_category_checklist"
1500
  msgstr ""
1501
 
1502
+ #: admin/html/whats-new.php:106
1503
  msgid "Category field not showing all child categories for selection type child of"
1504
  msgstr ""
1505
 
1506
+ #: admin/html/whats-new.php:110
1507
  msgid "Conflict between image and file upload custom fields"
1508
  msgstr ""
1509
 
1510
+ #: admin/html/whats-new.php:114
1511
  msgid "Login url when login page is not set"
1512
  msgstr ""
1513
 
1514
+ #: admin/html/whats-new.php:124
1515
  msgid ""
1516
  "Use common names for Ivory Coast, North Korea and Sourth Korea instead of "
1517
  "their official names"
1518
  msgstr ""
1519
 
1520
+ #: admin/html/whats-new.php:128
1521
  msgid "Fix condition to use default avatar"
1522
  msgstr ""
1523
 
1524
+ #: admin/html/whats-new.php:132
1525
  msgid "Make Email and URL fields clickable"
1526
  msgstr ""
1527
 
1528
+ #: admin/html/whats-new.php:136
1529
  msgid "Fix redirect after user login"
1530
  msgstr ""
1531
 
1532
+ #: admin/html/whats-new.php:140
1533
  msgid "Sanitize textarea field data"
1534
  msgstr ""
1535
 
1536
+ #: admin/html/whats-new.php:144
1537
  msgid ""
1538
  "Fix missing colon to email, URL, text and textarea labels when renders "
1539
  "their data"
1540
  msgstr ""
1541
 
1542
+ #: admin/html/whats-new.php:148
1543
  msgid "Prevent showing empty labels for fields that have render_field_data method"
1544
  msgstr ""
1545
 
1546
+ #: admin/html/whats-new.php:158
1547
  msgid "Add Namibian Dollar in currency list"
1548
  msgstr ""
1549
 
1550
+ #: admin/html/whats-new.php:162
1551
  msgid "Add sync values option for option data fields"
1552
  msgstr ""
1553
 
1554
+ #: admin/html/whats-new.php:166
1555
  msgid "Allow uploading image that having filesize meets php ini settings"
1556
  msgstr ""
1557
 
1558
+ #: admin/html/whats-new.php:170
1559
  msgid "Limit the selection of one image at a time"
1560
  msgstr ""
1561
 
1562
+ #: admin/html/whats-new.php:174
1563
  msgid "Use file name and size to generate hash to prevent duplicant image upload"
1564
  msgstr ""
1565
 
1566
+ #: admin/html/whats-new.php:178
1567
  msgid "Sanitize text and textarea field data"
1568
  msgstr ""
1569
 
1570
+ #: admin/html/whats-new.php:182
1571
  msgid ""
1572
  "Show label instead of values for radio, checkbox, dropdown and multiselect "
1573
  "data"
1574
  msgstr ""
1575
 
1576
+ #: admin/html/whats-new.php:186
1577
  msgid "Saving custom taxonomies for type text input"
1578
  msgstr ""
1579
 
1580
+ #: admin/html/whats-new.php:190
1581
  msgid "Admin settings link for recaptcha helper text"
1582
  msgstr ""
1583
 
1584
+ #: admin/html/whats-new.php:194
1585
  msgid "Undefined name property for Custom HTML fields"
1586
  msgstr ""
1587
 
1588
+ #: admin/html/whats-new.php:198
1589
  msgid "Delete attachment process"
1590
  msgstr ""
1591
 
1592
+ #: admin/html/whats-new.php:202
1593
  msgid "Missing billing address in invoice PDF"
1594
  msgstr ""
1595
 
1596
+ #: admin/html/whats-new.php:206
1597
  msgid "Showing country field value in frontend post content"
1598
  msgstr ""
1599
 
1600
+ #: admin/html/whats-new.php:210
1601
  msgid "Avatar size display not complying with admin settings size"
1602
  msgstr ""
1603
 
1604
+ #: admin/html/whats-new.php:214
1605
  msgid "Display default avatars on admin settings discussion page"
1606
  msgstr ""
1607
 
1608
+ #: admin/html/whats-new.php:218
1609
  msgid "Redirect to subscription page at registration"
1610
  msgstr ""
1611
 
1612
+ #: admin/html/whats-new.php:222
1613
  msgid "Error notice regarding registration page redirect"
1614
  msgstr ""
1615
 
1616
+ #: admin/html/whats-new.php:226
1617
  msgid "Escaping html in registration errors"
1618
  msgstr ""
1619
 
1620
+ #: admin/html/whats-new.php:230
1621
  msgid "Default login redirect link"
1622
  msgstr ""
1623
 
1624
+ #: admin/html/whats-new.php:234
1625
  msgid "Implementing default WP login page override option"
1626
  msgstr ""
1627
 
1628
+ #: admin/html/whats-new.php:238
1629
  msgid "Transparent background of autosuggestion dropdown"
1630
  msgstr ""
1631
 
1632
+ #: admin/html/whats-new.php:248
1633
  msgid "Import forms system"
1634
  msgstr ""
1635
 
1636
+ #: admin/html/whats-new.php:252
1637
  msgid "Password reset system"
1638
  msgstr ""
1639
 
1640
+ #: admin/html/whats-new.php:256
1641
  msgid "Updated url validation regex to support modern tlds"
1642
  msgstr ""
1643
 
1644
+ #: admin/html/whats-new.php:260
1645
  msgid "Export WPUF forms individually from admin tools page"
1646
  msgstr ""
1647
 
1648
+ #: admin/html/whats-new.php:264
1649
  msgid "Subscription cycle label translation issue"
1650
  msgstr ""
1651
 
1652
+ #: admin/html/whats-new.php:268
1653
  msgid "ACF integration for checkbox fields"
1654
  msgstr ""
1655
 
1656
+ #: admin/html/whats-new.php:272
1657
  msgid "Illegal string offset warning while updating settings"
1658
  msgstr ""
1659
 
1660
+ #: admin/html/whats-new.php:276
1661
  msgid "Conditional logic for Section Break field"
1662
  msgstr ""
1663
 
1664
+ #: admin/html/whats-new.php:280
1665
  msgid "Subscriptions cannot be deleted from backend"
1666
  msgstr ""
1667
 
1668
+ #: admin/html/whats-new.php:284
1669
  msgid "A regression regarding saving checkbox data"
1670
  msgstr ""
1671
 
1672
+ #: admin/html/whats-new.php:288
1673
  msgid "Default value of multi-select fields is not showing"
1674
  msgstr ""
1675
 
1676
+ #: admin/html/whats-new.php:298
1677
  msgid "Hide post edit option when subscription is expired"
1678
  msgstr ""
1679
 
1680
+ #: admin/html/whats-new.php:300
1681
  msgid "Hide post edit option from users whose subscription pack is expired."
1682
  msgstr ""
1683
 
1684
+ #: admin/html/whats-new.php:303
1685
  msgid "Check files to prevent duplicity in media upload"
1686
  msgstr ""
1687
 
1688
+ #: admin/html/whats-new.php:305
1689
  msgid ""
1690
  "A simple measure has been taken to prevent maliciously flooding the site by "
1691
  "uploading same file multiple times. Though this won't work with already "
1692
  "uploaded medias."
1693
  msgstr ""
1694
 
1695
+ #: admin/html/whats-new.php:308
1696
  msgid "Refactor address fields in Account section"
1697
  msgstr ""
1698
 
1699
+ #: admin/html/whats-new.php:310
1700
  msgid "Address edit section from Account section has been rewritten to improve UX."
1701
  msgstr ""
1702
 
1703
+ #: admin/html/whats-new.php:313
1704
  msgid "Update Paypal payment gateway"
1705
  msgstr ""
1706
 
1707
+ #: admin/html/whats-new.php:315
1708
  msgid "Paypal payment gateway has seen some improvements."
1709
  msgstr ""
1710
 
1711
+ #: admin/html/whats-new.php:318
1712
  msgid "Default Category selection improvements"
1713
  msgstr ""
1714
 
1715
+ #: admin/html/whats-new.php:320
1716
  msgid ""
1717
  "An intuitive way of selecting default category of a selected post type has "
1718
  "been introduced."
1719
  msgstr ""
1720
 
1721
+ #: admin/html/whats-new.php:323
1722
  msgid "Compatibility issue with ACF date time field"
1723
  msgstr ""
1724
 
1725
+ #: admin/html/whats-new.php:325
1726
  msgid "A Compatibility issue with ACF date time field has been addressed."
1727
  msgstr ""
1728
 
1729
+ #: admin/html/whats-new.php:328
1730
  msgid "Media title, caption & description not saving"
1731
  msgstr ""
1732
 
1733
+ #: admin/html/whats-new.php:330
1734
  msgid ""
1735
  "Media title, caption & description were not saving from frontend. They will "
1736
  "now."
1737
  msgstr ""
1738
 
1739
+ #: admin/html/whats-new.php:333
1740
  msgid ""
1741
  "The Events Calendar venue and organizer fields issue in WPUF Custom Fields "
1742
  "metabox"
1743
  msgstr ""
1744
 
1745
+ #: admin/html/whats-new.php:335
1746
  msgid ""
1747
  "A workaround has been introduced to save The Events Calendar Venue and "
1748
  "Organizer fields properly from WPUF Custom Fields metabox."
1749
  msgstr ""
1750
 
1751
+ #: admin/html/whats-new.php:338
1752
  msgid "Checkbox data not saving from WPUF Custom Fields metabox"
1753
  msgstr ""
1754
 
1755
+ #: admin/html/whats-new.php:340
1756
  msgid ""
1757
  "Checkboxe data from WPUF Custom Fields metabox were not saving. It has been "
1758
  "fixed."
1759
  msgstr ""
1760
 
1761
+ #: admin/html/whats-new.php:343
1762
  msgid "Multi-column Repeater field data saving issue"
1763
  msgstr ""
1764
 
1765
+ #: admin/html/whats-new.php:345
1766
  msgid ""
1767
  "Multi-column Repeater field data from a form was not saving. It has been "
1768
  "fixed."
1769
  msgstr ""
1770
 
1771
+ #: admin/html/whats-new.php:348
1772
  msgid "Multistep form conflict with Elementor"
1773
  msgstr ""
1774
 
1775
+ #: admin/html/whats-new.php:350
1776
  msgid "Multistep form had a conflict with Elementor. It has been fixed."
1777
  msgstr ""
1778
 
1779
+ #: admin/html/whats-new.php:353
1780
  msgid "Multiple images showing issue in frontend"
1781
  msgstr ""
1782
 
1783
+ #: admin/html/whats-new.php:355
1784
  msgid "Multiple images in a post were not showing in frontend. Now they will."
1785
  msgstr ""
1786
 
1787
+ #: admin/html/whats-new.php:364
1788
  msgid "Nonce not verify on login"
1789
  msgstr ""
1790
 
1791
+ #: admin/html/whats-new.php:366
1792
  msgid "Return of function wp_verify_nonce() was ignored."
1793
  msgstr ""
1794
 
1795
+ #: admin/html/whats-new.php:375
1796
  msgid "Option to set which tab shows as active on the account page"
1797
  msgstr ""
1798
 
1799
+ #: admin/html/whats-new.php:377
1800
  msgid ""
1801
  "Option to set which tab shows as active on the account page. To configure "
1802
  "this setting navigate to wp-admin->User Frontend->Settings->My "
1803
  "Account->Active Tab "
1804
  msgstr ""
1805
 
1806
+ #: admin/html/whats-new.php:380
1807
  msgid "Unlock option was unavailable after the post being locked"
1808
  msgstr ""
1809
 
1810
+ #: admin/html/whats-new.php:382
1811
  msgid "Unlock option was unavailable after the post being locked."
1812
  msgstr ""
1813
 
1814
+ #: admin/html/whats-new.php:385
1815
  msgid "Gutenberg block of WPUF didn't work on bedrock installation"
1816
  msgstr ""
1817
 
1818
+ #: admin/html/whats-new.php:387
1819
  msgid "Gutenberg block of WPUF didn't work on bedrock installation."
1820
  msgstr ""
1821
 
1822
+ #: admin/html/whats-new.php:390
1823
  msgid "Sending admin payment received email twice"
1824
  msgstr ""
1825
 
1826
+ #: admin/html/whats-new.php:392
1827
  msgid ""
1828
  "After processing payment admin & user was receiving payment received email "
1829
  "twice."
1830
  msgstr ""
1831
 
1832
+ #: admin/html/whats-new.php:395
1833
  msgid ""
1834
  "Add shortcode support to display post information in the Post Expiration "
1835
  "Message"
1836
  msgstr ""
1837
 
1838
+ #: admin/html/whats-new.php:397
1839
  msgid ""
1840
  "Add shortcode support to display post information in the Post Expiration "
1841
  "Message. You can use: <strong>{post_author} {post_url} {blogname} "
1842
  "{post_title} {post_status}</strong>"
1843
  msgstr ""
1844
 
1845
+ #: admin/html/whats-new.php:400
1846
  msgid "Add optin on the setup wizard"
1847
  msgstr ""
1848
 
1849
+ #: admin/html/whats-new.php:402
1850
  msgid ""
1851
  "Added optin on the setup wizard, admin can choose whether he/she wants to "
1852
  "share server environment details (php, mysql, server, WordPress versions), "
1854
  "name and url, admin name and email address. No sensitive data is tracked"
1855
  msgstr ""
1856
 
1857
+ #: admin/html/whats-new.php:411
1858
  msgid "Post Owner problem"
1859
  msgstr ""
1860
 
1861
+ #: admin/html/whats-new.php:413
1862
  msgid ""
1863
  "Posts were not assigned to the selected default post owner, this issue has "
1864
  "been fixed."
1865
  msgstr ""
1866
 
1867
+ #: admin/html/whats-new.php:416
1868
  msgid "Google reCaptcha was not working"
1869
  msgstr ""
1870
 
1871
+ #: admin/html/whats-new.php:418
1872
  msgid ""
1873
  "Google reCaptcha was not working, users could submit the form without "
1874
  "reCaptcha validation."
1875
  msgstr ""
1876
 
1877
+ #: admin/html/whats-new.php:427
1878
  msgid "Added column field"
1879
  msgstr ""
1880
 
1881
+ #: admin/html/whats-new.php:432
1882
  msgid "Unable to render the events on the front-end dashboard"
1883
  msgstr ""
1884
 
1885
+ #: admin/html/whats-new.php:434
1886
  msgid ""
1887
  "On the frontend dashboard, the submitted events were not showing, you will "
1888
  "get it fixed in this version."
1889
  msgstr ""
1890
 
1891
+ #: admin/html/whats-new.php:437
1892
  msgid "Page order getting 0(zero) after editing from the frontend"
1893
  msgstr ""
1894
 
1895
+ #: admin/html/whats-new.php:439
1896
  msgid ""
1897
  "Page order was not saving while editing a post using WPUF form, it has been "
1898
  "fixed."
1899
  msgstr ""
1900
 
1901
+ #: admin/html/whats-new.php:442
1902
  msgid "Text input field for taxonomies not working"
1903
  msgstr ""
1904
 
1905
+ #: admin/html/whats-new.php:444
1906
  msgid ""
1907
  "When taxonomy field type is set to `Text Input` then a fatal error was "
1908
  "showing on the frontend, no error with taxonomy field in the latest version."
1909
  msgstr ""
1910
 
1911
+ #: admin/html/whats-new.php:447
1912
  msgid ""
1913
  "In radio and checkbox field use conditional logic that value does not save "
1914
  "in database"
1915
  msgstr ""
1916
 
1917
+ #: admin/html/whats-new.php:449
1918
  msgid ""
1919
  "The selected value of radio and checkbox field were not showing while "
1920
  "editing posts from the backend or frontend, you can see the selected value "
1921
  "in this version."
1922
  msgstr ""
1923
 
1924
+ #: admin/html/whats-new.php:452
1925
  msgid "The args param not working with get_avatar filter"
1926
  msgstr ""
1927
 
1928
+ #: admin/html/whats-new.php:454
1929
  msgid "The args parameter did not exist with get_avatar filter, which now exists."
1930
  msgstr ""
1931
 
1932
+ #: admin/html/whats-new.php:457
1933
  msgid "The item in ajax taxonomy field was not selected"
1934
  msgstr ""
1935
 
1936
+ #: admin/html/whats-new.php:459
1937
  msgid ""
1938
  "When the taxonomy field type is set to Ajax, the submitted terms were not "
1939
  "showing in the backend and frontend which have been fixed."
1940
  msgstr ""
1941
 
1942
+ #: admin/html/whats-new.php:468
1943
  msgid "Unable to send new user registration email"
1944
  msgstr ""
1945
 
1946
+ #: admin/html/whats-new.php:470
1947
  msgid ""
1948
  "WP User Frontend default registration form `[wpuf-registration]` was unable "
1949
  "to send the new user registration email."
1950
  msgstr ""
1951
 
1952
+ #: admin/html/whats-new.php:473
1953
  msgid "WPUF forms block compatibility issue with the latest WP version"
1954
  msgstr ""
1955
 
1956
+ #: admin/html/whats-new.php:475
1957
  msgid ""
1958
  "With the latest version of WordPress the gutenberg block of WP User "
1959
  "Frontend were not working. In this version, you will get it fixed."
1960
  msgstr ""
1961
 
1962
+ #: admin/html/whats-new.php:478
1963
  msgid "Page not update where `[wpuf_dashboard]` shortcode exist"
1964
  msgstr ""
1965
 
1966
+ #: admin/html/whats-new.php:480
1967
  msgid ""
1968
  "While using Gutenberg, the page were not being updated with WPUF shortcode "
1969
  "[wpuf dashboard]"
1970
  msgstr ""
1971
 
1972
+ #: admin/html/whats-new.php:483
1973
  msgid "Retain default when determining whether to display the admin bar"
1974
  msgstr ""
1975
 
1976
+ #: admin/html/whats-new.php:485
1977
  msgid ""
1978
  "From the User Frontend Settings, set that Administrator, Editor, Vendor can "
1979
  "see the admin bar. Now, the super admin want, one specific user ( who has "
1983
  "frontend."
1984
  msgstr ""
1985
 
1986
+ #: admin/html/whats-new.php:488
1987
  msgid "Fatal error when use PHP lower version (5.4 or lower)"
1988
  msgstr ""
1989
 
1990
+ #: admin/html/whats-new.php:490
1991
  msgid ""
1992
  "It was unable to install WP User Frontend with PHP 5.4 or lower version. "
1993
  "Here is the error details: <br><br><strong>Fatal error: Can't use method "
1995
  "/wp-user-frontend/class/frontend-form-post.php on line 194</strong>"
1996
  msgstr ""
1997
 
1998
+ #: admin/html/whats-new.php:493
1999
  msgid "Product form was unable to show the single gallery image"
2000
  msgstr ""
2001
 
2002
+ #: admin/html/whats-new.php:495
2003
  msgid ""
2004
  "When user upload single image for product gallery using WPUF WooCommerce "
2005
  "product form, that image were not showing on the frontend."
2006
  msgstr ""
2007
 
2008
+ #: admin/html/whats-new.php:504
2009
  msgid "WooCommerce gallery images not getting saved"
2010
  msgstr ""
2011
 
2012
+ #: admin/html/whats-new.php:506
2013
  msgid ""
2014
  "After releasing version 2.9.3, WooCommerce gallery image field stopped "
2015
  "working. You will get it fixed in this version."
2016
  msgstr ""
2017
 
2018
+ #: admin/html/whats-new.php:515
2019
  msgid "The Events Calendar Integration Form"
2020
  msgstr ""
2021
 
2022
+ #: admin/html/whats-new.php:517
2023
  msgid ""
2024
  "Now admin can allow users to create event from the frontend. Currently WPUF "
2025
  "has a one click pre-build event form that has been integrated with The "
2026
  "Events Calendar plugin"
2027
  msgstr ""
2028
 
2029
+ #: admin/html/whats-new.php:520
2030
  msgid "Post Submission Facility From Account Page"
2031
  msgstr ""
2032
 
2033
+ #: admin/html/whats-new.php:522
2034
  msgid ""
2035
  "On the frontend account page, added a new menu item named <b>Submit "
2036
  "Post</b>. Now admin can allow users to submit post from their default "
2039
  "you can assign any post form that will use to submit posts."
2040
  msgstr ""
2041
 
2042
+ #: admin/html/whats-new.php:525
2043
  msgid "Login/Lost Password Link Under Registration Form"
2044
  msgstr ""
2045
 
2046
+ #: admin/html/whats-new.php:527
2047
  msgid "Added Login/Lost Password link under registration form"
2048
  msgstr ""
2049
 
2050
+ #: admin/html/whats-new.php:536
2051
  msgid "Added drag and drop image ordering on image upload"
2052
  msgstr ""
2053
 
2054
+ #: admin/html/whats-new.php:538
2055
  msgid ""
2056
  "Now frontend users can drag & drop the images/files to change the order "
2057
  "while uploading."
2058
  msgstr ""
2059
 
2060
+ #: admin/html/whats-new.php:541
2061
  msgid "Added reCAPTCHA field in login form"
2062
  msgstr ""
2063
 
2064
+ #: admin/html/whats-new.php:543
2065
  msgid ""
2066
  "Admin has the option to show reCAPTCHA field in login form. Check the "
2067
  "related settings from <strong>User Frontend > Settings > "
2068
  "Login/Registration</strong>"
2069
  msgstr ""
2070
 
2071
+ #: admin/html/whats-new.php:546
2072
  msgid "Added preview option in forms"
2073
  msgstr ""
2074
 
2075
+ #: admin/html/whats-new.php:548
2076
  msgid ""
2077
  "You can see a nice <strong>Preview</strong> button with <strong>Save "
2078
  "Form</strong> button, admin can take a quick look of the form without using "
2079
  "shortcode"
2080
  msgstr ""
2081
 
2082
+ #: admin/html/whats-new.php:551
2083
  msgid "Fixed hiding “Select Image” button while uploading multiple images."
2084
  msgstr ""
2085
 
2086
+ #: admin/html/whats-new.php:553
2087
  msgid ""
2088
  "The upload button will not be hidden until the user selects max number of "
2089
  "files "
2090
  msgstr ""
2091
 
2092
+ #: admin/html/whats-new.php:556
2093
  msgid "Added form limit notice before form submission"
2094
  msgstr ""
2095
 
2096
+ #: admin/html/whats-new.php:558
2097
  msgid ""
2098
  "Limit notice message was showing after submission, now it is showing when "
2099
  "rendering the form"
2100
  msgstr ""
2101
 
2102
+ #: admin/html/whats-new.php:561
2103
  msgid "Fixed: default post category not saving"
2104
  msgstr ""
2105
 
2106
+ #: admin/html/whats-new.php:563
2107
  msgid ""
2108
  "From the form <strong>Settings > Post Settings</strong>, default post "
2109
  "category options were not saving. Now, it's fixed."
2110
  msgstr ""
2111
 
2112
+ #: admin/html/whats-new.php:566
2113
  msgid ""
2114
  "WPUF dashboard shortcode with form_id attribute was not showing posts "
2115
  "properly"
2116
  msgstr ""
2117
 
2118
+ #: admin/html/whats-new.php:568
2119
  msgid ""
2120
  "Now you can list posts on the frontend by using <strong>form_id<strong/> "
2121
  "attribute with <strong>[wpuf_dashboard]</strong> shortcode"
2122
  msgstr ""
2123
 
2124
+ #: admin/html/whats-new.php:577
2125
  msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
2126
  msgstr ""
2127
 
2128
+ #: admin/html/whats-new.php:579
2129
  msgid ""
2130
  "If you are using other language than English. Please <b>rename</b> your "
2131
  "<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
2132
  "change was made to support translations from translate.wordpress.org"
2133
  msgstr ""
2134
 
2135
+ #: admin/html/whats-new.php:582
2136
  msgid "Added WP User Frontend Data export and erase functionality."
2137
  msgstr ""
2138
 
2139
+ #: admin/html/whats-new.php:584
2140
  msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
2141
  msgstr ""
2142
 
2143
+ #: admin/html/whats-new.php:587
2144
  msgid "Added billing address customizer."
2145
  msgstr ""
2146
 
2147
+ #: admin/html/whats-new.php:589
2148
  msgid "Added customizer options for billing address in payment page."
2149
  msgstr ""
2150
 
2151
+ #: admin/html/whats-new.php:592
2152
  msgid "Make the payment page responsive."
2153
  msgstr ""
2154
 
2155
+ #: admin/html/whats-new.php:594
2156
  msgid "Some css adjustments are made in payment page to make it responsive."
2157
  msgstr ""
2158
 
2159
+ #: admin/html/whats-new.php:597
2160
  msgid "Fixed image upload issue in Safari."
2161
  msgstr ""
2162
 
2163
+ #: admin/html/whats-new.php:599
2164
  msgid "Images were not showing after upload in safari, it is fixed now."
2165
  msgstr ""
2166
 
2167
+ #: admin/html/whats-new.php:602
2168
  msgid "Post update issue after updating or removing post images."
2169
  msgstr ""
2170
 
2171
+ #: admin/html/whats-new.php:604
2172
  msgid ""
2173
  "Posts cannot be updated after updating or removing post images, it is fixed "
2174
  "now."
2175
  msgstr ""
2176
 
2177
+ #: admin/html/whats-new.php:613
2178
  msgid "Allow overriding form input styles using theme styling."
2179
  msgstr ""
2180
 
2181
+ #: admin/html/whats-new.php:615
2182
  msgid "Overriding form input styles using theme style is now possible."
2183
  msgstr ""
2184
 
2185
+ #: admin/html/whats-new.php:618
2186
  msgid "Fixed Auto Login after registration."
2187
  msgstr ""
2188
 
2189
+ #: admin/html/whats-new.php:620
2190
  msgid "Auto Login after registration was not working is fixed now."
2191
  msgstr ""
2192
 
2193
+ #: admin/html/whats-new.php:623
2194
  msgid "Fixed fallback cost calculation"
2195
  msgstr ""
2196
 
2197
+ #: admin/html/whats-new.php:625
2198
  msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
2199
  msgstr ""
2200
 
2201
+ #: admin/html/whats-new.php:628
2202
  msgid "Removal of subscription from User Profile gets reverted if updated"
2203
  msgstr ""
2204
 
2205
+ #: admin/html/whats-new.php:630
2206
  msgid "User subscription deletion gets reverted if updated is fixed."
2207
  msgstr ""
2208
 
2209
+ #: admin/html/whats-new.php:633
2210
  msgid "Show Free pack users in subscribers list."
2211
  msgstr ""
2212
 
2213
+ #: admin/html/whats-new.php:635
2214
  msgid "Free pack users were not showing in subscribers list, now they will."
2215
  msgstr ""
2216
 
2217
+ #: admin/html/whats-new.php:644
2218
  msgid "WP User Frontend Guten Block is added"
2219
  msgstr ""
2220
 
2221
+ #: admin/html/whats-new.php:646
2222
  msgid ""
2223
  "WPUF Form Block is now available to be used within gutenberg editor with "
2224
  "preview of the form. "
2225
  msgstr ""
2226
 
2227
+ #: admin/html/whats-new.php:649
2228
  msgid "Advanced Custom Fields plugin compatibility"
2229
  msgstr ""
2230
 
2231
+ #: admin/html/whats-new.php:651
2232
  msgid "Now all your ACF fields can be used within WPUF Post forms. "
2233
  msgstr ""
2234
 
2235
+ #: admin/html/whats-new.php:654
2236
  msgid "Taxonomy Terms not showing for custom post types"
2237
  msgstr ""
2238
 
2239
+ #: admin/html/whats-new.php:656
2240
  msgid ""
2241
  "Fixed an issue with taxonomy terms not appearing for Custom Post types "
2242
  "within Form Settings and Dashboard Post Listing"
2243
  msgstr ""
2244
 
2245
+ #: admin/html/whats-new.php:659
2246
  msgid "Various other code optimizations"
2247
  msgstr ""
2248
 
2249
+ #: admin/html/whats-new.php:661 admin/html/whats-new.php:718
2250
  msgid "Code structure organization and optimization for better performance"
2251
  msgstr ""
2252
 
2253
+ #: admin/html/whats-new.php:670
2254
  msgid "WoooCommerce billing address Sync"
2255
  msgstr ""
2256
 
2257
+ #: admin/html/whats-new.php:672
2258
  msgid ""
2259
  "If an existing customer has previously set his billing address, that will "
2260
  "be imported into WPUF Billing address "
2261
  msgstr ""
2262
 
2263
+ #: admin/html/whats-new.php:675
2264
  msgid "Trial subscription message not showing properly"
2265
  msgstr ""
2266
 
2267
+ #: admin/html/whats-new.php:677
2268
  msgid "Subscriptions with Trial now shows trial notices"
2269
  msgstr ""
2270
 
2271
+ #: admin/html/whats-new.php:680
2272
  msgid "Reset email Key not working"
2273
  msgstr ""
2274
 
2275
+ #: admin/html/whats-new.php:682
2276
  msgid "Reset Email key was not working in some cases"
2277
  msgstr ""
2278
 
2279
+ #: admin/html/whats-new.php:685
2280
  msgid "Post count not showing on the frontend dashboard"
2281
  msgstr ""
2282
 
2283
+ #: admin/html/whats-new.php:687
2284
  msgid ""
2285
  "Dashboard with multiple post type was not showing post counts properly, is "
2286
  "now fixed and shows count for each post type"
2287
  msgstr ""
2288
 
2289
+ #: admin/html/whats-new.php:690
2290
  msgid "Login Redirect showing blank page is fixed"
2291
  msgstr ""
2292
 
2293
+ #: admin/html/whats-new.php:692
2294
  msgid ""
2295
  "If \"Previous Page\" was set for redirection, login redirect was "
2296
  "redirecting to blank page for users who hit login page directly"
2297
  msgstr ""
2298
 
2299
+ #: admin/html/whats-new.php:701
2300
  msgid "Enhanced Login Redirect to redirect users to previous page"
2301
  msgstr ""
2302
 
2303
+ #: admin/html/whats-new.php:703
2304
  msgid ""
2305
  "You can choose Previous Page as Login Redirect page settings now to "
2306
  "redirect users to the page from which they went for Login. "
2307
  msgstr ""
2308
 
2309
+ #: admin/html/whats-new.php:706
2310
  msgid "Email HTML links not Rendreing properly issue is fixed"
2311
  msgstr ""
2312
 
2313
+ #: admin/html/whats-new.php:708
2314
  msgid ""
2315
  "For some clients emails were not rendering the HTML links properly, this is "
2316
  "now fixed"
2317
  msgstr ""
2318
 
2319
+ #: admin/html/whats-new.php:711
2320
  msgid "Form Builder : Form Field's Help text styles not showing properly"
2321
  msgstr ""
2322
 
2323
+ #: admin/html/whats-new.php:713
2324
  msgid "Help texts styling is now fixed and much easier to read and understand"
2325
  msgstr ""
2326
 
2327
+ #: admin/html/whats-new.php:716
2328
  msgid "Various other code improvements"
2329
  msgstr ""
2330
 
2331
+ #: admin/html/whats-new.php:727
2332
  msgid "Dashboard Post Listing now supports multiple post types"
2333
  msgstr ""
2334
 
2335
+ #: admin/html/whats-new.php:729
2336
  msgid ""
2337
  "Now you can show multiple post type in user dashboard using shortcode like "
2338
  "this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
2339
  msgstr ""
2340
 
2341
+ #: admin/html/whats-new.php:732
2342
  msgid "Added Login Redirect Settings"
2343
  msgstr ""
2344
 
2345
+ #: admin/html/whats-new.php:734
2346
  msgid ""
2347
  "You can now set a page from <i>WPUF Settings > Login/Registration > "
2348
  "Redirect after Login</i>. When login redirection is active the user will be "
2349
  "redirected to this page after login."
2350
  msgstr ""
2351
 
2352
+ #: admin/html/whats-new.php:737
2353
  msgid "Image Upload field button text can be changed"
2354
  msgstr ""
2355
 
2356
+ #: admin/html/whats-new.php:739
2357
  msgid ""
2358
  "The upload button text can now be changed for image upload fields which "
2359
  "defaults to \"Select Image\" if not set. "
2360
  msgstr ""
2361
 
2362
+ #: admin/html/whats-new.php:742
2363
  msgid "Multi Step Form styles made compatible with more themes"
2364
  msgstr ""
2365
 
2366
+ #: admin/html/whats-new.php:744
2367
  msgid "Multi Step form can now be styled more easily with other themes "
2368
  msgstr ""
2369
 
2370
+ #: admin/html/whats-new.php:747
2371
  msgid "Required field condition for google map not working is fixed"
2372
  msgstr ""
2373
 
2374
+ #: admin/html/whats-new.php:749
2375
  msgid ""
2376
  "If Google Map field was set as required users were able to submit form "
2377
  "without changing the default value."
2378
  msgstr ""
2379
 
2380
+ #: admin/html/whats-new.php:758
2381
  msgid "Admin form builder is now fully responsive."
2382
  msgstr ""
2383
 
2384
+ #: admin/html/whats-new.php:760
2385
  msgid ""
2386
  "Now you can edit forms from your mobile devices directly. Our improved "
2387
  "responsive layouts of form builder makes it easy for you to build forms on "
2388
  "the go."
2389
  msgstr ""
2390
 
2391
+ #: admin/html/whats-new.php:763
2392
  msgid "Added color schemes for creating attractive form layouts."
2393
  msgstr ""
2394
 
2395
+ #: admin/html/whats-new.php:765
2396
  msgid ""
2397
  "We have added 3 new color schemes for the form layouts which you can choose "
2398
  "from each form's new display settings."
2399
  msgstr ""
2400
 
2401
+ #: admin/html/whats-new.php:768
2402
  msgid "Restrict Free subscription pack to be enabled multiple times "
2403
  msgstr ""
2404
 
2405
+ #: admin/html/whats-new.php:770
2406
  msgid ""
2407
  "Free subscription packs now can only be purchased once and the limit "
2408
  "applies properly"
2409
  msgstr ""
2410
 
2411
+ #: admin/html/whats-new.php:773
2412
  msgid "Various other bug fixes and improvements were made "
2413
  msgstr ""
2414
 
2415
+ #: admin/html/whats-new.php:775
2416
  msgid "Please see the change log to see full details."
2417
  msgstr ""
2418
 
2419
+ #: admin/html/whats-new.php:784
2420
  msgid "Added upgrade function for default category"
2421
  msgstr ""
2422
 
2423
+ #: admin/html/whats-new.php:786
2424
  msgid "Upgrader added to upgrade previously set default post category."
2425
  msgstr ""
2426
 
2427
+ #: admin/html/whats-new.php:789
2428
  msgid "Subscription pack cannot be canceled"
2429
  msgstr ""
2430
 
2431
+ #: admin/html/whats-new.php:791
2432
  msgid ""
2433
  "Fixed recurring subscription pack cannot be canceled from my account page "
2434
  "in subscription details section."
2435
  msgstr ""
2436
 
2437
+ #: admin/html/whats-new.php:794
2438
  msgid "page installer admin notice logic issue"
2439
  msgstr ""
2440
 
2441
+ #: admin/html/whats-new.php:796
2442
  msgid ""
2443
  "Fixed page installer admin notice logic problem due to new payment settings "
2444
  "default value not set."
2445
  msgstr ""
2446
 
2447
+ #: admin/html/whats-new.php:806
2448
  msgid "Setup Wizard"
2449
  msgstr ""
2450
 
2451
+ #: admin/html/whats-new.php:808
2452
  msgid "Setup Wizard added to turn off payment options and install pages."
2453
  msgstr ""
2454
 
2455
+ #: admin/html/whats-new.php:812
2456
  msgid "Multi-select Category"
2457
  msgstr ""
2458
 
2459
+ #: admin/html/whats-new.php:814
2460
  msgid "Add multi-select to default category in post form settings."
2461
  msgstr ""
2462
 
2463
+ #: admin/html/whats-new.php:818
2464
  msgid "Select Text option for Taxonomy"
2465
  msgstr ""
2466
 
2467
+ #: admin/html/whats-new.php:820
2468
  msgid ""
2469
  "Add Select Text option for taxonomy fields. Now you can add default text "
2470
  "with empty value as first option for Taxonomy dropdown."
2471
  msgstr ""
2472
 
2473
+ #: admin/html/whats-new.php:823
2474
  msgid "Taxonomy Checkbox Inline"
2475
  msgstr ""
2476
 
2477
+ #: admin/html/whats-new.php:825
2478
  msgid ""
2479
  "Added checkbox inline option to taxonomy checkbox. You can now display "
2480
  "Taxonomy checkbox fields inline."
2481
  msgstr ""
2482
 
2483
+ #: admin/html/whats-new.php:835
2484
  msgid "Manage schedule for form submission"
2485
  msgstr ""
2486
 
2487
+ #: admin/html/whats-new.php:837
2488
  msgid ""
2489
  "Do not accept form submission if the current date is not between the date "
2490
  "range of the schedule."
2491
  msgstr ""
2492
 
2493
+ #: admin/html/whats-new.php:841
2494
  msgid "Restrict form submission based on the user roles"
2495
  msgstr ""
2496
 
2497
+ #: admin/html/whats-new.php:843
2498
  msgid ""
2499
  "Restrict form submission based on the user roles. Now you can manage user "
2500
  "role base permission on form submission."
2501
  msgstr ""
2502
 
2503
+ #: admin/html/whats-new.php:847
2504
  msgid "Limit how many entries a form will accept"
2505
  msgstr ""
2506
 
2507
+ #: admin/html/whats-new.php:849
2508
  msgid ""
2509
  "Limit how many entries a form will accept and display a custom message when "
2510
  "that limit is reached."
2511
  msgstr ""
2512
 
2513
+ #: admin/html/whats-new.php:853
2514
  msgid "Show/hide Admin Bar"
2515
  msgstr ""
2516
 
2517
+ #: admin/html/whats-new.php:855
2518
  msgid "Control the admin bar visibility based on user roles."
2519
  msgstr ""
2520
 
2521
+ #: admin/html/whats-new.php:859
2522
  msgid "Ajax Login widget"
2523
  msgstr ""
2524
 
2525
+ #: admin/html/whats-new.php:861
2526
  msgid ""
2527
  "Login user is more simple now with Ajax Login Widget. The simple ajax login "
2528
  "form do not required page loading for login."
2529
  msgstr ""
2530
 
2531
+ #: admin/html/whats-new.php:865
2532
  msgid "Form submission with Captcha field"
2533
  msgstr ""
2534
 
2535
+ #: admin/html/whats-new.php:867
2536
  msgid "Form field validation process updated if form submits with captcha field."
2537
  msgstr ""
2538
 
2539
+ #: admin/html/whats-new.php:881
2540
  msgid "What's New in WPUF?"
2541
  msgstr ""
2542
 
2671
  msgstr ""
2672
 
2673
  #: admin/posting.php:72 class/asset-loader.php:55 class/render-form.php:1673
2674
+ #: wpuf.php:724
2675
  msgid "Are you sure?"
2676
  msgstr ""
2677
 
2678
+ #: admin/posting.php:80 class/asset-loader.php:63 wpuf.php:735
2679
  msgid "Allowed Files"
2680
  msgstr ""
2681
 
2682
+ #: admin/posting.php:83 class/asset-loader.php:66 wpuf.php:741
2683
  msgid "Maximum number of files reached!"
2684
  msgstr ""
2685
 
2686
+ #: admin/posting.php:84 class/asset-loader.php:67 wpuf.php:742
2687
  msgid "The file you have uploaded exceeds the file size limit. Please try again."
2688
  msgstr ""
2689
 
2690
+ #: admin/posting.php:85 class/asset-loader.php:68 wpuf.php:743
2691
  msgid "You have uploaded an incorrect file type. Please try again."
2692
  msgstr ""
2693
 
3492
  msgid "Number of subscribers per page:"
3493
  msgstr ""
3494
 
3495
+ #: admin/template-post.php:36 includes/fields/class-field-post-content.php:128
3496
  msgid "Enable Image Insertion"
3497
  msgstr ""
3498
 
3499
+ #: admin/template-post.php:42 includes/fields/class-field-post-content.php:130
3500
  msgid "Enable image upload in post area"
3501
  msgstr ""
3502
 
3699
  msgstr ""
3700
 
3701
  #: admin/template.php:117 admin/template.php:175
3702
+ #: includes/fields/class-abstract-fields.php:542
3703
+ #: includes/fields/class-abstract-fields.php:649
3704
  msgid "Placeholder text"
3705
  msgstr ""
3706
 
3707
+ #: admin/template.php:118 includes/fields/class-abstract-fields.php:548
3708
+ #: includes/fields/class-abstract-fields.php:653
3709
  msgid "Text for HTML5 placeholder attribute"
3710
  msgstr ""
3711
 
3712
  #: admin/template.php:122 admin/template.php:180
3713
+ #: includes/fields/class-abstract-fields.php:553
3714
+ #: includes/fields/class-abstract-fields.php:661
3715
  msgid "Default value"
3716
  msgstr ""
3717
 
3718
+ #: admin/template.php:123 includes/fields/class-abstract-fields.php:559
3719
+ #: includes/fields/class-abstract-fields.php:665
3720
  msgid "The default value this field will have"
3721
  msgstr ""
3722
 
3723
+ #: admin/template.php:127 includes/fields/class-abstract-fields.php:564
3724
  msgid "Size"
3725
  msgstr ""
3726
 
3727
+ #: admin/template.php:128 includes/fields/class-abstract-fields.php:569
3728
  msgid "Size of this input field"
3729
  msgstr ""
3730
 
3731
  #: admin/template.php:132 admin/template.php:195
 
 
 
3732
  msgid "Word Restriction"
3733
  msgstr ""
3734
 
3735
  #: admin/template.php:136 admin/template.php:199
 
 
3736
  msgid "Numebr of words the author to be restricted in"
3737
  msgstr ""
3738
 
3739
+ #: admin/template.php:165 includes/fields/class-abstract-fields.php:631
3740
  msgid "Rows"
3741
  msgstr ""
3742
 
3743
+ #: admin/template.php:170 includes/fields/class-abstract-fields.php:640
3744
  #: includes/fields/class-field-column.php:9
3745
  msgid "Columns"
3746
  msgstr ""
3747
 
3748
+ #: admin/template.php:185 includes/fields/class-abstract-fields.php:670
3749
  #: includes/fields/class-field-textarea.php:9
3750
+ #: includes/fields/class-field-textarea.php:123
3751
  msgid "Textarea"
3752
  msgstr ""
3753
 
3754
+ #: admin/template.php:188 includes/fields/class-abstract-fields.php:673
3755
  msgid "Normal"
3756
  msgstr ""
3757
 
3758
+ #: admin/template.php:189 includes/fields/class-abstract-fields.php:674
3759
  msgid "Rich textarea"
3760
  msgstr ""
3761
 
3762
+ #: admin/template.php:190 includes/fields/class-abstract-fields.php:675
3763
  msgid "Teeny Rich textarea"
3764
  msgstr ""
3765
 
3768
  msgstr ""
3769
 
3770
  #: admin/template.php:377 admin/template.php:401 admin/template.php:432
3771
+ #: admin/template.php:463 includes/fields/class-abstract-fields.php:613
3772
  #: templates/dashboard/posts.php:98 templates/dashboard.php:139
3773
  msgid "Options"
3774
  msgstr ""
3842
  msgid "Import"
3843
  msgstr ""
3844
 
3845
+ #: class/asset-loader.php:32 wpuf.php:632
3846
  msgid "is required"
3847
  msgstr ""
3848
 
3849
+ #: class/asset-loader.php:33 wpuf.php:633
3850
  msgid "does not match"
3851
  msgstr ""
3852
 
3853
+ #: class/asset-loader.php:34 wpuf.php:634
3854
  msgid "is not valid"
3855
  msgstr ""
3856
 
3857
+ #: class/asset-loader.php:46 wpuf.php:711
3858
  msgid "Please fix the errors to proceed"
3859
  msgstr ""
3860
 
3861
+ #: class/asset-loader.php:48 wpuf.php:713
3862
  msgid "Word limit reached"
3863
  msgstr ""
3864
 
3865
+ #: class/asset-loader.php:49 wpuf.php:714
3866
  msgid "Are you sure you want to cancel your current subscription ?"
3867
  msgstr ""
3868
 
4065
  msgid "Please enter your post name"
4066
  msgstr ""
4067
 
4068
+ #: class/post-form-templates/post.php:36 templates/dashboard.php:108
4069
  msgid "Category"
4070
  msgstr ""
4071
 
4072
+ #: class/post-form-templates/post.php:39
4073
  msgid "Select a category for your post"
4074
  msgstr ""
4075
 
4076
+ #: class/post-form-templates/post.php:40
4077
  #: includes/fields/class-abstract-fields.php:188
4078
  #: includes/fields/class-field-dropdown.php:106
4079
  #: includes/fields/class-field-multidropdown.php:83
4081
  msgid "- select -"
4082
  msgstr ""
4083
 
4084
+ #: class/post-form-templates/post.php:57
4085
  msgid "Post description"
4086
  msgstr ""
4087
 
4088
+ #: class/post-form-templates/post.php:60
4089
  msgid "Write the full description of your Post"
4090
  msgstr ""
4091
 
4092
+ #: class/post-form-templates/post.php:77 class/post-form-templates/post.php:78
4093
  #: includes/fields/class-field-featured-image.php:9
4094
  #: includes/fields/class-field-featured-image.php:142
4095
  #: includes/free/post-form-templates/the_events_calendar.php:125
4098
  msgid "Featured Image"
4099
  msgstr ""
4100
 
4101
+ #: class/post-form-templates/post.php:81
4102
  msgid "Upload the main image of your post"
4103
  msgstr ""
4104
 
4105
+ #: class/post-form-templates/post.php:91
4106
  #: includes/free/post-form-templates/the_events_calendar.php:138
4107
  #: templates/dashboard.php:128
4108
  msgid "Excerpt"
4109
  msgstr ""
4110
 
4111
+ #: class/post-form-templates/post.php:94
4112
  msgid "Provide a short description of this post (optional)"
4113
  msgstr ""
4114
 
4115
+ #: class/post-form-templates/post.php:109
4116
  #: includes/fields/class-field-post-tags.php:6
4117
  msgid "Tags"
4118
  msgstr ""
4119
 
4120
+ #: class/post-form-templates/post.php:112
4121
  #: includes/free/post-form-templates/the_events_calendar.php:157
4122
  msgid "Separate tags with commas."
4123
  msgstr ""
4124
 
4125
+ #: class/post-form-templates/post.php:130
4126
  msgid "Create Post"
4127
  msgstr ""
4128
 
4129
+ #: class/post-form-templates/post.php:144
4130
  msgid ""
4131
  "Post has been updated successfully. <a target=\"_blank\" "
4132
  "href=\"%link%\">View post</a>"
4133
  msgstr ""
4134
 
4135
+ #: class/post-form-templates/post.php:146
4136
  msgid "Update Post"
4137
  msgstr ""
4138
 
4573
  msgid "Post Limit Exceeded for your purchased subscription pack."
4574
  msgstr ""
4575
 
4576
+ #: includes/class-frontend-form-post.php:55
4577
  msgid "You are not logged in"
4578
  msgstr ""
4579
 
4580
+ #: includes/class-frontend-form-post.php:65
4581
+ #: includes/class-frontend-form-post.php:95
4582
  msgid "Invalid post"
4583
  msgstr ""
4584
 
4585
+ #: includes/class-frontend-form-post.php:72
4586
  msgid "Your edit access for this post has been locked by an administrator."
4587
  msgstr ""
4588
 
4589
+ #: includes/class-frontend-form-post.php:76
4590
  msgid "Your allocated time for editing this post has been expired."
4591
  msgstr ""
4592
 
4593
+ #: includes/class-frontend-form-post.php:84
4594
  msgid "Your post edit access has been locked by an administrator."
4595
  msgstr ""
4596
 
4597
+ #: includes/class-frontend-form-post.php:89
4598
  msgid "Post Editing is disabled"
4599
  msgstr ""
4600
 
4601
+ #: includes/class-frontend-form-post.php:100
4602
  msgid "You are not allowed to edit"
4603
  msgstr ""
4604
 
4605
+ #: includes/class-frontend-form-post.php:111
4606
  msgid "I don't know how to edit this post, I don't have the form ID"
4607
  msgstr ""
4608
 
4609
+ #: includes/class-frontend-form-post.php:123
4610
  msgid "You can't edit a post while in pending mode."
4611
  msgstr ""
4612
 
4613
+ #: includes/class-frontend-form-post.php:530
4614
  msgid "Something went wrong"
4615
  msgstr ""
4616
 
4617
+ #: includes/class-frontend-form-post.php:551
4618
  msgid "Invalid email address."
4619
  msgstr ""
4620
 
4621
+ #: includes/class-frontend-form-post.php:561
4622
  msgid ""
4623
  "You already have an account in our site. Please login to continue.\n"
4624
  "\n"
4627
  "Click 'Cancel' to stay at this page."
4628
  msgstr ""
4629
 
4630
+ #: includes/class-frontend-form-post.php:610
4631
  #: includes/class-frontend-render-form.php:312
4632
  msgid "You do not have sufficient permissions to access this form."
4633
  msgstr ""
4634
 
4635
+ #: includes/class-frontend-form-post.php:883
4636
  msgid "Email successfully verified. Please Login."
4637
  msgstr ""
4638
 
4639
+ #: includes/class-frontend-form-post.php:998
4640
+ #: includes/class-frontend-form-post.php:1004
4641
  msgid ""
4642
  "Thank you for posting on our site. We have sent you an confirmation email. "
4643
  "Please check your inbox!"
4644
  msgstr ""
4645
 
4646
+ #: includes/class-frontend-render-form.php:854
4647
+ #: includes/free/class-login.php:453
4648
  msgid "Empty reCaptcha Field"
4649
  msgstr ""
4650
 
4721
  msgid "Someone has requested a password reset for the following account:"
4722
  msgstr ""
4723
 
4724
+ #: includes/class-login-widget.php:147 includes/free/class-login.php:855
4725
+ #: includes/free/class-login.php:936 includes/free/class-registration.php:291
4726
  msgid "Username: %s"
4727
  msgstr ""
4728
 
4729
+ #: includes/class-login-widget.php:148 includes/free/class-login.php:937
4730
  msgid "If this was a mistake, just ignore this email and nothing will happen."
4731
  msgstr ""
4732
 
4733
+ #: includes/class-login-widget.php:149 includes/free/class-login.php:938
4734
  msgid "To reset your password, visit the following address:"
4735
  msgstr ""
4736
 
4737
+ #: includes/class-login-widget.php:154 includes/free/class-login.php:949
4738
  msgid "[%s] Password Reset"
4739
  msgstr ""
4740
 
4792
  msgstr ""
4793
 
4794
  #: includes/class-login-widget.php:281 includes/free/class-login.php:318
4795
+ #: includes/free/class-login.php:380 templates/login-form.php:75
4796
  msgid "Log In"
4797
  msgstr ""
4798
 
5303
  msgid "Selection Terms"
5304
  msgstr ""
5305
 
5306
+ #: includes/fields/class-abstract-fields.php:504
5307
+ #: includes/fields/class-abstract-fields.php:577
5308
+ #: includes/fields/class-abstract-fields.php:684
5309
+ msgid "Content restricted by"
5310
+ msgstr ""
5311
+
5312
+ #: includes/fields/class-abstract-fields.php:507
5313
+ #: includes/fields/class-abstract-fields.php:580
5314
+ #: includes/fields/class-abstract-fields.php:687
5315
+ msgid "Character"
5316
+ msgstr ""
5317
+
5318
+ #: includes/fields/class-abstract-fields.php:508
5319
+ #: includes/fields/class-abstract-fields.php:581
5320
+ #: includes/fields/class-abstract-fields.php:688
5321
+ msgid "Word"
5322
+ msgstr ""
5323
+
5324
+ #: includes/fields/class-abstract-fields.php:522
5325
+ #: includes/fields/class-abstract-fields.php:595
5326
+ #: includes/fields/class-abstract-fields.php:702
5327
+ msgid "Number of characters or words the author to be restricted in"
5328
+ msgstr ""
5329
+
5330
+ #: includes/fields/class-abstract-fields.php:618
5331
  msgid "Add options for the form field"
5332
  msgstr ""
5333
 
5334
+ #: includes/fields/class-abstract-fields.php:635
5335
  msgid "Number of rows in textarea"
5336
  msgstr ""
5337
 
5338
+ #: includes/fields/class-abstract-fields.php:644
5339
  msgid "Number of columns in textarea"
5340
  msgstr ""
5341
 
 
 
 
 
5342
  #: includes/fields/class-field-column.php:70
5343
  msgid "Number of Columns"
5344
  msgstr ""
5562
  msgid "Lost Password"
5563
  msgstr ""
5564
 
5565
+ #: includes/free/class-login.php:366
5566
+ msgid "Check your e-mail for the confirmation link."
5567
+ msgstr ""
5568
+
5569
+ #: includes/free/class-login.php:370
5570
  msgid ""
5571
  "Please enter your username or email address. You will receive a link to "
5572
  "create a new password via email."
5573
  msgstr ""
5574
 
5575
+ #: includes/free/class-login.php:380
5576
  msgid "Your password has been reset. %s"
5577
  msgstr ""
5578
 
5579
+ #: includes/free/class-login.php:384
5580
  msgid "Enter your new password below."
5581
  msgstr ""
5582
 
5583
+ #: includes/free/class-login.php:395
 
 
 
 
5584
  msgid "You are now logged out."
5585
  msgstr ""
5586
 
5587
+ #: includes/free/class-login.php:421
5588
  msgid "Nonce is invalid"
5589
  msgstr ""
5590
 
5591
+ #: includes/free/class-login.php:440 includes/free/class-registration.php:224
5592
  msgid "Username is required."
5593
  msgstr ""
5594
 
5595
+ #: includes/free/class-login.php:446 includes/free/class-registration.php:230
5596
  msgid "Password is required."
5597
  msgstr ""
5598
 
5599
+ #: includes/free/class-login.php:469 includes/free/class-registration.php:200
5600
  #: includes/free/class-registration.php:206
5601
  #: includes/free/class-registration.php:212
5602
  #: includes/free/class-registration.php:218
5609
  msgid "Error"
5610
  msgstr ""
5611
 
5612
+ #: includes/free/class-login.php:469 includes/free/class-registration.php:259
5613
  msgid "A user could not be found with this email address."
5614
  msgstr ""
5615
 
5616
+ #: includes/free/class-login.php:643
5617
  msgid "Please enter your password."
5618
  msgstr ""
5619
 
5620
+ #: includes/free/class-login.php:649
5621
  msgid "Passwords do not match."
5622
  msgstr ""
5623
 
5624
+ #: includes/free/class-login.php:697
5625
  msgid "Enter a username or e-mail address."
5626
  msgstr ""
5627
 
5628
+ #: includes/free/class-login.php:704
5629
  msgid "There is no user registered with that email address."
5630
  msgstr ""
5631
 
5632
+ #: includes/free/class-login.php:721
5633
  msgid "Invalid username or e-mail."
5634
  msgstr ""
5635
 
5636
+ #: includes/free/class-login.php:735
5637
  msgid "Password reset is not allowed for this user"
5638
  msgstr ""
5639
 
5640
+ #: includes/free/class-login.php:773
5641
  msgid ""
5642
  "<strong>Your account is not active.</strong><br>Please check your email for "
5643
  "activation link. <br><a href=\"%s\">Click here</a> to resend the activation "
5644
  "link"
5645
  msgstr ""
5646
 
5647
+ #: includes/free/class-login.php:794 includes/free/class-login.php:819
5648
  msgid "Activation URL is not valid"
5649
  msgstr ""
5650
 
5651
+ #: includes/free/class-login.php:805
5652
  msgid "Invalid User activation url"
5653
  msgstr ""
5654
 
5655
+ #: includes/free/class-login.php:811
5656
  msgid "User already verified"
5657
  msgstr ""
5658
 
5659
+ #: includes/free/class-login.php:827 includes/free/class-login.php:891
5660
  msgid "Your account has been activated"
5661
  msgstr ""
5662
 
5663
+ #: includes/free/class-login.php:830
5664
  msgid ""
5665
  "Your account has been verified , but you can't login until manually "
5666
  "approved your account by an administrator."
5667
  msgstr ""
5668
 
5669
+ #: includes/free/class-login.php:853
5670
  msgid "[%s] Your username and password info"
5671
  msgstr ""
5672
 
5673
+ #: includes/free/class-login.php:856
5674
  msgid "To set your password, visit the following address:"
5675
  msgstr ""
5676
 
5677
+ #: includes/free/class-login.php:866
5678
  msgid "[%s] Account has been activated"
5679
  msgstr ""
5680
 
5681
+ #: includes/free/class-login.php:868
5682
  msgid "Hi %s,"
5683
  msgstr ""
5684
 
5685
+ #: includes/free/class-login.php:869
5686
  msgid "Congrats! Your account has been activated. To login visit the following url:"
5687
  msgstr ""
5688
 
5689
+ #: includes/free/class-login.php:871
5690
  msgid "Thanks"
5691
  msgstr ""
5692
 
5693
+ #: includes/free/class-login.php:934
5694
  msgid "Someone requested that the password be reset for the following account:"
5695
  msgstr ""
5696
 
5697
+ #: includes/free/class-login.php:955
5698
  msgid "The e-mail could not be sent."
5699
  msgstr ""
5700
 
5701
+ #: includes/free/class-login.php:955
5702
  msgid "Possible reason: your host may have disabled the mail() function."
5703
  msgstr ""
5704
 
6791
  msgid "Your Post Has Been Expired"
6792
  msgstr ""
6793
 
6794
+ #: wpuf.php:456
6795
  msgid ""
6796
  "<p style=\"font-size: 13px\">\n"
6797
  " <strong class=\"highlight-text\" "
6804
  " </p>"
6805
  msgstr ""
6806
 
6807
+ #: wpuf.php:470
6808
  msgid "Update WP User Frontend Pro Now"
6809
  msgstr ""
6810
 
6811
+ #: wpuf.php:474
6812
  msgid "Update WP User Frontend Pro NOW"
6813
  msgstr ""
6814
 
6815
+ #: wpuf.php:720
6816
  msgid "Please Cancel Your Currently Active Pack first!"
6817
  msgstr ""
6818
 
6819
+ #: wpuf.php:887
6820
  msgid "Error: Nonce verification failed"
6821
  msgstr ""
6822
 
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
  === WP User Frontend - Membership, Profile, Registration & Post Submission Plugin for WordPress ===
2
  Contributors: tareq1988, nizamuddinbabu, wedevs
3
  Donate link: https://tareq.co/donate/
4
- Tags: Forms, registration, profile-builder, login, membership
5
  Requires at least: 4.0
6
- Tested up to: 5.5
7
  Requires PHP: 5.6
8
- Stable tag: 3.4.0
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -182,7 +182,7 @@ Try an <a href="https://wedevs.com/in/wpuf/demo">Online Demo</a> of the FREE & P
182
  Check out the <a href="https://wedevs.com/wp-user-frontend-pro/pricing/">full feature list and pricing plans here.</a> of the Pro version.
183
 
184
  = Checkout Our Other Products =
185
- * [weForms - Best Contact Form Plugin](https://wordpress.org/plugins/weforms/)
186
  * [WP ERP](https://wperp.com/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+ERP)
187
  * [Dokan - Multivendor Plugin](https://wedevs.com/dokan/?utm_medium=referral&utm_source=wporg&utm_campaign=WP+ERP+Readme&utm_content=Dokan)
188
  * [WP Project Manager](https://wedevs.com/wp-project-manager-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WP+ERP+Readme&utm_content=WP+Project+Manager)
@@ -261,928 +261,6 @@ This page is for the purpose of editing posts. You shouldn't access this page di
261
  First you need to go to the dashboard, then when you click "edit", you'll be
262
  redirected to the edit page with that post id. Then you'll see the edit post form.
263
 
264
-
265
- == Changelog ==
266
-
267
- = v3.3.1 (16 June, 2020) =
268
- * Tweak - Use common names for Ivory Coast, North Korea and Sourth Korea instead of their official names
269
- * Fix - Condition to use default avatar
270
- * Fix - Make Email and URL fields clickable
271
- * Fix - Redirect after user login
272
- * Fix - Sanitize textarea field data
273
- * Fix - Missing colon to email, URL, text and textarea labels when renders their data
274
- * Fix - Prevent showing empty labels for fields that have render_field_data method
275
-
276
- = v3.3.0 (11 June, 2020) =
277
- * Enhancement - Add Namibian Dollar in currency list
278
- * Enhancement - Add sync values option for option data fields
279
- * Tweak - Allow uploading image that having filesize meets php ini settings
280
- * Tweak - Limit the selection of one image at a time
281
- * Tweak - Use file name and size to generate hash to prevent duplicant image upload
282
- * Tweak - Sanitize text and textarea field data
283
- * Tweak - Show label instead of values for radio, checkbox, dropdown and multiselect data
284
- * Fix - Saving custom taxonomies for type text input
285
- * Fix - Admin settings link for recaptcha helper text
286
- * Fix - Undefined name property for Custom HTML fields
287
- * Fix - Delete attachment process
288
- * Fix - Missing billing address in invoice PDF
289
- * Fix - Showing country field value in frontend post content
290
- * Fix - Avatar size display not complying with admin settings size
291
- * Fix - Display default avatars on admin settings discussion page
292
- * Fix - Redirect to subscription page at registration
293
- * Fix - Error notice regarding registration page redirect
294
- * Fix - Escaping html in registration errors
295
- * Fix - Default login redirect link
296
- * Fix - Implementing default WP login page override option
297
- * Fix - Transparent background of autosuggestion dropdown
298
-
299
- = v3.2.0 (14 April, 2020) =
300
- * **Improvement:** Import forms system
301
- * **Improvement:** Password reset system
302
- * **Improvement:** Updated url validation regex to support modern tlds
303
- * **Fix** Export WPUF forms individually from admin tools page
304
- * **Fix** Subscription cycle label translation issue
305
- * **Fix** ACF integration for checkbox fields
306
- * **Fix** Illegal string offset warning while updating settings
307
- * **Fix** Conditional logic for Section Break field
308
- * **Fix** Subscriptions cannot be deleted from backend
309
- * **Fix** A regression regarding saving checkbox data
310
- * **Fix** Default value of multi-select fields is not showing
311
-
312
- = v3.1.18 (13 March, 2020) =
313
- * **Improvement:** Hide post edit option when subscription is expired
314
- * **Improvement:** Check files to prevent duplicity in media upload
315
- * **Improvement:** Added Jordanian Dinar to currency list
316
- * **Improvement:** Update post edit button display logic
317
- * **Improvement:** Update some notice messages
318
- * **Improvement:** Made some query and asset loading improvements
319
- * **Improvement:** Refactor address fields in Account section & Payment page
320
- * **Improvement:** Enqueue color picker only in some WPUF pages
321
- * **Improvement:** Update Paypal payment gateway
322
- * **Improvement:** Inconsistency with the Shop Name & Shop URL in WPUF Vendor registration form
323
- * **Fix:** Prevent taxonomy and category fields from being duplicated
324
- * **Fix:** Selected form export issue
325
- * **Fix:** Category column issue in dashboard
326
- * **Fix:** Taxonomy checkbox checked not showing
327
- * **Fix:** Fatal error after updating privacy policy page
328
- * **Fix:** Fixed some instances of wrong escaping
329
- * **Fix:** Submit issue with image and reCaptcha
330
- * **Fix:** Expired subscription pack throwing error on dashboard
331
- * **Fix:** Photo insert option in content editor and feature image field is not working on windows server
332
- * **Fix:** HTML Tags are not rendering the HTML format for the Radio or Checkbox Field
333
- * **Fix:** Country List field issue in frontend
334
- * **Fix:** Multi-column Repeater field data saving issue
335
- * **Fix:** Multistep form conflict with Elementor
336
- * **Fix:** Compatibility issue with ACF date time field
337
- * **Fix:** Meta field issue with multiple images
338
- * **Fix:** Category type as "Text Input" is not saving.
339
- * **Fix:** Some warnings in user directory
340
- * **Fix:** File upload can fail in some cases
341
- * **Fix:** Media title, caption & description not saving
342
- * **Fix:** Address Field not rendering properly in email notification
343
- * **Fix:** Checkbox data not saving from WPUF Custom Fields metabox
344
- * **Fix:** Workaround for The Events Calendar venue and organizer fields in metabox
345
-
346
- = v3.1.17 (31 January, 2020) =
347
- * **Fix:** some regressions after phpcs fixes
348
-
349
- = v3.1.16 (17 January, 2020) =
350
- * **Fix:** Photo insert option in content editor
351
- * **Fix:** Subscription page is not showing the content/package description as formatted content
352
- * **Fix:** Predefined form is not saving on the WPUF form page's backend area
353
- * **Fix:** WPUF Custom HTML field is not saving the data
354
- * **Improve:** Improve Code Quality
355
-
356
- = v3.1.15 (14 January, 2020) =
357
- * **Fix:** update url validation
358
- * **Tweak:** Added privacy policy info in setup wizard for admin
359
-
360
- = v3.1.14 (13 December, 2019) =
361
-
362
- * **Fix:** Fixed a warning while in block editor
363
- * **Fix:** Add better URL validation
364
- * **New:** Added two filters on transaction
365
- * **Fix:** Notification Checkbox not working
366
- * **Fix:** Fixed some Column field issues
367
-
368
- = v3.1.13 (18 November, 2019) =
369
-
370
- * **New:** Added Arabic translations.
371
- * **Fix:** Free subscription info was not showing in dashboard.
372
- * **Fix:** Fixed subscriptions can't be assigned from user profile due to a regression.
373
- * **Fix:** Fixed some column field issues. closes #734
374
- * **Fix:** Guest post hook was not working properly. Closes #704
375
- * **Fix:** Fixed missing default value for post content rich text editor. Closes #730
376
-
377
- = v3.1.12 (17 October, 2019) =
378
-
379
- * **Fix:** Nonce not verify on login
380
-
381
- = v3.1.11 (02 October, 2019) =
382
-
383
- * **Feature:** Option to set which tab shows as active on the account page.
384
- * **Fix:** Unlock option was unavailable after the post being locked.
385
- * **Fix:** Gutenberg block of WPUF didn't work on bedrock installation.
386
- * **Fix:** Sending admin payment received email twice.
387
- * **Enhancement:** Add shortcode support to display post information in the Post Expiration Message.
388
- * **Enhancement:** Add Appsero option checkbox on the setup wizard.
389
-
390
- = v3.1.10 (06 September, 2019) =
391
-
392
- * **Fix:** Posts were not assigned to the selected default post owner.
393
- * **Fix:** Google reCaptcha was not working, users could submit the form without reCaptcha validation.
394
-
395
- = v3.1.9 (22 July, 2019) =
396
-
397
- * **Fix:** call_user_func_array() error while editing or add a new post from admin panel.
398
- * **Fix:** Address fields on payment page were not checking which fields are optional.
399
- * **Fix:** WooCommerce gallery images were not being shown on the frontend.
400
- * **Fix:** Show & hide coupon message based on response.
401
- * **Fix:** Login page was including registration page link even when user registration was turned off.
402
- * **Fix:** Notification emails were not respecting the spaces.
403
-
404
- = v3.1.8 (26 June, 2019) =
405
-
406
- * **Fix:** Multistep form was scrolling to the top of the browser instead of moving to the top of the form when clicking on `Next` or `Previous` button.
407
- * **Fix:** Uploaded images were not showing in the ACF gallery field.
408
- * **Fix:** Billing address was not saved from the frontend payment page.
409
- * **Fix:** Added translation functions to the missing strings.
410
- * **Fix:** Dependency styles error of Gutenblock-editor.css.
411
-
412
- = v3.1.7 (31 May, 2019) =
413
-
414
- * **Fix:** check for 'button_label' existence before using it.
415
- * **Fix:** after accepting bank payment, post status was not changing.
416
- * **Fix:** custom taxonomy empty value was not saving when editing a post & field type is a checkbox.
417
- * **Fix:** fix PHP warning.
418
- * **Improvement:** added `Select Country` text for billing address country field.
419
-
420
- = v3.1.6 (23 May, 2019) =
421
-
422
- * **Fix:** URL field empty value was not saving.
423
- * **Fix:** Custom taxonomy field empty data were not updating.
424
- * **Fix:** Added translation function for missing strings.
425
- * **Improvement:** Added active class to account page menu items.
426
- * **Improvement:** Responsive frontend pages.
427
-
428
- = v3.1.5 (02 May, 2019) =
429
-
430
- * **Fix:** Conflict weDevs insight library with WP Project Manager plugin.
431
-
432
- = v3.1.4 (02 May, 2019) =
433
-
434
- * **Fix:** Category field data were not being saved when conditional logic is applied to custom taxonomy fields based on category field.
435
- * **Fix:** While editing the checkbox values from the backend user profile page, the values were not being saved.
436
- * **Fix:** While editing profile, using the default profile form, the password strength indicator didn't respond.
437
- * **Fix:** Insights data were not being sent.
438
-
439
- = v3.1.3 (15 April, 2019) =
440
-
441
- * **Fix:** Required option of checkbox field was not validating on the frontend.
442
- * **Fix:** Select mulitple options in checkbox field doesn't save the data.
443
- * **Fix:** Fallback pay per post was not respecting the payment procedure & fallback cost was not correct on the payment page.
444
-
445
- = v3.1.2 (01 April, 2019) =
446
-
447
- * **Feature:** Added column field: Now, creating multi-column in a single row is super easy with WPUF Column field. Just drag the column field in the builder area, configure columns number, column space and add any fields you want inside that Column field.
448
- * **Fix:** Unable to render the events on the front-end: On the frontend dashboard, the submitted events were not showing, you will get it fixed in this version.
449
- * **Fix:** Page order getting 0(zero) after editing from the frontend: Page order was not saving while editing a post using WPUF form, it has been fixed.
450
- * **Fix:** Text Input field for Taxonomies not working: When taxonomy field type is set to `Text Input` then a fatal error was showing on the frontend, no error with taxonomy field in the latest version
451
- * **Fix:** In radio and checkbox field use conditional logic that value does not save in database: The selected value of radio and checkbox field were not showing while editing posts from the backend or frontend, you can see the selected value in this version.
452
- * **Fix:** The args parameter not working with get_avatar filter: The args parameter did not exist with get_avatar filter, which now exists.
453
- * **Fix:** The item in ajax taxonomy field is not selected: When the taxonomy field type is set to Ajax, the submitted terms were not showing in the backend and frontend which have been fixed.
454
-
455
- = v3.1.1 (28 February, 2019) =
456
-
457
- * **Fix:** Help text in the Category field were not displaying on the frontend.
458
- * **Fix:** Category was not editable when editing the post from the frontend.
459
- * **Fix:** Display the admin bar when user role exist.
460
- * **Fix:** When the admin edits a post from the backend, it was creating duplicate post.
461
- * **Fix:** After enabling post expiration in post form do not save post_expiration meta.
462
- * **Fix:** Checkboxes were not linking/syncing with ACF field.
463
- * **Fix:** Publish time input option in the Date/Time field, was not working.
464
-
465
- = v3.1.0 (31 January, 2019) =
466
-
467
- * **Fix:** The Default registration form `[wpuf-registration]` was unable to send the new user registration email.
468
- * **Fix:** With the latest version of WordPress the Gutenberg block of WP User Frontend were not working. Fixed in this version.
469
- * **Fix:** While using Gutenberg editor, the pages were not being updated with WPUF shortcode consisting`[wpuf dashboard]`
470
- * **Fix:** From the User Frontend Settings, you had the capability to set if the Administrator, Editor, Vendor etc can see the admin bar. Now, the super admin want one specific user ( who has the user role from the above ) can't see the admin bar and disabled it from the Toolbar form that specific user profile. And this configuration ( Toolbar ) from the specific user profile were unable to impact on the frontend.
471
- * **Fix:** WP User Frontend was unable to install with PHP 5.4 or lower version.
472
- * **Fix:** When a user uploaded single image for product gallery using WPUF WooCommerce product form, that image was not showing on the frontend.
473
-
474
- = v3.0.2 (1 January, 2019) =
475
-
476
- * **Feature:** Added post lock feature based on posts and user
477
- * **Fix:** 'show directions' link doesn't show with the google map on submitted post
478
- * **Fix:** Subscription pack price not formatting according to the settings
479
- * **Fix:** Post date is not updating when enable time input option for date field
480
-
481
- = v3.0.1 (5 December, 2018) =
482
-
483
- * **Fix:** Image is duplicating
484
-
485
- = v3.0.0 (4 December, 2018) =
486
-
487
- * **New:** Integrated WC Marketplace plugin: vendor can submit post from their frontend dashboard
488
- * **New:** Integrated WC Vendors plugin: vendor can submit post from their frontend dashboard
489
- * **Fix:** Post is getting duplicate while updating
490
-
491
- = v2.9.4 (20 November, 2018) =
492
-
493
- * **Fix:** WooCommerce Gallery images not getting saved
494
-
495
- = v2.9.3 (02 November, 2018) =
496
-
497
- * **Fix:** NoCaptcha reCaptcha compatibility issue
498
- * **Fix:** Empty URL field label showing with the post on frontend
499
- * **New:** Add option to hide field label
500
- * **New:** Use theme style for all input fields
501
- * **New:** Added SweetAlert pop up box for image delete & subscription cancel confirmaton
502
- * **Improved:** Showing user display name instead of username on the frontend dashboard
503
-
504
- = v2.9.2 (20 September, 2018) =
505
-
506
- * **Fix:** Delete & drag icon showing inappropriately
507
- * **Fix:** Custom fields data not showing on the frontend when different conditional logic apply based on same field with different options
508
-
509
- = v2.9.1 (18 August, 2018) =
510
-
511
- * **New:** Added custom classes to make two or three columns form
512
- * **Fix:** If add a field with the 'field visibility' to the admin only, it was fine to the admin. But, the field and the fields below were not showing to the non-admin users. It has been fixed in this version.
513
- * **Fix:** Duplicated field was not saving on the post form
514
-
515
- = v2.9.0 (16 August, 2018) =
516
-
517
- * **New:** The Events Calendar Integration Form
518
- * **New:** Post Submission Facility From Account Page
519
- * **Improved:** Login/Lost Password Link Under Registration Form
520
- * **Improved:** Added settings to show/hide payment column on frontend dashboard table
521
- * **Fix:** Draft post gets published after editing without even asking for payment
522
- * **Fix:** Added Placeholder for Empty Featured Image
523
-
524
- = v2.8.10 (17 July, 2018) =
525
-
526
- * **New:** Added drag and drop image ordering on image upload field
527
- * **New:** Added preview option in forms
528
- * **New:** Added form limit message before form submission
529
- * **New:** Added option to show reCAPTCHA field in login forms
530
- * **Improved:** Replace alert with Sweet-alert in frontend
531
- * **Improved:** Internationalized subscription pack cycle period labels
532
- * **Fix:** "Select Image" button disappears while uploading multiple images.
533
- * **Fix:** Showing username while login with wrong password and email
534
- * **Fix:** Default post category not saving
535
- * **Fix:** Pages was not being created from setup wizard
536
- * **Fix:** Separator spacing for multi select and checkbox render view
537
- * **Fix:** Form id specific posts are not displaying on the dashboard
538
-
539
- = v2.8.9 (6 June, 2018) =
540
-
541
- * **New:** Added functionality to export and erase WP User Frontend Data.
542
- * **New:** Added billing address customizer.
543
- * **New:** Changed plugin text-domain to 'wp-user-frontend' from 'wpuf'.
544
- * **Improved:** Some responsive adjustments are made in payment page.
545
- * **Improved:** Some scripts and styles were loading in all pages, it is fixed now.
546
- * **Improved:** Fixed warning on dashboard for custom post types with no label.
547
- * **Fix:** Images were not showing after upload in safari, it is fixed now.
548
- * **Fix:** Posts cannot be updated after changing post images, it is fixed now.
549
- * **Fix:** Fixed getting fatal error when submitting post with image in some cases.
550
- * **Fix:** Fixed billing amount not showing when assign pack from backend.
551
- * **Fix:** Fixed some translations issues.
552
-
553
- = v2.8.8 (16 May, 2018) =
554
-
555
- * **New:** Allow override form input style using theme styling.
556
- * **Improved:** Nocaptcha recaptcha wasn't working when allow_url_fopen is disabled is fixed.
557
- * **Improved:** Free pack users were not showing in subscribers list, now they will.
558
- * **Improved:** If login override is disabled redirect to default wordpress register page.
559
- * **Improved:** Updated image upload field style.
560
- * **Improved:** Updated logged in user display style.
561
- * **Improved:** Added label in featured image field.
562
- * **Improved:** Changed content of subscription expiration mail.
563
- * **Fix:** Taxonomy fields checkboxes were disappearing from builder in some cases, now they won't.
564
- * **Fix:** Fallback cost calculation was inaccurate, it is fixed now.
565
- * **Fix:** Subscription expiry date showing wrong time for unlimited packs, it is fixed now.
566
- * **Fix:** User subscription deletion gets reverted if updated, it is fixed now.
567
- * **Fix:** Fixed some issues in Advanced Custom Fields(Free) compatibility
568
- * **Fix:** Fixed some translations issues.
569
-
570
- = v2.8.7 (09 April, 2018) =
571
-
572
- * **New:** Added WP User Frontend Guten Block
573
- * **New:** Added Advanced Custom Fields(Free) compatibility
574
- * **New:** Added Avatar size settings
575
- * **Improved:** Changed postcode input field to string in billing address
576
- * **Improved:** Added PHP backward compatibility for login redirect
577
- * **Fix:** Taxonomy Terms not showing for custom post types in form settings
578
- * **Fix:** Taxonomy Terms not showing for custom post types in front-end dashboard
579
- * **Fix:** Fixed some issues in billing address
580
-
581
- = v2.8.6 (22 March, 2018) =
582
-
583
- * **Improved:** Added backward compatibility for WooCommerce product template
584
- * **Fix:** Some fields were rendered as Array
585
- * **Fix:** Added WoooCommerce address sync with WP User Frontend billing address
586
- * **Fix:** Fixed issues in Reset Password Mail
587
- * **Fix:** Fixed invalid key in email
588
- * **Fix:** Subscription trial message was not showing properly
589
- * **Fix:** Address Field was not updating
590
- * **Fix:** Subscription Email toggle in settings was not working properly
591
- * **Fix:** Sometimes username was not showing in transaction list
592
- * **Fix:** Post count not showing on the frontend dashboard
593
- * **Fix:** Date/Time was not following backend format in frontend
594
- * **Fix:** Login redirect issues with blank page
595
-
596
- = v2.8.5 (12 March, 2018) =
597
-
598
- * **New:** Enhanced Login Redirect settings to redirect to previous page
599
- * **Fix:** Form fields help text styles now showing properly
600
- * **Fix:** Reset Links not showing on HTML email in some cases
601
- * **Improved:** Show Form schedule notice before form submission
602
- * **Improved:** Added version meta for Forms
603
- * **Improved:** various other code improvements
604
-
605
- = v2.8.4 (04 March, 2018) =
606
-
607
- * **New:** Dashboard post listing now supports multiple post type within shortcode
608
- * **New:** Added settings in URL field to view link on new window or same window
609
- * **New:** Added settings to change button text for Image upload field
610
- * **New:** Added Login Redirect settings to redirect users to a page after login
611
- * **Fix:** MultiStep Form styles not working properly
612
- * **Fix:** Account Activation link not working for new users
613
- * **Fix:** Separated Serbia and Montenegro in country list
614
- * **Fix:** Required field condition for google map not working
615
- * **Fix:** Post submission infinity loop issue fixed
616
- * **Fix:** TinyMCE styling not working on frontend layouts fixed
617
- * **Improved:** Updated turkish translation
618
-
619
- = v2.8.3 (15 February, 2018) =
620
-
621
- * **New:** Admin form builder is now fully responsive.
622
- * **New:** Added color schemes for creating attractive form layouts.
623
- * **Fix:** Confirmation password field size is not updated
624
- * **Fix:** Email notification contains unnecessary texts
625
- * **Fix:** Assign pack costs not showing on admin fixed
626
- * **Fix:** Restrict Free subscription pack to be enabled multiple times
627
- * **Fix:** While updating post, image changes are updated after saving the post
628
- * **Improved:** Show purchase link on notice of post purchase
629
- * **Improved:** Hide edit link on front-end post listing if editing is disabled
630
-
631
- = v2.8.2 (23 January, 2017) =
632
-
633
- * **Improved:** Added upgrade function for default category: Upgrader added to upgrade previously set default post category.
634
- * **New:** Subscription pack cannot be canceled: Fixed recurring subscription pack cannot be canceled from my account page in subscription details section.
635
- * **Fix:** page installer admin notice logic issue: Fixed page installer admin notice logic problem due to new payment settings default value not set.
636
-
637
- = v2.8.1 (14 January, 2017) =
638
-
639
- * **New:** Setup Wizard: Setup Wizard added to turn off payment options and install pages.
640
- * **New:** Multi-select Category: Add multi-select to default category in post form settings.
641
- * **Improved:** Select Text option for Taxonomy: Add Select Text option for taxonomy fields. Now you can add default text with empty value as first option for Taxonomy dropdown.
642
- * **Improved:** Taxonomy Checkbox Inline: Added checkbox inline option to taxonomy checkbox. You can now display Taxonomy checkbox fields inline.
643
- * **Fix:** WooComerce Template fix: WooCommerce product form submittion error fixed. Product adding with WooCommerce template works fine now.
644
- * **Fix:** Date Display Issue: Date not save/display after save form settings in Schedule form section.
645
- * **Fix:** Default Field Width: Default Field Width set empty. Previously set as medium.
646
-
647
-
648
- = v2.8.0 (6 January, 2017) =
649
-
650
- * **New:** Limit Entries: limit how many entries a form will accept and display a custom message when that limit is reached.
651
- * **New:** Schedule form: Don't accept form submission if the current date is not between the date range of the schedule.
652
- * **New:** Restrict Users: Restrict form submission based on the users role.
653
- * **New:** Show/hide Admin Bar: Control the admin bar visibility based on user roles.
654
- * **New:** Ajax Login widget: Login user is more simple now with Ajax Login Widget. The simple login form don't required page loding for login.
655
- * **Improved:** Form submission with Captcha: Form field validation process updated if form submits with captcha field.
656
- * **Fix:** Payment redirection: Pay per post payment redirection not working after subscription expired.
657
- * **Fix:** Edit Profile: User cannot edit their profile by frontend profile edit form.
658
- * **Fix:** Undefined error: Data processing error on purchasing free subscription pack.
659
-
660
-
661
- = v2.7.0 (12 December, 2017) =
662
-
663
- * **New:** Posting integration with Dokan added. Now you can create and edit blog posts from your Dokan dashboard.
664
- * **New:** Fallback cost for form subscription payment. When a subscribed user reaches post limit before the pack expires, this option will allow user to pay per post and continue making posts until the membership is valid.
665
- * **New:** Added bulk accept feature to pending transactions.
666
- * **New:** We have removed the add-on page and introduced a premium page with all the features available for you when you upgrade to pro version.
667
- * **New:** A **What's New** page has been added to let users know about the most important new features and fixes has been introduced to the current version of the plugin.
668
- * **New:** Newsletter subscription form added on the help page to keep you staying updated with latest news from us.
669
- * **Improved:** A newly designed settings page has been introduced where you can easily configure everything more easily.
670
- * **Improved:** If you are using a PHP version older than 5.4, you'll see notice to update your PHP version.
671
- * **Improved:** Design improvements of subscription edit screen and user profile area in backend, it looks pretier now.
672
- * **Improved:** Few settings options has been re-arranged in different tabs for better understanding.
673
- * **Fix:** Fix Pay Per Post only shows round figure in frontend. #269
674
-
675
-
676
- = v2.6.1 (8 November, 2017) =
677
-
678
- * **Fix:** Fixed subscription pack frontend display issue. A small bug was introduced that was preventing displaying the subscription packs correctly.
679
- * **Fix:** Fix for packs with unlimited post. We had a small mistake in pack post counting and unlimited subscription plan was discarded. This version fixes the issue.
680
-
681
-
682
- = v2.6.0 (6 November, 2017) =
683
-
684
- * **New:** When configuring payment settings from wp-admin → User Frontend → Settings → Payments, the payment options were applicable for all post forms with the same behavior. Admin could not configure payment option for each post form individually. In this version, the payment configuration option for individual form has been added. Now the admin can configure payment from wp-admin → User Frontend → Post Forms → Add/Edit a form → Navigate Payment Settings located under Settings tab.
685
- * **New:** When rendering a form, each field can be shown/hidden based on the type of user roles, subscription pack. This visibility option is located under **Advanced Options** section of each form field and provides a more granular control over which value you want to show and to whom.
686
- * **New:** **Menu Restriction** feature added. Like content restriction, now the admin can restrict the menu items based on roles of logged in users, logged out users, subscription pack or everyone. Available to **Pro** users.
687
- * **New:** When use `[wpuf_sub_pack]` shortcode, all the subscriptions were visible on the frontend. Admin could not exclude any subscription pack from the available packs. Now, the admin has the opportunity to show specific subscription pack using include/exclude attributes inside `[wpuf_sub_pack]` shortcode. For example, if you have 3 subscription packs with 101, 102, 103 IDs and want to show only the last two packs then you can use `[wpuf_sub_pack include="102,103"]` or to exclude the middle one from the list then you can use `[wpuf_sub_pack exclude="102" order="DESC"]`.
688
- * **New:** Admin could not understand which users currently have subscription validity & what is the subscription pack a user is assigned to. Now, a new column **Subscribers** has been added in the **User Frontend** → **Subscriptions** list. Admin can easily understand how many users have purchased a subscription pack & who are the users.
689
- * **New:** **Payment Invoice** added. Users who purchase a subscription or process payment for pay per post could not receive an invoice. Now, it's available, a PDF invoice will be sent to user's email with details. Available to **Pro** users.
690
- * **New:** Registration/Login function is now available in the free version. User's don't need to login/registration using WordPress default form but the frontend opportunity of WPUF plugin.
691
- * **New:** **"Custom Fields in post"** option was available in global settings (User Frontend > Settings > General Options) when admin enable it the data of all the custom fields of all post forms were showing on the frontend with the post. Now, the admin has more flexibility to choose which field's data will show on the frontend. This option can be found as **"Show data in the post"** when editing custom fields under **"Advanced Options"** section.
692
- * **Fix:** When viewing pending transactions, the admin could not see more than 20 but there are a lot more available then this number. This issue has been fixed.
693
- * **Fix:** Now, the site must have SSL (https) enabled to receive payment with PayPal. We had to update the payment process due to [PayPal security update notice](https://www.paypal-notice.com/en/IPN-Verification-Postback-to-HTTPS/)
694
- * **New:** Added plugin welcome wizard. Users who are installing the plugin for the first time will be presented with a nice video and instructions to configure the plugin.
695
- * **Improved:** Styling update for edit profile shortcode, now it looks more user friendly with newly applied styles.
696
- * **Improved:** Add form preview image in template popup.
697
- * **Improved:** Improved help texts in settings → general & form settings
698
-
699
- = v2.5.7 (18 October, 2017) =
700
-
701
- * **New:** Guest post email verification feature added. When turned on, users need to click the activation link on their email before publising the post.
702
- * **New:** Added Login and Registration shortcode support in the plugin. Now free version users will get the themed login and a simple registration feature.
703
- * **Improved:** Add missing icon on field button (form builder).
704
- * **Improved:** Added related help documents/links in various pages.
705
- * **Fix:** Fix the upgrade routine. Version number mismatch gives fatal error. Fixes #179
706
- * **Fix:** Removed integration classes, vue modal component from WPUF as it was not necessary anymore.
707
- * **Fix:** Users could not update profile from my account page.
708
- * **Fix:** Product visibility for WooCommerce wasn't working as they migrated to a taxonomy system.
709
- * **Fix:** PayPal gateway security enforced. When checking the IPN request, few things weren't being done before checking the valid IPN response.
710
-
711
- = v2.5.7 (11 September, 2017) =
712
-
713
- * [improved] Added background in form builder div, so notices don’t overlap the form builder
714
- * [improved] Added filter `wpuf_free_loader` for conditional loading pro elements. Added class instance container to access class instances via <code>wpuf()->dashboard</code> like magic methods.
715
- * [new] Form label display settings added. Now you can place the form element labels at left/right/above/hide, brings more flexibility.
716
- * [new] New post notification feature brought back in individual form notification settings. You could only change the new post notification email in the PRO version, now you can change it in the free version, as well as disable the email.
717
-
718
- = v2.5.6 (28 August, 2017) =
719
-
720
- * [fix] Call subscriptions.js file directly from the js directory. Fix #174
721
-
722
- = v2.5.5 (26 August, 2017) =
723
-
724
- * [new] Added Invisible reCaptcha option
725
- * [new] Added weForms shortcode on script loading check
726
- * [improve] functions formatting
727
- * [improve] reCaptcha field title and settings tweak
728
- * [fix] Fixed translation issue by removing translation function of admin menu
729
- * [fix] WPUF Custom Fields don’t save in admin/editor
730
- * [fix] Fatal Error:undefined function wpuf_cf_count_form_entries()
731
- * [fix] Fix form entries count function name
732
-
733
- = v2.5.4 (30 July, 2017) =
734
-
735
- * [new] Added WPUF admin menu icon
736
- + [new] Added Recaptcha field
737
- + [new] Added tracker (weDevs Insights)
738
- * [improve] Add Spanish Translation
739
- * [improve] Re-design addons page according to WP plugins page listing
740
- * [improve] When duplicating a form, add a form ID in the form name
741
- * [improve] Remove Google map and reCaptcha settings
742
- * [improve] Remove “Fixed form elements” from settings → general
743
- * [improve] Remove additional + - buttons on radio buttons
744
- * [improve] Removed Autoloader, Single JS Templates
745
- * [improve] Form settings saving: compatible with JSON payload
746
- * [improve] Editor: show warning only when some form field have changed
747
- * [improve] Added integrations class
748
- * [improve] Form notification, modal, integration components added
749
- * [improve] Added first/middle/last name support on merge tag
750
- * [fix] Sweetalert returning text "true" instead of original message
751
- * [fix] Hide subscription menu from "my account" page when user has no subscription pack
752
- * [fix] On saving as draft post custom taxonomy not saved
753
- * [fix] Page content not loading after successful submission of Ajax
754
- * [fix] URL is not clickable on the frontend
755
- * [fix] Mail & URL Field not have validation
756
- * [fix] Fix infinite post and make compatible with ACF plugin
757
- * [fix] Cannot delete attribute field from product form after delete attribute
758
- * [fix] Apply coupon returned unexpected value for separator
759
- * [fix] swal: fix text and button color
760
- * [fix] Form render error when using shortcodes in custom html field
761
- * [fix] Conflict with Imagify Image Optimizer plugin
762
- * [fix] When site language changed, Add Form/ Edit Form page display nothing
763
- * [fix] Fix sweetalert promise
764
- * [fix] Subscription don't display any value if there has no remaining post
765
- * [fix] Google map not loading on multistep form
766
- * [fix] Fix undefined index in count
767
- * [fix] Invalid post type due to class loading hook
768
-
769
- = v2.5.3 (8 June, 2017) =
770
-
771
- * [improve] Update action name by removing language changing option
772
- * [improve] Update SweetAlert version
773
- * [improve] Added merge tags component
774
- * [improve] Correctly use password strength meter and show mismatch
775
- * [improve] Add post forms js dependency filter
776
- * [improve] Radio/checkbox inline-block CSS added
777
- * [fix] Default option not set in radio field
778
- * [fix] Selected option gets level rather than value
779
- * [fix] Multi select and checkbox default value issue
780
- * [fix] Refresh upload buttons on multistep forms on each step change
781
- * [fix] Radio buttons pre-select default option not working while editing the button value
782
- * [fix] Corrected the plugin documentation link
783
- * [fix] Mail not going on post expiration
784
- * [fix] Cannot delete attribute field from product form after delete attribute
785
- * [fix] Overload Js in subscription and form setting
786
- * [fix] Post empty content issue on save draft
787
- * [fix] Form render error when using shortcodes in custom html field
788
- * [fix] Conflict with Imagify Image Optimizer plugin
789
- * [fix] When site language changed, Add Form/ Edit Form page display nothing
790
-
791
-
792
- = v2.5.2 (27 April, 2017) =
793
-
794
- * [improve] Added word limit feature for text field
795
- * [improve] Added page shortcode insert button in TinyMCE
796
- * [improve] Added media button to insert form shortcode in post/page edit
797
- * [improve] Added parameter in wpuf_format_price function to allow return both (with symbol and without symbol) price format
798
- * [improve] Replace shorthand array syntax due to php version compatibility
799
- * [improve] Added coupon code error message in payment page
800
- * [improve] Added apply_filters to manage page shortcode
801
- * [improve] Modal links and link tags updated for extending
802
- * [improve] Added function to get client IP
803
- * [improve] Saving custom fields sanitized and switched
804
- * [improve] Added notification settings in core
805
- * [improve] Added meta box to public post to select post edit form for frontend
806
- * [improve] Added delete form and form submission open checking function
807
- * [improve] Added label type core support on form builder with CSS
808
- * [improve] Notification added on post form template class
809
- * [fix] Dashboard template html closing tag issue
810
- * [fix] Radio buttons & checkbox display issue
811
- * [fix] Paypal payment status issue
812
- * [fix] Form edit screen not showing in Internet Explorer
813
- * [fix] WooCommerce attribute not showing issue
814
- * [fix] Change the form status to publish once saved on duplicating a form
815
- * [fix] The cancel subscription button doesn't work with non-recurring subscription
816
- * [fix] Post is not creating by Save Draft button with no post content field
817
- * [fix] Discount amount not deducting when payment is processed with bank option
818
- * [fix] Image/File upload field not working when JavaScript is optimized by Async JavaScript plugin
819
- * [fix] "save draft" button not working post saving as pending, conflict with subscription
820
-
821
-
822
- = v2.5.1 (22 March, 2017) =
823
-
824
- * [improve] Update vue.js and vuex.js version
825
- * [improve] Update parent_slug parameter of add_submenu_page function to 'wp-user-frontend'
826
- * [fix] Admin fields in form edit section reset on clicking 'Save form' button
827
-
828
-
829
- = v2.5 (18 March, 2017) =
830
-
831
- * [new] Brand new form builder added for post form and profile form
832
- * [new] Added payment status for pay per post
833
- * [improve] `wpuf_add_html` filter name changed to `wpuf_custom_field_render`
834
- * [improve] add and update price formating function
835
-
836
-
837
- = v2.4.4 (22 February, 2017) =
838
-
839
- * [fix] Undefined JavaScript error when post is editing in admin
840
- * [fix] User IP if the script is running in cli
841
- * [fix] Date field on frontend post
842
- * [fix] Hide subscription tab from my account page when subscription is turned off
843
- * [fix] Plugin activation hooks
844
- * [fix] Recaptcha refresh when validation failed
845
-
846
-
847
- = v2.4.3 (07 February, 2017) =
848
-
849
- * [fix] PHP backward compatibility issue
850
-
851
-
852
- = v2.4.2 (05 February, 2017) =
853
-
854
- * [new] Shortcodes supported on post notification's every field
855
- * [fix] Conditional logic on address field
856
- * [fix] Pricing format improvements
857
- * [new] Currency position settings
858
- * [fix] File upload warning
859
- * [new] Re-design Transactions List Table
860
- * [new] Separated Free & Pro plugin
861
- * [fix] Draft post empty content issue
862
- * [new] My Account Dashboard `[wpuf_account]`
863
-
864
-
865
- = v2.4.1 (12 January, 2017) =
866
-
867
- * [new] Added a function `wpuf_get_countries()`
868
- * [fix] Enable paynow url on dashboard if a new post is submitted as draft
869
- * [fix] Invalid post id for editing
870
- * [fix] Removed subscription trial cost
871
- * [new] Showing messages when there is no form associated with an id or deleted or not published yet
872
- * [new] Added dynamic action hooks `wpuf_cancel_payment_{gateway}`, `wpuf_cancel_subscription_{gateway}`
873
- * [fix] User profile url on transaction's list
874
- * [fix] Multistep form button & validations
875
- * [fix] Replaced some raw query to builder
876
- * [new] jQuery added on preview form
877
- * [fix] Some undefined variables issue
878
- * [fix] Replaced `$wpdb->escape()` to `$wpdb->prepare()` for depreciation
879
- * [fix] Missing data when saving draft post
880
- * [fix] Updated some textdomains
881
- * [fix] `wpuf-ajax-tag-search` priv/nopriv ajax request
882
-
883
-
884
- = v2.4 (26 October, 2016) =
885
-
886
- * [fix] Plupload string translations
887
- * [fix] Post expiration logic updated
888
- * [fix] Ignore google map error when the API key is not inserted
889
- * [fix] Upload error from admin panel, nonce issue
890
- * [fix] reCaptcha lib constructor for strict standard
891
- * [fix] tinyMCE and textarea word limit fixed
892
- * [fix] User profile edit warning issue fixed for PHP 7
893
- * [fix] Tag suggestion showing -1
894
- * [fix] Showing -1 in case of unlimited remaining post count
895
- * [fix] Google map on a multi-step section
896
- * [improved] Settings API v1.3 updated
897
- * [improved] Added links to transaction packs in admin area
898
- * [new] Post template feature added with simple post and WooCommerce form template
899
- * [new] Added filter on text area editor args
900
- * [new] Content restriction added on *pro* version
901
-
902
-
903
- = v2.3.15 (11 August, 2016) =
904
-
905
- * [fix] License renewal prompt fix
906
-
907
-
908
- = v2.3.14 (10 August, 2016) =
909
-
910
- * [fix] Text domain and translated strings updated
911
- * [fix] Reloading the profile/registration page after deleting the avatar fixed.
912
- * [fix] Styling of delete button of form fixed.
913
- * [fix] Visibility of deleting avatar button fixed.
914
- * [fix] Issue with saving form in php 7 fixed.
915
- * [fix] Restoring remaining number of posts allowed to post in subscription is now working for non-admin member (Pro).
916
- * [fix] noCaptcha in registration is now working (Pro).
917
- * [fix] Registration form is now saving in php 7 (Pro).
918
- * [new] Form file uploader is now allowing uploading multiple files and removing extras with warnings.
919
- * [new] New filters added to show meta functions
920
- * [new] gMap API settings Added
921
- * [new] Registration field added (Pro).
922
- * [new] Post taxonomies visibility in form builder are now dependent on the post type selected (Pro).
923
- * [new] Multiple forms in the same page
924
-
925
-
926
- = v2.3.13 (30 March, 2016) =
927
-
928
- * [fix] Paypal user agent changed and issue with paypal transection fixed
929
- * [new] Multiple images/files can now be uploaded at a time in image and file fields
930
- * [fix] Upload.js has been modified
931
- * [fix] Problem with saving form element in php 7.0.0 is fixed
932
-
933
-
934
- = v2.3.12 (8 February, 2016) =
935
-
936
- * [new] WooCommerce Product Category and Attributes are now sectionized
937
- * [new] Error notice can now be translated.
938
- * [new] Errors on filling up the form will now be visible as warning/notice below the relevant field in front end.
939
- * [new] Meta key name in form field in form builder will now be auto populated only if the meta key field is empty
940
- * [fix] Progress bar issue in post edit mode is fixed
941
- * [new] Multistep registration form added
942
- * [new] Hook added before registration form
943
- * [fix] SSL issue fixed
944
-
945
-
946
- = v2.3.11 (8 February, 2016) =
947
-
948
- * [fix] File upload vulnerability fix. Props to: Panagiotis Vagenas
949
- * [fix] Replaced deprecated user notification function
950
- * [fix] Email error validation in multistep
951
- * [fix] Disabling subscription in form settings
952
- * [fix] Product taxonomy fixes
953
- * [new] No-captcha support added
954
-
955
-
956
- = v2.3.10 (5 Ocotber, 2015) =
957
-
958
- * [fix] Custom css is now working
959
- * [fix] Textdomain added to some text
960
- * [fix] Visibility of address field data in the frontend is now fixed
961
- * [tweak] A new filter has been added to get subscription meta data
962
- * [new] A new option has been added to date field to treat it future publish date if user wants
963
- * [new] Autologin after registration - feature added
964
- * [new] Confirmation alert added when user wants to delete subscription in frontend
965
- * [fix] Publish post after paypal payment completion
966
-
967
-
968
- = v2.3.9 (13 Sepetember, 2015) =
969
-
970
- * [fix] Newly registered users were having no meta named "wpuf_postlock"
971
- * [fix] Newly registered users (having no meta named "wpuf_postlock") are now having form in the frontend
972
- * [fix] Text input field for category is now working
973
- * [fix] Pack id warning in admin area profile
974
- * [fix] Error in rendering map in edit mode, when having no value
975
- * [fix] Progress bar style are set in condition
976
- * [fix] Error undefined object post when updating user profile
977
- * [improve] Button style in payment form
978
-
979
-
980
- = v2.3.8 (3rd Sepetember, 2015) =
981
-
982
- * [fix] Problem with wpuf lock post fixed.
983
- * [fix] Problem with retyping password disability in the frontend fixed.
984
- * [fix] Problem with password visibilty fixed.
985
- * [fix] Redirection to subscription page from user profile fixed.
986
- * [fix] Scripts and styles of wpuf are now loading when needed.
987
- * [add] RTL support improvement
988
-
989
-
990
- = v2.3.7 (24 August, 2015) =
991
-
992
- * [fix] Problem with conditional logic in image upload field fixed.
993
- * [fix] Transaction log updating issue fixed.
994
- * [fix] Email field in form with required flag is now working even if left empty.
995
- * [fix] Data from address field in registration form is now saved and shows data in edit form .
996
- * [new] Persian language translation added
997
- * [fix] Problem with 'pay per post' feature fixed
998
-
999
-
1000
- = v2.3.6 (13 July, 2015) =
1001
-
1002
- * [fix] Login page bug fixed.
1003
- * [fix] Wordpress native registration page made working.
1004
- * [fix] Email validation bug fixed.
1005
- * [fix] Issue in country field fixed.
1006
- * [fix] Issue with saving taxonomy fixed.
1007
- * [fix] Problem with captcha and really simple captcha fixed.
1008
- * [fix] Problem with action hook fixed.
1009
-
1010
-
1011
- = v2.3.5 (2 July, 2015) =
1012
-
1013
- * [fix] Ajax taxonomy field bug fixed.
1014
-
1015
-
1016
- = v2.3.4 (June 29, 2015) =
1017
-
1018
- * [fix] Featured image caption was not being updated
1019
-
1020
-
1021
- = v2.3.3 (June 24, 2015) =
1022
-
1023
- * [fix] Post status settings in form, wasn't being updated.
1024
-
1025
-
1026
- = v2.3.2 (June 22, 2015) =
1027
-
1028
- * [fix] Featured image upload fix
1029
- * [new] Image upload field brought back to free
1030
-
1031
-
1032
- = v2.3.1 (June 21, 2015) =
1033
-
1034
- * [fix] Compatibility problem with PHP < 5.2. Accidental PHP array shorthand used.
1035
-
1036
-
1037
- = version 2.3 (June 20, 2015) =
1038
-
1039
- * Pro plugin released as free with less features
1040
-
1041
-
1042
- = version 1.3.2 =
1043
-
1044
- * [improve] post thumbnail image association added
1045
- * [improve] various form styles updated
1046
- * [fix] teeny textarea buttons fix
1047
- * [fix] Dashboard show post type settings won't effect
1048
- * [fix] zxcvbn is not defined in edit profile
1049
- * [fix] Two click needed to submit a post
1050
- * [fix] dashboard author bio height fix
1051
-
1052
-
1053
- = version 1.3.1 =
1054
-
1055
- * [fix] `[wpuf_editpost]` typo fix
1056
- * [fix] clean $dashboard_query from corrupting beyond use
1057
-
1058
-
1059
- = version 1.3 =
1060
-
1061
- * [fix] PayPal payment user_id issue fixed
1062
- * [fix] Plupload `o is null` error fix
1063
- * [fix] PHP 5.4 strict warnings fix
1064
- * [update] new version of settings api class
1065
-
1066
-
1067
- = version 1.2.3 =
1068
-
1069
- * [fix] `has_shortcode()` brought back again by renaming as `wpuf_has_shortcode()`
1070
- * [fix] all the labels now have a default text
1071
-
1072
-
1073
- = version 1.2.2 =
1074
-
1075
- * [fix] shortcode error fix for edit users
1076
- * [fix] plugin css/js url
1077
- * [fix] removed has_shortcode() call
1078
-
1079
-
1080
- = version 1.2.1 =
1081
-
1082
- * [fix] Performance problem with wp_list_users()
1083
-
1084
-
1085
- = version 1.2 =
1086
-
1087
- * [fix] Subscription post publish
1088
- * [fix] Post delete fix in dashboard
1089
- * [fix] Silverlight in IE upload error
1090
- * [fix] Category checklist bug fix
1091
- * [new] Checkbox field in custom field
1092
-
1093
-
1094
- = version 1.1 =
1095
-
1096
- * warning for multisite fix
1097
- * allow category bug fix
1098
- * fix ajaxurl in ajaxified category
1099
- * custom post type dropdown fix in admin
1100
- * post date bug fix
1101
- * category dropdown fix
1102
-
1103
-
1104
- = version 1.0 =
1105
-
1106
- * Admin panel converted to settings API
1107
- * Ajax featured Image uploader added (using plupload)
1108
- * Ajax attachment uploader added (using plupload)
1109
- * Rich/full/normal text editor mode
1110
- * Editor button fix on twentyelven theme
1111
- * Massive Code rewrite and cleanup
1112
- * Dashboard replaced with WordPress loop
1113
- * Output buffering added for header already sent warning
1114
- * Redirect user on deleting a post
1115
- * Category checklist added
1116
- * Post publish date fix and post expirator changed from hours to day
1117
- * Subscription and payment rewrite. Extra payment gateways can be added as plugin
1118
- * Other payment currency added
1119
-
1120
-
1121
- = version 0.7 =
1122
-
1123
- * admin ui improved
1124
- * updated new post notification mail template
1125
- * custom fields and attachment show/hide in posts
1126
- * post edit link override option
1127
- * ajax "posting..." changed
1128
- * attachment fields restriction in edit page
1129
- * localized ajaxurl and posting message
1130
- * improved action hooks and filter hooks
1131
-
1132
-
1133
- = version 0.6 =
1134
-
1135
- * fixed error on attachment delete
1136
- * added styles on dashboard too
1137
- * fixed custom field default dropdown
1138
- * fixed output buffering for add_post/edit_post/dashboard/profile pages
1139
- * admin panel scripts are added wp_enqueue_script instead of echo
1140
- * fixed admin panel block logic
1141
- * filter hook added on edit post for post args
1142
-
1143
-
1144
- = version 0.5 =
1145
-
1146
- * filters on add posting page for blocking the post capa
1147
- * subscription pack id added on user meta upon purchase
1148
- * filters on add posting page for blocking the post capa
1149
- * option for force pack purchase on add post. dropdown p
1150
- * subscription info on profile edit page
1151
- * post direction fix after payment
1152
- * filter added on form builder
1153
-
1154
-
1155
- = version 0.4 =
1156
-
1157
- * missing custom meta field added on edit post form
1158
- * jQuery validation added on edit post form
1159
-
1160
-
1161
- = version 0.3 =
1162
-
1163
- * rich/plain text on/off fixed
1164
- * ajax chained category added on add post form
1165
- * missing action added on edit post form
1166
- * stripslashes on admin/frontend meta field
1167
- * 404 error fix on add post
1168
-
1169
-
1170
- = version 0.2 =
1171
-
1172
- * Admin settings page has been improved
1173
- * Header already sent warning messages has been fixed
1174
- * Now you can add custom post meta from the settings page
1175
- * A new pay per post and subscription based posting options has been introduced (Only paypal is supported now)
1176
- * You can upload attachment with post
1177
- * WYSIWYG editor has been added
1178
- * You can add and manage your users from frontend now (only having the capability to edit_users )
1179
- * Some action and filters has been added for developers to add their custom form elements and validation
1180
- * Pagination added in post dashboard
1181
- * You can use the form to accept "custom post type" posts. e.g: [wpuf_addpost post_type="event"]. It also applies for showing post on dashboard like "[wpuf_dashboard post_type="event"]"
1182
- * Changing the form labels of the add post form is now possible from admin panel.
1183
- * The edit post page setting is changed from URL to page select dropdown.
1184
- * You can lock certain users from posting from their edit profile page.
1185
-
1186
  == Upgrade Notice ==
1187
 
1188
  = 2.3 =
1
  === WP User Frontend - Membership, Profile, Registration & Post Submission Plugin for WordPress ===
2
  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.5.1
7
  Requires PHP: 5.6
8
+ Stable tag: 3.5.0
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
182
  Check out the <a href="https://wedevs.com/wp-user-frontend-pro/pricing/">full feature list and pricing plans here.</a> of the Pro version.
183
 
184
  = Checkout Our Other Products =
185
+ * [ReCaptcha Integration for WordPress](https://wordpress.org/plugins/wp-recaptcha-integration/)
186
  * [WP ERP](https://wperp.com/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+ERP)
187
  * [Dokan - Multivendor Plugin](https://wedevs.com/dokan/?utm_medium=referral&utm_source=wporg&utm_campaign=WP+ERP+Readme&utm_content=Dokan)
188
  * [WP Project Manager](https://wedevs.com/wp-project-manager-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WP+ERP+Readme&utm_content=WP+Project+Manager)
261
  First you need to go to the dashboard, then when you click "edit", you'll be
262
  redirected to the edit page with that post id. Then you'll see the edit post form.
263
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  == Upgrade Notice ==
265
 
266
  = 2.3 =
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.4.0
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.4.0' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', __DIR__ );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
@@ -278,6 +278,8 @@ final class WP_User_Frontend {
278
  include_once WPUF_ROOT . '/includes/class-gutenblock.php';
279
  include_once WPUF_ROOT . '/includes/class-form-preview.php';
280
  include_once WPUF_ROOT . '/includes/class-customizer.php';
 
 
281
 
282
  if ( class_exists( 'WeDevs_Dokan' ) ) {
283
  require_once WPUF_ROOT . '/includes/class-dokan-integration.php';
@@ -347,6 +349,7 @@ final class WP_User_Frontend {
347
  $this->container['preview'] = new WPUF_Form_Preview();
348
  $this->container['block'] = new WPUF_Form_Block();
349
  $this->container['customize'] = new WPUF_Customizer_Options();
 
350
 
351
  if ( class_exists( 'WeDevs_Dokan' ) ) {
352
  $this->container['dokan_integration'] = new WPUF_Dokan_Integration();
4
  Plugin URI: https://wordpress.org/plugins/wp-user-frontend/
5
  Description: Create, edit, delete, manages your post, pages or custom post types from frontend. Create registration forms, frontend profile and more...
6
  Author: weDevs
7
+ Version: 3.5.0
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.0' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', __DIR__ );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
278
  include_once WPUF_ROOT . '/includes/class-gutenblock.php';
279
  include_once WPUF_ROOT . '/includes/class-form-preview.php';
280
  include_once WPUF_ROOT . '/includes/class-customizer.php';
281
+ include_once WPUF_ROOT . '/includes/log/class-log.php';
282
+ include_once WPUF_ROOT . '/includes/log/class-log-wpdb-query.php';
283
 
284
  if ( class_exists( 'WeDevs_Dokan' ) ) {
285
  require_once WPUF_ROOT . '/includes/class-dokan-integration.php';
349
  $this->container['preview'] = new WPUF_Form_Preview();
350
  $this->container['block'] = new WPUF_Form_Block();
351
  $this->container['customize'] = new WPUF_Customizer_Options();
352
+ $this->container['log'] = new WPUF_Log();
353
 
354
  if ( class_exists( 'WeDevs_Dokan' ) ) {
355
  $this->container['dokan_integration'] = new WPUF_Dokan_Integration();