We do not use plugin, we use file

git-svn-id: https://develop.svn.wordpress.org/trunk@11500 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2009-06-01 00:01:33 +00:00
parent 85df37ac27
commit 7150af568d
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ wp_admin_css( 'theme-editor' );
$plugins = get_plugins();
if ( isset($_REQUEST['plugin']) )
$plugin = $_REQUEST['plugin'];
if ( isset($_REQUEST['file']) )
$plugin = $_REQUEST['file'];
if ( empty($plugin) ) {
$plugin = array_keys($plugins);