Pings/trackbacks: Apply KSES to all trackbacks.

Props dd32, xknown, martinkrcho, peterwilsoncc.
Merges [54525] to the 6.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54535 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-10-17 12:27:09 +00:00
parent a3deb1ef5e
commit e5ced7955a

View File

@ -13,6 +13,9 @@ if ( empty( $wp ) ) {
wp( array( 'tb' => '1' ) );
}
// Always run as an unauthenticated user.
wp_set_current_user( 0 );
/**
* Response to a trackback.
*