WordPress.org

Make WordPress Core

Changeset 13389


Ignore:
Timestamp:
02/24/2010 10:13:23 PM (11 years ago)
Author:
ryan
Message:

only show tags in inline-edit for post_types that support them. Props prettyboymp. see #9674

File:
1 edited

Legend:

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

    r13382 r13389  
    10111011    </div></fieldset>
    10121012
    1013 <?php endif; // !hierarchical && !$bulk ?>
     1013<?php endif; // is_object_in_taxonomy($screen->post_type, 'category') && !$bulk ?>
    10141014
    10151015    <fieldset class="inline-edit-col-right"><div class="inline-edit-col">
     
    10531053        </label>
    10541054
    1055 <?php elseif ( !$bulk ) : // $is_page ?>
     1055<?php endif; // $post_type_object->hierarchical ?>
     1056
     1057<?php if ( is_object_in_taxonomy($screen->post_type, 'post_tag') && !$bulk ) : ?>
    10561058
    10571059        <label class="inline-edit-tags">
     
    10601062        </label>
    10611063
    1062 <?php endif; // $is_page  ?>
     1064<?php endif; // is_object_in_taxonomy($screen->post_type, 'post_tag') && !$bulk  ?>
    10631065
    10641066<?php if ( $bulk ) : ?>
Note: See TracChangeset for help on using the changeset viewer.