Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.

git-svn-id: https://develop.svn.wordpress.org/trunk@16963 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-12-15 18:48:40 +00:00
parent f03dece666
commit 98aac89317
6 changed files with 40 additions and 10 deletions
+3
View File
@@ -2154,6 +2154,9 @@ function wp_admin_css( $file = 'wp-admin', $force_echo = false ) {
function add_thickbox() {
wp_enqueue_script( 'thickbox' );
wp_enqueue_style( 'thickbox' );
if ( is_network_admin() )
add_action( 'admin_head', '_thickbox_path_admin_subfolder' );
}
/**