From 7150af568d26f0bd97a71c03051813b2b6a78e18 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 1 Jun 2009 00:01:33 +0000 Subject: [PATCH] We do not use plugin, we use file git-svn-id: https://develop.svn.wordpress.org/trunk@11500 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/plugin-editor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index 7e4288e3d2..57ff60fccb 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -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);