~canonical-sysadmins/wordpress/4.7.1

« back to all changes in this revision

Viewing changes to wp-admin/includes/class-wp-media-list-table.php

  • Committer: Barry Price
  • Date: 2016-06-22 02:23:41 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: barry.price@canonical.com-20160622022341-9qrp2nesacwfx017
Merge WP4.5.3 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
395
395
                        <span class="screen-reader-text"><?php _e( 'File name:' ); ?> </span>
396
396
                        <?php
397
397
                        $file = get_attached_file( $post->ID );
398
 
                        echo wp_basename( $file );
 
398
                        echo esc_html( wp_basename( $file ) );
399
399
                        ?>
400
400
                </p>
401
401
                <?php