diff --git a/wp-admin/includes/class-wp-media-list-table.php b/wp-admin/includes/class-wp-media-list-table.php index 98deaac8c9..82894740dc 100644 --- a/wp-admin/includes/class-wp-media-list-table.php +++ b/wp-admin/includes/class-wp-media-list-table.php @@ -395,7 +395,7 @@ class WP_Media_List_Table extends WP_List_Table { ID ); - echo wp_basename( $file ); + echo esc_html( wp_basename( $file ) ); ?>

$link_text", $id, $size, $permalink, $icon, $text ); + return apply_filters( 'wp_get_attachment_link', "$link_text", $id, $size, $permalink, $icon, $text ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index b57ff96f49..f044272bb9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5.3-alpha-37768'; +$wp_version = '4.5.3-alpha-37783'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.