mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@53643 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8280a7ac9a
commit
923fe535b4
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user