mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
Coding Standards: Escape the home URL in the "Header updated. Visit your site" message.
This affects `Custom_Image_Header::step_1()`. Follow-up to [12890], [45654]. Props jakariaistauk, rudlinkon, hztyfoon, costdev. Fixes #56132. git-svn-id: https://develop.svn.wordpress.org/trunk@53642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c98a714764
commit
8280a7ac9a
@ -521,7 +521,7 @@ class Custom_Image_Header {
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s: Home URL. */
|
||||
printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) );
|
||||
printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), esc_url( home_url( '/' ) ) );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user