Pings/trackbacks: Apply KSES to all trackbacks.

Props dd32, xknown, martinkrcho, peterwilsoncc.

Built from https://develop.svn.wordpress.org/trunk@54525


git-svn-id: http://core.svn.wordpress.org/trunk@54080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-10-17 11:22:11 +00:00
parent b7f48d4cb4
commit 969ed1aaf9
2 changed files with 4 additions and 1 deletions

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.1-RC1-54524'; $wp_version = '6.1-RC1-54525';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

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