Changeset 13601
- Timestamp:
- 03/06/2010 08:02:26 AM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-attachment-rows.php
r13541 r13601 88 88 <?php 89 89 if ( preg_match( '/^.*?\.(\w+)$/', get_attached_file( $post->ID ), $matches ) ) 90 echo wp_specialchars( strtoupper( $matches[1] ) );90 echo esc_html( strtoupper( $matches[1] ) ); 91 91 else 92 92 echo strtoupper( str_replace( 'image/', '', get_post_mime_type() ) ); -
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.