I just wanted to follow up to say ‘me too’. The hook ‘enable_content_massage’ on ‘wp_mail’ turns the array passed to other functions filtering wp_mail to NULL, when it should include all of the info about the just-sent email. I haven’t delved into why this happens, but I’ve also had to remove the filter to make other plugins work.
Let me know if you have any questions!
Had to make the above edit also to fix gravity forms submission issues.
I had a similar problem with WP e-commerce plugin and have found the cause – the funcion “enable_content_massage” is added as a filter and therefore it should return the passing argument but it does not.
Open sb_root_relative_urls.php, find this:
static function enable_content_massage() {
//this is only called when an external feed is being called
//this lets the content filter know that we should convert root relative urls back in to absolute urls since
//some external sources don't understand the html spec
self::$massage = true;
//massage global post object
global $post;
$post->post_content = self::massage_external_content($post->post_content);
$post->post_excerpt= self::massage_external_content($post->post_excerpt);
}
and change it to this:
static function enable_content_massage($myarg) {
//this is only called when an external feed is being called
//this lets the content filter know that we should convert root relative urls back in to absolute urls since
//some external sources don't understand the html spec
self::$massage = true;
//massage global post object
global $post;
$post->post_content = self::massage_external_content($post->post_content);
$post->post_excerpt= self::massage_external_content($post->post_excerpt);
return $myarg;
}
i.e. add a $myarg argument to the function header and return it in the end. This should do the trick.