mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-02 22:48:12 +01:00
Coding Standards: Use esc_url()
for comment author URL in Edit Comment form.
Follow-up to [5543], [9436], [11104], [11204], [11739]. Props hiteshhuptechweb, sabernhardt. Fixes #62373. Built from https://develop.svn.wordpress.org/trunk@59388 git-svn-id: http://core.svn.wordpress.org/trunk@58774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e2025a078c
commit
417fb21204
@ -68,7 +68,7 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="first"><label for="newcomment_author_url"><?php _e( 'URL' ); ?></label></td>
|
<td class="first"><label for="newcomment_author_url"><?php _e( 'URL' ); ?></label></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr( $comment->comment_author_url ); ?>" />
|
<input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_url( $comment->comment_author_url ); ?>" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.8-alpha-59386';
|
$wp_version = '6.8-alpha-59388';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user