mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Add footer actions to iframe footer, props DD32, fixes #9832
git-svn-id: https://develop.svn.wordpress.org/trunk@11366 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -18,9 +18,6 @@ $title = __('Install Plugins');
|
||||
$parent_file = 'plugins.php';
|
||||
|
||||
wp_reset_vars( array('tab', 'paged') );
|
||||
wp_enqueue_style( 'plugin-install' );
|
||||
wp_enqueue_script( 'plugin-install' );
|
||||
add_thickbox();
|
||||
|
||||
//These are the tabs which are shown on the page,
|
||||
$tabs = array();
|
||||
@@ -46,6 +43,11 @@ if( empty($tab) || ( ! isset($tabs[ $tab ]) && ! in_array($tab, (array)$nonmenu_
|
||||
if( empty($paged) )
|
||||
$paged = 1;
|
||||
|
||||
wp_enqueue_style( 'plugin-install' );
|
||||
wp_enqueue_script( 'plugin-install' );
|
||||
if ( 'plugin-information' != $tab )
|
||||
add_thickbox();
|
||||
|
||||
$body_id = $tab;
|
||||
|
||||
do_action('install_plugins_pre_' . $tab); //Used to override the general interface, Eg, install or plugin information.
|
||||
@@ -71,4 +73,4 @@ foreach ( (array)$tabs as $action => $text ) {
|
||||
<?php do_action('install_plugins_' . $tab, $paged); ?>
|
||||
</div>
|
||||
<?php
|
||||
include('admin-footer.php');
|
||||
include('admin-footer.php');
|
||||
|
||||
Reference in New Issue
Block a user