About page: Don't use wp_playlist_scripts() as that prints stuff.

fixes #27713.

Built from https://develop.svn.wordpress.org/trunk@28151


git-svn-id: http://core.svn.wordpress.org/trunk@27982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-04-16 17:55:15 +00:00
parent e3a4c57563
commit b0f672d552
1 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,9 @@
/** WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
wp_playlist_scripts( 'audio' );
wp_enqueue_style( 'wp-mediaelement' );
wp_enqueue_script( 'wp-playlist' );
add_action( 'admin_footer', 'wp_underscore_playlist_templates', 0 );
$title = __( 'About' );
@ -17,6 +19,7 @@ list( $display_version ) = explode( '-', $wp_version );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<!--[if lt IE 9]><script>document.createElement('audio');document.createElement('video');</script><![endif]-->
<div class="wrap about-wrap">
<h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>