Posts, Post types: Apply KSES to post-by-email content.

Props voldemortensen, johnbillion, paulkevan, peterwilsoncc, xknown, dd32, audrasjb.

Built from https://develop.svn.wordpress.org/branches/6.0@54531


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-10-17 12:05:11 +00:00
parent 8a85e9012a
commit cb9fadb9f3
2 changed files with 4 additions and 1 deletions

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0.3-alpha-54512';
$wp_version = '6.0.3-alpha-54531';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -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 );