mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 23:24:34 +00:00
Pings/trackbacks: Apply KSES to all trackbacks.
Props dd32, xknown, martinkrcho, peterwilsoncc. git-svn-id: https://develop.svn.wordpress.org/trunk@54525 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user