Make WordPress Core


Ignore:
Timestamp:
03/05/2014 03:53:19 AM (12 years ago)
Author:
azaozz
Message:

Restyles the modal for attaching media to posts, take II (also some autoprefixer and imagemin). Props avryl, see #26952.

File:
1 edited

Legend:

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

    r27401 r27403  
    142142$parent_file = 'upload.php';
    143143
    144 wp_enqueue_script( 'wp-ajax-response' );
    145 wp_enqueue_script( 'jquery-ui-draggable' );
    146144wp_enqueue_script( 'media' );
    147 
    148 add_action( 'admin_print_footer_scripts', 'find_posts_div' );
    149145
    150146add_screen_option( 'per_page', array('label' => _x( 'Media items', 'items per page (screen options)' )) );
     
    241237<?php $wp_list_table->display(); ?>
    242238
     239<div id="ajax-response"></div>
     240<?php find_posts_div(); ?>
    243241</form>
    244242</div>
    245243
    246 <div id="ajax-response"></div>
    247 
    248244<?php
    249245include( ABSPATH . 'wp-admin/admin-footer.php' );
Note: See TracChangeset for help on using the changeset viewer.