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:
parent
e53c5c50f7
commit
ae103262a4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue