错误提示
升级插件Contact Form至7.0后,收到如下提示:
- This email address does not belong to the same domain as the site.
查询官网
重点看这段:
I understand the importance of validating configuration, but I have compelling reasons to avoid it. Is it possible to disable the configuration validator?
You can disable the configuration validator by adding:
define( 'WPCF7_VALIDATE_CONFIGURATION', false );
to your wp-config.php, or adding:
add_filter( 'wpcf7_validate_configuration', '__return_false' );
- to your theme’s functions.php.
解决:
进入插件所在目录: /home/wwwroot/xxx.com/wp-content/themes/Avada
编辑functions.php
加入:
add_filter( 'wpcf7_validate_configuration', '__return_false' );