Add a filter to allow post-by-email plugins better control over the content.

git-svn-id: http://svn.automattic.com/wordpress/trunk@10412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-01-22 22:31:27 +00:00
parent c9c4d306ef
commit 48f9d53e41
1 changed files with 6 additions and 2 deletions

View File

@ -156,6 +156,10 @@ for ( $i = 1; $i <= $count; $i++ ) {
}
$content = trim($content);
//Give Post-By-Email extending plugins full access to the content
//Either the raw content or the content of the last quoted-printable section
$content = apply_filters('wp_mail_original_content', $content);
if ( false !== stripos($content_transfer_encoding, "quoted-printable") ) {
$content = quoted_printable_decode($content);
}