Changeset 19415
- Timestamp:
- 11/23/2011 03:20:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-terms-list-table.php
r19383 r19415 284 284 285 285 function column_posts( $tag ) { 286 global $taxonomy ;286 global $taxonomy, $post_type; 287 287 288 288 $count = number_format_i18n( $tag->count ); … … 290 290 $tax = get_taxonomy( $taxonomy ); 291 291 292 $post_type = get_current_screen()->post_type;293 292 $ptype_object = get_post_type_object( $post_type ); 294 295 293 if ( ! $ptype_object->show_ui ) 296 294 return $count;
Note: See TracChangeset
for help on using the changeset viewer.