Skip to content

Commit e1a36cb

Browse files
committed
Update comments and removed unused variables
1 parent 41e2ad2 commit e1a36cb

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
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)
3-
**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.12
8-
**License:** GPLv2 or later
9-
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html
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)
3+
**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.9
7+
**Stable tag:** 1.6.12
8+
**License:** GPLv2 or later
9+
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html
1010

1111
The easiest & fastest Contact Form on WordPress. Multiple templates, drag-&-drop live builder, submission listing, reCaptcha & more!
1212

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.

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
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
44
Requires at least: 4.4
55
Requires PHP: 5.6.20
6-
Tested up to: 5.7
6+
Tested up to: 5.9
77
Stable tag: 1.6.12
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html

0 commit comments

Comments
 (0)