Coding Standards: Escape the home URL in the "Background updated. Visit your site" message.
This affects `Custom_Background::admin_page()`. Follow-up to [13041], [45662], [53642]. Props robinwpdeveloper, sajjad67, rudlinkon, hztyfoon, costdev. Fixes #56133. Built from https://develop.svn.wordpress.org/trunk@53643 git-svn-id: http://core.svn.wordpress.org/trunk@53202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
eb08ad9160
commit
e70ac7004c
|
@ -250,7 +250,7 @@ class Custom_Background {
|
|||
<p>
|
||||
<?php
|
||||
/* translators: %s: Home URL. */
|
||||
printf( __( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) );
|
||||
printf( __( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ), esc_url( home_url( '/' ) ) );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.1-alpha-53642';
|
||||
$wp_version = '6.1-alpha-53643';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue