WordPress.org

Make WordPress Core

Changeset 22880


Ignore:
Timestamp:
11/27/12 22:41:15 (17 months ago)
Author:
nacin
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/media-new.php

    r22853 r22880  
    6060require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    6161 
    62 $form_class = 'media-upload-form wp-upload-form type-form validate'; 
     62$form_class = 'media-upload-form type-form validate'; 
    6363 
    6464if ( get_user_setting('uploader') || isset( $_GET['browser-uploader'] ) ) 
Note: See TracChangeset for help on using the changeset viewer.