Changeset 52841
- Timestamp:
- 03/10/2022 06:20:33 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r52285 r52841 345 345 $taxonomy = get_taxonomy( $taxonomy_name ); 346 346 347 if ( $taxonomy->hierarchical && $taxonomy->show_ui ) { 347 if ( ! $taxonomy->show_in_quick_edit ) { 348 continue; 349 } 350 351 if ( $taxonomy->hierarchical ) { 348 352 349 353 $terms = get_object_term_cache( $post->ID, $taxonomy_name ); … … 356 360 echo '<div class="post_category" id="' . $taxonomy_name . '_' . $post->ID . '">' . implode( ',', $term_ids ) . '</div>'; 357 361 358 } else if ( $taxonomy->show_ui ){362 } else { 359 363 360 364 $terms_to_edit = get_terms_to_edit( $post->ID, $taxonomy_name );
Note: See TracChangeset
for help on using the changeset viewer.