mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-16 18:44:32 +00:00
Replace Quick Edit and Bulk Edit headings with <legend> elements.
Props afercia. Fixes #34289. git-svn-id: https://develop.svn.wordpress.org/trunk@35234 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user