WordPress.org

Make WordPress Core

Changeset 17086


Ignore:
Timestamp:
12/20/10 16:47:23 (4 years ago)
Author:
nacin
Message:

Enqueue plugin-install scripts and styles on import.php. props ocean90, fixes #15842.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import.php

    r16996 r17086  
    4343 
    4444add_thickbox(); 
     45wp_enqueue_script( 'plugin-install' ); 
     46wp_admin_css( 'plugin-install' ); 
     47 
    4548require_once ('admin-header.php'); 
    4649$parent_file = 'tools.php'; 
  • trunk/wp-admin/js/plugin-install.dev.js

    r16963 r17086  
    1616        }; 
    1717 
    18         return $('#dashboard_plugins a.thickbox, .plugins a.thickbox').each( function() { 
     18        return $('a.thickbox').each( function() { 
    1919            var href = $(this).attr('href'); 
    2020            if ( ! href ) 
Note: See TracChangeset for help on using the changeset viewer.