Make WordPress Core

Changeset 54521


Ignore:
Timestamp:
10/17/2022 11:00:27 AM (2 years ago)
Author:
audrasjb
Message:

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-mail.php

    r52978 r54521  
    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.