Have quick/bulk edit styled per existence of hierarchical taxonomies for that post type. Reintroduce classes that are specific for post types. fixes #12883.
git-svn-id: https://develop.svn.wordpress.org/trunk@14023 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1c4872fdea
commit
9e5a7a14f6
@ -883,11 +883,12 @@ function inline_edit_row( $screen ) {
|
|||||||
|
|
||||||
<form method="get" action=""><table style="display: none"><tbody id="inlineedit">
|
<form method="get" action=""><table style="display: none"><tbody id="inlineedit">
|
||||||
<?php
|
<?php
|
||||||
|
$hclass = count( $hierarchical_taxonomies ) ? 'post' : 'page';
|
||||||
$bulk = 0;
|
$bulk = 0;
|
||||||
while ( $bulk < 2 ) { ?>
|
while ( $bulk < 2 ) { ?>
|
||||||
|
|
||||||
<tr id="<?php echo $bulk ? 'bulk-edit' : 'inline-edit'; ?>" class="inline-edit-row inline-edit-row-<?php echo "$screen->post_type ";
|
<tr id="<?php echo $bulk ? 'bulk-edit' : 'inline-edit'; ?>" class="inline-edit-row inline-edit-row-<?php echo "$hclass inline-edit-$screen->post_type ";
|
||||||
echo $bulk ? "bulk-edit-row bulk-edit-row-$screen->post_type" : "quick-edit-row quick-edit-row-$screen->post_type";
|
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 $col_count; ?>">
|
?>" style="display: none"><td colspan="<?php echo $col_count; ?>">
|
||||||
|
|
||||||
<fieldset class="inline-edit-col-left"><div class="inline-edit-col">
|
<fieldset class="inline-edit-col-left"><div class="inline-edit-col">
|
||||||
|
Loading…
Reference in New Issue
Block a user