Can you add a another defined value to handle this issue?
//*** add in wp-contact-form-7.php
if ( ! defined( 'WPCF7_AUTOP_EMAIL_BODY' ) ) {
define( 'WPCF7_AUTOP_EMAIL_BODY', true );
}
//*** modify the compose() function in mail.php on line 51:
$body = $this->replace_tags( $template['body'], true );
if( WPCF7_AUTOP_EMAIL_BODY ) {
$body = wpautop( $body );
}
-
This reply was modified 8 years ago by creativeround. Reason: code indentation fix
-
This reply was modified 8 years ago by creativeround. Reason: code indentation fix