Replace Quick Edit and Bulk Edit headings with `<legend>` elements.
Props afercia. Fixes #34289. Built from https://develop.svn.wordpress.org/trunk@35234 git-svn-id: http://core.svn.wordpress.org/trunk@35200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b778726e74
commit
1157540283
|
@ -988,11 +988,19 @@ tr.inline-edit-row td,
|
|||
}
|
||||
|
||||
/* Positioning */
|
||||
.inline-edit-row h4 {
|
||||
margin: .2em 0;
|
||||
padding: 0;
|
||||
|
||||
/* Needs higher specificity for the padding */
|
||||
#the-list .inline-edit-row .inline-edit-legend {
|
||||
margin: 0;
|
||||
padding: 0.2em 0.5em 0;
|
||||
line-height: 2.5;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#the-list #bulk-edit.inline-edit-row .inline-edit-legend {
|
||||
padding: 0.2em 0.5em;
|
||||
}
|
||||
|
||||
.inline-edit-row fieldset span.title,
|
||||
.inline-edit-row fieldset span.checkbox-title {
|
||||
margin: 0;
|
||||
|
@ -1082,7 +1090,7 @@ tr.inline-edit-row td,
|
|||
}
|
||||
|
||||
/* Styling */
|
||||
.inline-edit-row h4 {
|
||||
.inline-edit-row .inline-edit-legend {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
|
|
|
@ -988,11 +988,19 @@ tr.inline-edit-row td,
|
|||
}
|
||||
|
||||
/* Positioning */
|
||||
.inline-edit-row h4 {
|
||||
margin: .2em 0;
|
||||
padding: 0;
|
||||
|
||||
/* Needs higher specificity for the padding */
|
||||
#the-list .inline-edit-row .inline-edit-legend {
|
||||
margin: 0;
|
||||
padding: 0.2em 0.5em 0;
|
||||
line-height: 2.5;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#the-list #bulk-edit.inline-edit-row .inline-edit-legend {
|
||||
padding: 0.2em 0.5em;
|
||||
}
|
||||
|
||||
.inline-edit-row fieldset span.title,
|
||||
.inline-edit-row fieldset span.checkbox-title {
|
||||
margin: 0;
|
||||
|
@ -1082,7 +1090,7 @@ tr.inline-edit-row td,
|
|||
}
|
||||
|
||||
/* Styling */
|
||||
.inline-edit-row h4 {
|
||||
.inline-edit-row .inline-edit-legend {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1315,8 +1315,9 @@ class WP_Posts_List_Table extends WP_List_Table {
|
|||
echo $bulk ? " bulk-edit-row bulk-edit-row-$hclass bulk-edit-{$screen->post_type}" : " quick-edit-row quick-edit-row-$hclass inline-edit-{$screen->post_type}";
|
||||
?>" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange">
|
||||
|
||||
<fieldset class="inline-edit-col-left"><div class="inline-edit-col">
|
||||
<h4><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></h4>
|
||||
<fieldset class="inline-edit-col-left">
|
||||
<legend class="inline-edit-legend"><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></legend>
|
||||
<div class="inline-edit-col">
|
||||
<?php
|
||||
|
||||
if ( post_type_supports( $screen->post_type, 'title' ) ) :
|
||||
|
|
|
@ -549,9 +549,9 @@ class WP_Terms_List_Table extends WP_List_Table {
|
|||
<form method="get"><table style="display: none"><tbody id="inlineedit">
|
||||
<tr id="inline-edit" class="inline-edit-row" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange">
|
||||
|
||||
<fieldset><div class="inline-edit-col">
|
||||
<h4><?php _e( 'Quick Edit' ); ?></h4>
|
||||
|
||||
<fieldset>
|
||||
<legend class="inline-edit-legend"><?php _e( 'Quick Edit' ); ?></legend>
|
||||
<div class="inline-edit-col">
|
||||
<label>
|
||||
<span class="title"><?php _ex( 'Name', 'term name' ); ?></span>
|
||||
<span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35233';
|
||||
$wp_version = '4.4-alpha-35234';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue