Make WordPress Core

Changeset 54531


Ignore:
Timestamp:
10/17/2022 12:03:36 PM (4 years ago)
Author:
audrasjb
Message:

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

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

Location:
branches/6.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.0

  • branches/6.0/src/wp-mail.php

    r52978 r54531  
    6565        wp_die( __( 'There does not seem to be any new mail.' ) );
    6666}
     67
     68// Always run as an unauthenticated user.
     69wp_set_current_user( 0 );
    6770
    6871for ( $i = 1; $i <= $count; $i++ ) {
Note: See TracChangeset for help on using the changeset viewer.