We do not use plugin, we use file

git-svn-id: http://svn.automattic.com/wordpress/trunk@11500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2009-06-01 00:01:33 +00:00
parent e53c5c50f7
commit ae103262a4
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);