mirror of
git://develop.git.wordpress.org/
synced 2025-04-04 12:12:41 +02:00
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:
parent
a3deb1ef5e
commit
e5ced7955a
@ -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.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user