Enqueue plugin-install scripts and styles on import.php. props ocean90, fixes #15842.
git-svn-id: https://develop.svn.wordpress.org/trunk@17086 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f5ab190c44
commit
ff7001986a
@ -42,6 +42,9 @@ if ( ! empty( $_GET['invalid'] ) && !empty($popular_importers[$_GET['invalid']][
|
||||
}
|
||||
|
||||
add_thickbox();
|
||||
wp_enqueue_script( 'plugin-install' );
|
||||
wp_admin_css( 'plugin-install' );
|
||||
|
||||
require_once ('admin-header.php');
|
||||
$parent_file = 'tools.php';
|
||||
?>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user