Version Description
- Fixed conflict with Gutenberg editor
Download this release
Release Info
Developer | codepeople |
Plugin | Contact Form Email |
Version | 1.2.58 |
Comparing to | |
See all releases |
Code changes from version 1.2.57 to 1.2.58
- README.txt +5 -2
- banner.php +3 -0
- bannerdk.php +3 -0
- form-to-email.php +1 -1
README.txt
CHANGED
@@ -455,6 +455,9 @@ When you click a field already added into the contact form builder area, you can
|
|
455 |
== Changelog ==
|
456 |
|
457 |
|
|
|
|
|
|
|
458 |
= 1.2.57 =
|
459 |
* Fix to Gutenberg integration
|
460 |
|
@@ -933,5 +936,5 @@ When you click a field already added into the contact form builder area, you can
|
|
933 |
|
934 |
== Upgrade Notice ==
|
935 |
|
936 |
-
= 1.2.
|
937 |
-
*
|
455 |
== Changelog ==
|
456 |
|
457 |
|
458 |
+
= 1.2.58 =
|
459 |
+
* Fixed conflict with Gutenberg editor
|
460 |
+
|
461 |
= 1.2.57 =
|
462 |
* Fix to Gutenberg integration
|
463 |
|
936 |
|
937 |
== Upgrade Notice ==
|
938 |
|
939 |
+
= 1.2.58 =
|
940 |
+
* Fixed conflict with Gutenberg editor
|
banner.php
CHANGED
@@ -9,6 +9,9 @@ if(!function_exists( 'codepeople_add_promote_banner' ))
|
|
9 |
|
10 |
if( empty($codepeople_promote_banner_plugins) || !is_admin() ) return;
|
11 |
|
|
|
|
|
|
|
12 |
// Take action over the banner
|
13 |
if(isset($_POST['codepeople_promote_banner_nonce']) && wp_verify_nonce($_POST['codepeople_promote_banner_nonce'], __FILE__))
|
14 |
{
|
9 |
|
10 |
if( empty($codepeople_promote_banner_plugins) || !is_admin() ) return;
|
11 |
|
12 |
+
$screen = get_current_screen();
|
13 |
+
if ( ($screen->post_type == 'page' || $screen->post_type == 'post') && $screen->base == 'post') return;
|
14 |
+
|
15 |
// Take action over the banner
|
16 |
if(isset($_POST['codepeople_promote_banner_nonce']) && wp_verify_nonce($_POST['codepeople_promote_banner_nonce'], __FILE__))
|
17 |
{
|
bannerdk.php
CHANGED
@@ -12,6 +12,9 @@ if(!function_exists( 'codepeople_add_promotecftedk_banner' ))
|
|
12 |
|
13 |
if( empty($codepeople_cftedk_banner_plugins) || !is_admin() ) return;
|
14 |
|
|
|
|
|
|
|
15 |
// Take action over the banner
|
16 |
if(isset($_POST['codepeople_cftedk_banner_nonce']) && wp_verify_nonce($_POST['codepeople_cftedk_banner_nonce'], __FILE__))
|
17 |
{
|
12 |
|
13 |
if( empty($codepeople_cftedk_banner_plugins) || !is_admin() ) return;
|
14 |
|
15 |
+
$screen = get_current_screen();
|
16 |
+
if ( ($screen->post_type == 'page' || $screen->post_type == 'post') && $screen->base == 'post') return;
|
17 |
+
|
18 |
// Take action over the banner
|
19 |
if(isset($_POST['codepeople_cftedk_banner_nonce']) && wp_verify_nonce($_POST['codepeople_cftedk_banner_nonce'], __FILE__))
|
20 |
{
|
form-to-email.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Contact Form Email
|
4 |
Plugin URI: https://form2email.dwbooster.com/download
|
5 |
Description: Contact form that sends the data to email and also to a database list and CSV file.
|
6 |
-
Version: 1.2.
|
7 |
Author: CodePeople
|
8 |
Author URI: https://form2email.dwbooster.com
|
9 |
Text Domain: contact-form-to-email
|
3 |
Plugin Name: Contact Form Email
|
4 |
Plugin URI: https://form2email.dwbooster.com/download
|
5 |
Description: Contact form that sends the data to email and also to a database list and CSV file.
|
6 |
+
Version: 1.2.58
|
7 |
Author: CodePeople
|
8 |
Author URI: https://form2email.dwbooster.com
|
9 |
Text Domain: contact-form-to-email
|