Working with newer WP releases
-
Good morning,
If you want to use this abandoned plugin, you can still make it work. Avoiding the gory details, I changed the send_mail function in the bbpress-post-via-mail/library/pvm/Connector/bbPress.php file.
The result is a link in the email body that goes back to your site via Postmark and is properly handled and posted.
The area of change was near the end of the function. I changed the wp_mail call and added a little something. Code snippet below (2 lines of code – 1 new – 1 modified)
If you want to be able to reply to forums via email, I have found no other option.
Good luck! Bryan
// ADDED replystring and modified the wp_mail call to make the reply to address show up in the email body
$replystring = ‘To reply to the forum, click on this link: ?subject=’.$subj.'” target=”_top”>Reply To Forum‘;
wp_mail( $to, $subj, nl2br($replystring.”\r\n\n”.$data.”\r\n\n”.$replystring.$notices[$user->ID]), $header, $attachments );
- The topic ‘Working with newer WP releases’ is closed to new replies.