diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 2ae7957f72..651ff15bab 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -29,7 +29,11 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_ <div class="inside"> <div id="comment-link-box"> <strong><?php _ex( 'Permalink:', 'comment' ); ?></strong> - <span id="sample-permalink"><a href="<?php echo $comment_link; ?>"><?php echo $comment_link; ?></a></span> + <span id="sample-permalink"> + <a href="<?php echo esc_url( $comment_link ); ?>"> + <?php echo esc_html( $comment_link ); ?> + </a> + </span> </div> </div> <?php endif; ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index 7b5df43407..764162f42e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9.7-alpha-43300'; +$wp_version = '4.9.7-alpha-43301'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.