Changeset 31857
- Timestamp:
- 03/22/2015 11:02:00 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r31619 r31857 341 341 <?php }; 342 342 _media_states( $post ); ?></strong> 343 <p> 344 <?php 345 if ( preg_match( '/^.*?\.(\w+)$/', get_attached_file( $post->ID ), $matches ) ) 346 echo esc_html( strtoupper( $matches[1] ) ); 347 else 348 echo strtoupper( str_replace( 'image/', '', get_post_mime_type() ) ); 349 ?> 350 </p> 343 <p class="filename"><?php echo wp_basename( $post->guid ); ?></p> 351 344 <?php 352 345 echo $this->row_actions( $this->_get_row_actions( $post, $att_title ) );
Note: See TracChangeset
for help on using the changeset viewer.