diff --git a/wp-admin/edit-attachment-rows.php b/wp-admin/edit-attachment-rows.php
index 21b66c63ad..e683a663a4 100644
--- a/wp-admin/edit-attachment-rows.php
+++ b/wp-admin/edit-attachment-rows.php
@@ -87,7 +87,7 @@ foreach ($posts_columns as $column_name => $column_display_name ) {
>
ID ), $matches ) )
- echo wp_specialchars( strtoupper( $matches[1] ) );
+ echo esc_html( strtoupper( $matches[1] ) );
else
echo strtoupper( str_replace( 'image/', '', get_post_mime_type() ) );
?>
diff --git a/wp-admin/upload.php b/wp-admin/upload.php
index ab3bacf5dd..53cbca93e8 100644
--- a/wp-admin/upload.php
+++ b/wp-admin/upload.php
@@ -394,7 +394,7 @@ if ( isset($_GET['detached']) ) { ?>
|
ID ), $matches ) )
- echo wp_specialchars( strtoupper( $matches[1] ) );
+ echo esc_html( strtoupper( $matches[1] ) );
else
echo strtoupper( str_replace( 'image/', '', get_post_mime_type() ) );
?>
|