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

git-svn-id: https://develop.svn.wordpress.org/trunk@27401 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2014-03-04 23:10:35 +00:00
parent d87cac2093
commit ce69c629ff
5 changed files with 83 additions and 54 deletions
+4 -4
View File
@@ -145,6 +145,8 @@ wp_enqueue_script( 'wp-ajax-response' );
wp_enqueue_script( 'jquery-ui-draggable' );
wp_enqueue_script( 'media' );
add_action( 'admin_print_footer_scripts', 'find_posts_div' );
add_screen_option( 'per_page', array('label' => _x( 'Media items', 'items per page (screen options)' )) );
get_current_screen()->add_help_tab( array(
@@ -238,12 +240,10 @@ if ( !empty($message) ) { ?>
<?php $wp_list_table->display(); ?>
<div id="ajax-response"></div>
<?php find_posts_div(); ?>
<br class="clear" />
</form>
</div>
<div id="ajax-response"></div>
<?php
include( ABSPATH . 'wp-admin/admin-footer.php' );