WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/04/2014 11:10:35 PM (6 years ago)
Author:
azaozz
Message:

Restyles the modal for attaching media to posts, props avryl, see #26952

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/upload.php

    r26518 r27401  
    145145wp_enqueue_script( 'jquery-ui-draggable' );
    146146wp_enqueue_script( 'media' );
     147
     148add_action( 'admin_print_footer_scripts', 'find_posts_div' );
    147149
    148150add_screen_option( 'per_page', array('label' => _x( 'Media items', 'items per page (screen options)' )) );
     
    239241<?php $wp_list_table->display(); ?>
    240242
    241 <div id="ajax-response"></div>
    242 <?php find_posts_div(); ?>
    243 <br class="clear" />
    244 
    245243</form>
    246244</div>
    247245
     246<div id="ajax-response"></div>
     247
    248248<?php
    249249include( ABSPATH . 'wp-admin/admin-footer.php' );
Note: See TracChangeset for help on using the changeset viewer.