From 4bf9e01c2bf8e4820e675d7c4a2b3b7db567dae6 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: https://develop.svn.wordpress.org/trunk@22828 602fd350-edb4-49c9-b593-d223f7449a82 --- 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' );