Changeset 28293
- Timestamp:
- 05/06/2014 03:26:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r27560 r28293 24 24 25 25 function prepare_items() { 26 global $lost, $wp db, $wp_query, $post_mime_types, $avail_post_mime_types;26 global $lost, $wp_query, $post_mime_types, $avail_post_mime_types; 27 27 28 28 $q = $_REQUEST; … … 133 133 $posts_columns['title'] = _x( 'File', 'column name' ); 134 134 $posts_columns['author'] = __( 'Author' ); 135 136 $taxonomies = array();137 135 138 136 $taxonomies = get_taxonomies_for_attachments( 'objects' ); … … 378 376 379 377 if ( $taxonomy ) { 380 $taxonomy_object = get_taxonomy( $taxonomy );381 378 echo '<td ' . $attributes . '>'; 382 379 if ( $terms = get_the_terms( $post->ID, $taxonomy ) ) {
Note: See TracChangeset
for help on using the changeset viewer.