From efd9913490c9e8019d46a3f749cd1f02dc90d316 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 22 Nov 2012 13:23:27 +0000 Subject: [PATCH] Mustn't forget to hide the legacy media uploader! see #21390. git-svn-id: http://core.svn.wordpress.org/trunk@22828 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index ac55ea1387..c81d495248 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -387,13 +387,13 @@ function media_buttons($editor_id = 'content') { 'post' => get_post() ) ); - $context = apply_filters('media_buttons_context', __('Upload/Insert %s')); + // $context = apply_filters('media_buttons_context', __('Upload/Insert %s')); $img = ' '; echo '' . $img . __( 'Add Media' ) . ''; - echo '' . sprintf( $context, $img ) . ''; + // echo '' . sprintf( $context, $img ) . ''; } add_action( 'media_buttons', 'media_buttons' );