Make WordPress Core

Changeset 14023


Ignore:
Timestamp:
04/07/2010 02:58:23 AM (15 years ago)
Author:
nacin
Message:

Have quick/bulk edit styled per existence of hierarchical taxonomies for that post type. Reintroduce classes that are specific for post types. fixes #12883.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r13931 r14023  
    884884<form method="get" action=""><table style="display: none"><tbody id="inlineedit">
    885885    <?php
     886    $hclass = count( $hierarchical_taxonomies ) ? 'post' : 'page';
    886887    $bulk = 0;
    887888    while ( $bulk < 2 ) { ?>
    888889
    889     <tr id="<?php echo $bulk ? 'bulk-edit' : 'inline-edit'; ?>" class="inline-edit-row inline-edit-row-<?php echo "$screen->post_type ";
    890         echo $bulk ? "bulk-edit-row bulk-edit-row-$screen->post_type" : "quick-edit-row quick-edit-row-$screen->post_type";
     890    <tr id="<?php echo $bulk ? 'bulk-edit' : 'inline-edit'; ?>" class="inline-edit-row inline-edit-row-<?php echo "$hclass inline-edit-$screen->post_type ";
     891        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";
    891892    ?>" style="display: none"><td colspan="<?php echo $col_count; ?>">
    892893
Note: See TracChangeset for help on using the changeset viewer.