Skip to content

Commit a32cc54

Browse files
authored
Merge pull request #152 from BoldGrid/1.6.12-rc-1
1.6.12 rc 1
2 parents 91a8f42 + 5d97313 commit a32cc54

File tree

10 files changed

+31
-20
lines changed

10 files changed

+31
-20
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# weForms - Easy Drag & Drop Contact Form Builder For WordPress #
2-
**Contributors:** [tareq1988](https://profiles.wordpress.org/tareq1988), [nizamuddinbabu](https://profiles.wordpress.org/nizamuddinbabu), [boldgrid](https://profiles.wordpress.org/boldgrid), [joemoto](https://profiles.wordpress.org/joemoto), [jamesros161](https://profiles.wordpress.org/jamesros161)
2+
**Contributors:** [tareq1988](https://profiles.wordpress.org/tareq1988), [nizamuddinbabu](https://profiles.wordpress.org/nizamuddinbabu), [boldgrid](https://profiles.wordpress.org/boldgrid), [joemoto](https://profiles.wordpress.org/joemoto), [jamesros161](https://profiles.wordpress.org/jamesros161), [avonville1](https://profiles.wordpress.org/avonville1)
33
**Tags:** forms, contact form, contact form plugin, custom form, form builder, form, form creator, form manager, form creation, contact forms, custom forms, forms builder, forms creator, forms manager, forms creation
44
**Requires at least:** 4.4
55
**Requires PHP:** 5.6.20
6-
**Tested up to:** 5.7
7-
**Stable tag:** 1.6.11
6+
**Tested up to:** 5.9
7+
**Stable tag:** 1.6.12
88
**License:** GPLv2 or later
99
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -249,6 +249,9 @@ weForms is the most beginner friendly and fastest WordPress contact form plugin
249249

250250
## Changelog ##
251251

252+
### Version 1.6.12 (26 January, 2022) ###
253+
* **Fix:** Fixes form previews when using block based themes.
254+
252255
### Version 1.6.11 (05 January, 2022) ###
253256
* **Fix:** Fixes fatal error in translator.
254257

assets/js/spa-app.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
'use strict';
22

3-
var _typeof10 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
3+
var _typeof11 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
4+
5+
var _typeof10 = typeof Symbol === "function" && _typeof11(Symbol.iterator) === "symbol" ? function (obj) {
6+
return typeof obj === "undefined" ? "undefined" : _typeof11(obj);
7+
} : function (obj) {
8+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof11(obj);
9+
};
410

511
var _typeof9 = typeof Symbol === "function" && _typeof10(Symbol.iterator) === "symbol" ? function (obj) {
612
return typeof obj === "undefined" ? "undefined" : _typeof10(obj);

assets/js/spa-app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

includes/admin/class-gutenblock.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public function weforms_form_block() {
6565
'siteUrl' => get_home_url(),
6666
'block_logo' => $block_logo,
6767
'thumbnail_logo' => $thumbnail_logo,
68-
'did_wp_head_run' => $did_wp_head_run,
6968
) );
7069
wp_enqueue_style( 'weforms-forms-block-style' );
7170
wp_enqueue_style( 'weforms-forms-block-editor' );

includes/class-form-preview.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ public function pre_get_posts( $query ) {
133133
/**
134134
* Use page template types.
135135
*
136-
* Instead of just locating one page template with the highest priority,
137-
* we are going to look for any page template that matches 'page.php', 'single.php' or 'index.php'.
138-
* This resolves issues with Block Based themes that do not have a index.php.
136+
* Instead of manually locating one page template with the highest priority,
137+
* we are going to use the template hierarchy hooks to render the highest priority template.
138+
* This resolves issues with Block theme's templating.
139139
*
140140
* @since 1.6.12
141141
* @param array $templates The list of templates in descending order of priority from WordPress.

languages/weforms.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# This file is distributed under the GPL2 or later.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: weForms 1.6.11\n"
5+
"Project-Id-Version: weForms 1.6.12\n"
66
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7-
"POT-Creation-Date: 2022-01-06 15:20:17+00:00\n"
7+
"POT-Creation-Date: 2022-01-26 17:52:54+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "weForms",
33
"author": "BoldGrid",
4-
"version": "1.6.11",
4+
"version": "1.6.12",
55
"license": "GPL-2.0",
66
"repository": {
77
"type": "git",

readme.txt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
=== weForms - Easy Drag & Drop Contact Form Builder For WordPress ===
2-
Contributors: tareq1988, nizamuddinbabu, boldgrid, joemoto, jamesros161
2+
Contributors: tareq1988, nizamuddinbabu, boldgrid, joemoto, jamesros161, avonville1
33
Tags: forms, contact form, contact form plugin, custom form, form builder, form, form creator, form manager, form creation, contact forms, custom forms, forms builder, forms creator, forms manager, forms creation
4-
Requires at least: 4.4
5-
Requires PHP: 5.6.20
6-
Tested up to: 5.7
7-
Stable tag: 1.6.11
4+
Requires at least: 5.0
5+
Requires PHP: 7.2
6+
Tested up to: 5.9
7+
Stable tag: 1.6.12
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -237,6 +237,9 @@ weForms is the most beginner friendly and fastest WordPress contact form plugin
237237

238238
== Changelog ==
239239

240+
= Version 1.6.12 (26 January, 2022) =
241+
* **Fix:** Fixes form previews when using block based themes.
242+
240243
= Version 1.6.11 (05 January, 2022) =
241244
* **Fix:** Fixes fatal error in translator.
242245

weforms.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Plugin URI: https://weformspro.com/
66
* Author: weForms
77
* Author URI: https://weformspro.com/
8-
* Version: 1.6.11
8+
* Version: 1.6.12
99
* License: GPL2 or later
1010
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
1111
* Text Domain: weforms
@@ -55,7 +55,7 @@ final class WeForms {
5555
*
5656
* @var string
5757
*/
58-
public $version = '1.6.11';
58+
public $version = '1.6.12';
5959

6060
/**
6161
* Form field value seperator

0 commit comments

Comments
 (0)