mirror of
git://develop.git.wordpress.org/
synced 2025-02-23 16:15:31 +01:00
Posts, Post types: Apply KSES to post-by-email content.
Props voldemortensen, johnbillion, paulkevan, peterwilsoncc, xknown, dd32, audrasjb. git-svn-id: https://develop.svn.wordpress.org/trunk@54521 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
49da4afcf0
commit
abf236fdaf
@ -65,6 +65,9 @@ if ( 0 === $count ) {
|
||||
wp_die( __( 'There does not seem to be any new mail.' ) );
|
||||
}
|
||||
|
||||
// Always run as an unauthenticated user.
|
||||
wp_set_current_user( 0 );
|
||||
|
||||
for ( $i = 1; $i <= $count; $i++ ) {
|
||||
|
||||
$message = $pop3->get( $i );
|
||||
|
Loading…
x
Reference in New Issue
Block a user