From 42c9882b4696c7d6b294ff32158dae13a3cdcc5e Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 24 Aug 2023 09:32:21 +0000 Subject: [PATCH] Revisions: Add missing escaping function for `$post_edit_link` in `wp-admin/revision.php`. Props nidhidhandhukiya, Presskopp, mukesh27, rajinsharwar, costdev. Fixes #59141. Built from https://develop.svn.wordpress.org/trunk@56437 git-svn-id: http://core.svn.wordpress.org/trunk@55949 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/revision.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/revision.php b/wp-admin/revision.php index 458a749262..72b8e74ae2 100644 --- a/wp-admin/revision.php +++ b/wp-admin/revision.php @@ -104,10 +104,10 @@ switch ( $action ) { } $post_edit_link = get_edit_post_link(); - $post_title = '' . _draft_or_post_title() . ''; + $post_title = '' . _draft_or_post_title() . ''; /* translators: %s: Post title. */ $h1 = sprintf( __( 'Compare Revisions of “%s”' ), $post_title ); - $return_to_post = '' . __( '← Go to editor' ) . ''; + $return_to_post = '' . __( '← Go to editor' ) . ''; // Used in the HTML title tag. $title = __( 'Revisions' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 51c45d9394..25129a3633 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56436'; +$wp_version = '6.4-alpha-56437'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.