Changeset 13601 for trunk/wp-admin/upload.php
- Timestamp:
- 03/06/2010 08:02:26 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/upload.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upload.php
r13541 r13601 395 395 <?php 396 396 if ( preg_match( '/^.*?\.(\w+)$/', get_attached_file( $post->ID ), $matches ) ) 397 echo wp_specialchars( strtoupper( $matches[1] ) );397 echo esc_html( strtoupper( $matches[1] ) ); 398 398 else 399 399 echo strtoupper( str_replace( 'image/', '', get_post_mime_type() ) );
Note: See TracChangeset
for help on using the changeset viewer.