From 55290a20046f883c35c48ef00f39574dc6d8be40 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 27 Nov 2012 22:41:15 +0000 Subject: [PATCH] Don't label the form on media-new.php an upload form to avoid esoteric breakage. In past lives, the form has been more complicated than the standard .wp-upload-form use case, with submit buttons that are not just for the uploader, which means we really can't disable them here. Reverts part of [22663]. see #20855. git-svn-id: https://develop.svn.wordpress.org/trunk@22880 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/media-new.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/media-new.php b/wp-admin/media-new.php index ab14160f49..c6a7ae1415 100644 --- a/wp-admin/media-new.php +++ b/wp-admin/media-new.php @@ -59,7 +59,7 @@ get_current_screen()->set_help_sidebar( require_once( ABSPATH . 'wp-admin/admin-header.php' ); -$form_class = 'media-upload-form wp-upload-form type-form validate'; +$form_class = 'media-upload-form type-form validate'; if ( get_user_setting('uploader') || isset( $_GET['browser-uploader'] ) ) $form_class .= ' html-uploader';