Wordpress 4.5.3
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-media-list-table.php
index 98deaac8c9f632e20e14ee32af7c0c3eab417afd..82894740dc8e6602a6c212af581dc37ebbf2e483 100644 (file)
@@ -395,7 +395,7 @@ class WP_Media_List_Table extends WP_List_Table {
                        <span class="screen-reader-text"><?php _e( 'File name:' ); ?> </span>
                        <?php
                        $file = get_attached_file( $post->ID );
-                       echo wp_basename( $file );
+                       echo esc_html( wp_basename( $file ) );
                        ?>
                </p>
                <?php