mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00: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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user