lgladdy
Member
Posted 11 months ago #
Hey guys,
Line 26 of grunion-contact-form.php generates a php notice when displayed.
The fix is to change line 26 to:
if (!isset($_REQUEST['action']) || $_REQUEST['action'] != 'grunion_shortcode_to_json' ) {
Just a heads up so you can include it in your next release for those of us pedantic enough to code against E_ALL | E_STRICT
http://wordpress.org/extend/plugins/grunion-contact-form/
Can you take a look at Grunion -trunk - http://plugins.trac.wordpress.org/browser/grunion-contact-form/trunk - and see if this still applies.
MattV
Member
Posted 10 months ago #
@Joseph: for me the PHP error notice on line 26 disappeared when using this updated code from the trunk:
if ( empty( $_REQUEST['action'] ) || $_REQUEST['action'] != 'grunion_shortcode_to_json' ) {
wp_print_styles( 'grunion.css' );
}
(I´ve copied these lines to the plugin file grunion-contact-form.php)