Comments: Restore a removed fieldset legend after [44466].
In the Edit Comment page: - moves the "Author" `h2` heading out of the form fieldset - removes an unnecessary `<span>` element - adds a visually hidden legend element to the fieldset - uses an existing string "Comment Author" Fixes #43586. Built from https://develop.svn.wordpress.org/trunk@44712 git-svn-id: http://core.svn.wordpress.org/trunk@44543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3c7a623f85
commit
da75c0cdb6
|
@ -40,10 +40,9 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<div id="namediv" class="stuffbox">
|
<div id="namediv" class="stuffbox">
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
|
<h2 class="edit-comment-author"><?php _e( 'Author' ); ?></h2>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<h2 class="edit-comment-author">
|
<legend class="screen-reader-text"><?php _e( 'Comment Author' ); ?></legend>
|
||||||
<span><?php _e( 'Author' ); ?></span>
|
|
||||||
</h2>
|
|
||||||
<table class="form-table editcomment">
|
<table class="form-table editcomment">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.1-beta2-44711';
|
$wp_version = '5.1-beta2-44712';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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