Skip to content
Browse files

Enqueue plugin-install scripts and styles on import.php. props ocean9…

…0, fixes #15842.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent e68063f commit d0cb592cd7b395bdf5037c2805432686b1e7f855 nacin committed
Showing with 4 additions and 1 deletion.
  1. +3 −0 wp-admin/import.php
  2. +1 −1 wp-admin/js/plugin-install.dev.js
View
3 wp-admin/import.php
@@ -42,6 +42,9 @@
}
add_thickbox();
+wp_enqueue_script( 'plugin-install' );
+wp_admin_css( 'plugin-install' );
+
require_once ('admin-header.php');
$parent_file = 'tools.php';
?>
View
2 wp-admin/js/plugin-install.dev.js
@@ -15,7 +15,7 @@ jQuery(document).ready(function($) {
tbWindow.css({'top': 20 + adminbar_height + 'px','margin-top':'0'});
};
- return $('#dashboard_plugins a.thickbox, .plugins a.thickbox').each( function() {
+ return $('a.thickbox').each( function() {
var href = $(this).attr('href');
if ( ! href )
return;

0 comments on commit d0cb592

Please sign in to comment.
Something went wrong with that request. Please try again.