Everest Forms – Easy Contact Form and Form Builder - Version 1.7.5.2

Version Description

  • 19-06-2021 =
  • Fix - Permission issue with file upload on frontend.
  • Fix - Dropdown field value not displayed on view entry page.
Download this release

Release Info

Developer everestforms
Plugin Icon 128x128 Everest Forms – Easy Contact Form and Form Builder
Version 1.7.5.2
Comparing to
See all releases

Code changes from version 1.7.5.1 to 1.7.5.2

assets/js/admin/gutenberg/form-block.min.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";var e={},t=(wp.i18n.__,wp.element.createElement),o=wp.blocks.registerBlockType,r=wp.blockEditor.InspectorControls,l=wp.serverSideRender,i=wp.components,n=i.PanelBody,s=i.SelectControl,a=i.ToggleControl,c=i.Placeholder,f=t("svg",{width:24,height:24,viewBox:"0 0 24 24"},t("path",{fill:"currentColor",d:"M18.1 4h-3.8l1.2 2h3.9zM20.6 8h-3.9l1.2 2h3.9zM20.6 18H5.8L12 7.9l2.5 4.1H12l-1.2 2h7.3L12 4.1 2.2 20h19.6z"}));for(var d in o("everest-forms/form-selector",{title:evf_form_block_data.i18n.title,icon:f,category:"widgets",keywords:evf_form_block_data.i18n.form_keywords,description:evf_form_block_data.i18n.description,attributes:{formId:{type:"string"},displayTitle:{type:"boolean"},displayDescription:{type:"boolean"}},edit:function(e){var o,i=e.attributes,d=i.formId,_=void 0===d?"":d,p=i.displayTitle,u=void 0!==p&&p,m=i.displayDescription,v=void 0!==m&&m,b=e.setAttributes,h=evf_form_block_data.forms.map((function(e){return{value:e.ID,label:e.post_title}}));function g(e){b({formId:e})}return h.unshift({value:"",label:evf_form_block_data.i18n.form_select}),o=[t(r,{key:"evf-gutenberg-form-selector-inspector-controls"},t(n,{title:evf_form_block_data.i18n.form_settings},t(s,{label:evf_form_block_data.i18n.form_selected,value:_,options:h,onChange:g}),t(a,{label:evf_form_block_data.i18n.show_title,checked:u,onChange:function(e){b({displayTitle:e})}}),t(a,{label:evf_form_block_data.i18n.show_description,checked:v,onChange:function(e){b({displayDescription:e})}})))],_?o.push(t(l,{key:"evf-gutenberg-form-selector-server-side-renderer",block:"everest-forms/form-selector",attributes:e.attributes})):o.push(t(c,{key:"evf-gutenberg-form-selector-wrap",icon:f,instructions:evf_form_block_data.i18n.title,className:"everest-form-gutenberg-form-selector-wrap"},t(s,{key:"evf-gutenberg-form-selector-select-control",value:_,options:h,onChange:g}))),o},save:function(){return null}}),e)this[d]=e[d];e.__esModule&&Object.defineProperty(this,"__esModule",{value:!0})}();
1
+ !function(){"use strict";var e={};const{__:t}=wp.i18n,{createElement:o}=wp.element,{registerBlockType:r}=wp.blocks,{InspectorControls:l}=wp.blockEditor,{serverSideRender:s}=wp,{PanelBody:i,SelectControl:n,ToggleControl:a,Placeholder:c}=wp.components,f=o("svg",{width:24,height:24,viewBox:"0 0 24 24"},o("path",{fill:"currentColor",d:"M18.1 4h-3.8l1.2 2h3.9zM20.6 8h-3.9l1.2 2h3.9zM20.6 18H5.8L12 7.9l2.5 4.1H12l-1.2 2h7.3L12 4.1 2.2 20h19.6z"}));for(var _ in r("everest-forms/form-selector",{title:evf_form_block_data.i18n.title,icon:f,category:"widgets",keywords:evf_form_block_data.i18n.form_keywords,description:evf_form_block_data.i18n.description,attributes:{formId:{type:"string"},displayTitle:{type:"boolean"},displayDescription:{type:"boolean"}},edit(e){const{attributes:{formId:t="",displayTitle:r=!1,displayDescription:_=!1},setAttributes:d}=e,p=evf_form_block_data.forms.map((e=>({value:e.ID,label:e.post_title})));let m;function b(e){d({formId:e})}return p.unshift({value:"",label:evf_form_block_data.i18n.form_select}),m=[o(l,{key:"evf-gutenberg-form-selector-inspector-controls"},o(i,{title:evf_form_block_data.i18n.form_settings},o(n,{label:evf_form_block_data.i18n.form_selected,value:t,options:p,onChange:b}),o(a,{label:evf_form_block_data.i18n.show_title,checked:r,onChange:function(e){d({displayTitle:e})}}),o(a,{label:evf_form_block_data.i18n.show_description,checked:_,onChange:function(e){d({displayDescription:e})}})))],t?m.push(o(s,{key:"evf-gutenberg-form-selector-server-side-renderer",block:"everest-forms/form-selector",attributes:e.attributes})):m.push(o(c,{key:"evf-gutenberg-form-selector-wrap",icon:f,instructions:evf_form_block_data.i18n.title,className:"everest-form-gutenberg-form-selector-wrap"},o(n,{key:"evf-gutenberg-form-selector-select-control",value:t,options:p,onChange:b}))),m},save:()=>null}),e)this[_]=e[_];e.__esModule&&Object.defineProperty(this,"__esModule",{value:!0})}();
everest-forms.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Everest Forms
4
  * Plugin URI: https://wpeverest.com/wordpress-plugins/everest-forms/
5
  * Description: Drag and Drop contact form builder to easily create simple to complex forms for any purpose. Lightweight, Beautiful design, responsive and more.
6
- * Version: 1.7.5.1
7
  * Author: WPEverest
8
  * Author URI: https://wpeverest.com
9
  * Text Domain: everest-forms
3
  * Plugin Name: Everest Forms
4
  * Plugin URI: https://wpeverest.com/wordpress-plugins/everest-forms/
5
  * Description: Drag and Drop contact form builder to easily create simple to complex forms for any purpose. Lightweight, Beautiful design, responsive and more.
6
+ * Version: 1.7.5.2
7
  * Author: WPEverest
8
  * Author URI: https://wpeverest.com
9
  * Text Domain: everest-forms
includes/admin/views/html-admin-page-entries-view.php CHANGED
@@ -69,7 +69,9 @@ $trash_link = wp_nonce_url(
69
  // Check for empty serialized value.
70
  if ( is_serialized( $meta_value ) ) {
71
  $raw_meta_val = unserialize( $meta_value ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize
72
- if ( empty( $raw_meta_val['label'][0] ) ) {
 
 
73
  $meta_value = '';
74
  }
75
  }
69
  // Check for empty serialized value.
70
  if ( is_serialized( $meta_value ) ) {
71
  $raw_meta_val = unserialize( $meta_value ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize
72
+ if ( preg_match( '/dropdown_/', $meta_key ) && empty( $raw_meta_val[0] ) ) {
73
+ $meta_value = '';
74
+ } elseif ( ! preg_match( '/dropdown_/', $meta_key ) && empty( $raw_meta_val['label'][0] ) ) {
75
  $meta_value = '';
76
  }
77
  }
includes/class-everest-forms.php CHANGED
@@ -21,7 +21,7 @@ final class EverestForms {
21
  *
22
  * @var string
23
  */
24
- public $version = '1.7.5.1';
25
 
26
  /**
27
  * The single instance of the class.
21
  *
22
  * @var string
23
  */
24
+ public $version = '1.7.5.2';
25
 
26
  /**
27
  * The single instance of the class.
includes/class-evf-form-handler.php CHANGED
@@ -31,7 +31,7 @@ class EVF_Form_Handler {
31
  return false;
32
  }
33
 
34
- if ( ! isset( $args['cap'] ) && is_admin() ) {
35
  $args['cap'] = 'everest_forms_view_form';
36
  }
37
 
@@ -544,9 +544,9 @@ class EVF_Form_Handler {
544
  *
545
  * @since 1.0.0
546
  *
547
- * @param int $form_id Form ID.
548
- * @param string $field Field.
549
- * @param array $args Additional arguments.
550
  *
551
  * @return bool
552
  */
31
  return false;
32
  }
33
 
34
+ if ( ! isset( $args['cap'] ) && ( is_admin() && ! wp_doing_ajax() ) ) {
35
  $args['cap'] = 'everest_forms_view_form';
36
  }
37
 
544
  *
545
  * @since 1.0.0
546
  *
547
+ * @param int $form_id Form ID.
548
+ * @param string $field_id Field.
549
+ * @param array $args Additional arguments.
550
  *
551
  * @return bool
552
  */
languages/everest-forms.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Everest Forms plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Everest Forms 1.7.5.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/everest-forms\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2021-06-18T08:27:15+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: everest-forms\n"
@@ -1211,7 +1211,7 @@ msgid "Field"
1211
  msgstr ""
1212
 
1213
  #: includes/admin/class-evf-admin-entries-table-list.php:299
1214
- #: includes/admin/views/html-admin-page-entries-view.php:212
1215
  #: includes/admin/views/html-admin-page-tools-logs.php:33
1216
  msgid "View"
1217
  msgstr ""
@@ -1434,7 +1434,7 @@ msgstr[0] ""
1434
  msgstr[1] ""
1435
 
1436
  #: includes/admin/class-evf-admin-forms-table-list.php:436
1437
- #: includes/admin/views/html-admin-page-entries-view.php:232
1438
  msgid "Move to trash"
1439
  msgstr ""
1440
 
@@ -1895,7 +1895,7 @@ msgid "Add-ons list"
1895
  msgstr ""
1896
 
1897
  #: includes/admin/views/html-admin-page-addons.php:77
1898
- #: includes/admin/views/html-admin-page-entries-view.php:219
1899
  msgid "Status:"
1900
  msgstr ""
1901
 
@@ -2038,48 +2038,48 @@ msgstr ""
2038
  msgid "This entry does not have any fields."
2039
  msgstr ""
2040
 
2041
- #: includes/admin/views/html-admin-page-entries-view.php:99
2042
  msgid "Field ID"
2043
  msgstr ""
2044
 
2045
- #: includes/admin/views/html-admin-page-entries-view.php:140
2046
  msgid "Empty"
2047
  msgstr ""
2048
 
2049
- #: includes/admin/views/html-admin-page-entries-view.php:157
2050
  msgid "Entry Details"
2051
  msgstr ""
2052
 
2053
- #: includes/admin/views/html-admin-page-entries-view.php:163
2054
  msgid "Entry ID:"
2055
  msgstr ""
2056
 
2057
- #: includes/admin/views/html-admin-page-entries-view.php:169
2058
  msgid "Submitted:"
2059
  msgstr ""
2060
 
2061
- #: includes/admin/views/html-admin-page-entries-view.php:170
2062
- #: includes/admin/views/html-admin-page-entries-view.php:177
2063
  msgid "M j, Y @ g:ia"
2064
  msgstr ""
2065
 
2066
- #: includes/admin/views/html-admin-page-entries-view.php:176
2067
  msgid "Modified:"
2068
  msgstr ""
2069
 
2070
- #: includes/admin/views/html-admin-page-entries-view.php:185
2071
  msgid "User:"
2072
  msgstr ""
2073
 
2074
- #: includes/admin/views/html-admin-page-entries-view.php:203
2075
  msgid "User IP:"
2076
  msgstr ""
2077
 
2078
- #: includes/admin/views/html-admin-page-entries-view.php:211
2079
  msgid "Referer Link:"
2080
  msgstr ""
2081
 
2082
- #: includes/admin/views/html-admin-page-entries-view.php:220
2083
  msgid "Completed"
2084
  msgstr ""
2085
 
2
  # This file is distributed under the same license as the Everest Forms plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Everest Forms 1.7.5.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/everest-forms\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2021-06-19T09:55:58+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: everest-forms\n"
1211
  msgstr ""
1212
 
1213
  #: includes/admin/class-evf-admin-entries-table-list.php:299
1214
+ #: includes/admin/views/html-admin-page-entries-view.php:214
1215
  #: includes/admin/views/html-admin-page-tools-logs.php:33
1216
  msgid "View"
1217
  msgstr ""
1434
  msgstr[1] ""
1435
 
1436
  #: includes/admin/class-evf-admin-forms-table-list.php:436
1437
+ #: includes/admin/views/html-admin-page-entries-view.php:234
1438
  msgid "Move to trash"
1439
  msgstr ""
1440
 
1895
  msgstr ""
1896
 
1897
  #: includes/admin/views/html-admin-page-addons.php:77
1898
+ #: includes/admin/views/html-admin-page-entries-view.php:221
1899
  msgid "Status:"
1900
  msgstr ""
1901
 
2038
  msgid "This entry does not have any fields."
2039
  msgstr ""
2040
 
2041
+ #: includes/admin/views/html-admin-page-entries-view.php:101
2042
  msgid "Field ID"
2043
  msgstr ""
2044
 
2045
+ #: includes/admin/views/html-admin-page-entries-view.php:142
2046
  msgid "Empty"
2047
  msgstr ""
2048
 
2049
+ #: includes/admin/views/html-admin-page-entries-view.php:159
2050
  msgid "Entry Details"
2051
  msgstr ""
2052
 
2053
+ #: includes/admin/views/html-admin-page-entries-view.php:165
2054
  msgid "Entry ID:"
2055
  msgstr ""
2056
 
2057
+ #: includes/admin/views/html-admin-page-entries-view.php:171
2058
  msgid "Submitted:"
2059
  msgstr ""
2060
 
2061
+ #: includes/admin/views/html-admin-page-entries-view.php:172
2062
+ #: includes/admin/views/html-admin-page-entries-view.php:179
2063
  msgid "M j, Y @ g:ia"
2064
  msgstr ""
2065
 
2066
+ #: includes/admin/views/html-admin-page-entries-view.php:178
2067
  msgid "Modified:"
2068
  msgstr ""
2069
 
2070
+ #: includes/admin/views/html-admin-page-entries-view.php:187
2071
  msgid "User:"
2072
  msgstr ""
2073
 
2074
+ #: includes/admin/views/html-admin-page-entries-view.php:205
2075
  msgid "User IP:"
2076
  msgstr ""
2077
 
2078
+ #: includes/admin/views/html-admin-page-entries-view.php:213
2079
  msgid "Referer Link:"
2080
  msgstr ""
2081
 
2082
+ #: includes/admin/views/html-admin-page-entries-view.php:222
2083
  msgid "Completed"
2084
  msgstr ""
2085
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: contact form, forms, form builder, contact, custom form
4
  Requires at least: 5.0
5
  Tested up to: 5.7
6
  Requires PHP: 5.4
7
- Stable tag: 1.7.5.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -155,6 +155,10 @@ Yes you can! Join in on our [GitHub repository](https://github.com/wpeverest/eve
155
 
156
  == Changelog ==
157
 
 
 
 
 
158
  = 1.7.5.1 - 18-06-2021 =
159
  * Fix - Permission issue with forms visibility on frontend.
160
 
4
  Requires at least: 5.0
5
  Tested up to: 5.7
6
  Requires PHP: 5.4
7
+ Stable tag: 1.7.5.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
155
 
156
  == Changelog ==
157
 
158
+ = 1.7.5.2 - 19-06-2021 =
159
+ * Fix - Permission issue with file upload on frontend.
160
+ * Fix - Dropdown field value not displayed on view entry page.
161
+
162
  = 1.7.5.1 - 18-06-2021 =
163
  * Fix - Permission issue with forms visibility on frontend.
164