WordPress.org

Make WordPress Core

Changeset 22819


Ignore:
Timestamp:
11/22/12 10:57:43 (17 months ago)
Author:
koopersmith
Message:

Media: Make the pre-upload-ui hooks share an element with the post-upload-ui hooks. see #22186, #21390.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r22818 r22819  
    14851485    <script type="text/html" id="tmpl-uploader-inline"> 
    14861486        <div class="uploader-inline-content"> 
    1487             <div class="pre-upload-ui"> 
    1488                 <?php do_action( 'pre-upload-ui' ); ?> 
    1489                 <?php do_action( 'pre-plupload-upload-ui' ); ?> 
    1490             </div> 
    1491  
    14921487            <div class="upload-ui"> 
    14931488                <h3><?php _e( 'Drop files anywhere to upload' ); ?></h3> 
     
    14961491 
    14971492            <div class="post-upload-ui"> 
     1493                <?php do_action( 'pre-upload-ui' ); ?> 
     1494                <?php do_action( 'pre-plupload-upload-ui' ); ?> 
    14981495                <?php do_action( 'post-plupload-upload-ui' ); ?> 
    14991496                <?php do_action( 'post-upload-ui' ); ?> 
Note: See TracChangeset for help on using the changeset viewer.