mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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();
|
$plugins = get_plugins();
|
||||||
|
|
||||||
if ( isset($_REQUEST['plugin']) )
|
if ( isset($_REQUEST['file']) )
|
||||||
$plugin = $_REQUEST['plugin'];
|
$plugin = $_REQUEST['file'];
|
||||||
|
|
||||||
if ( empty($plugin) ) {
|
if ( empty($plugin) ) {
|
||||||
$plugin = array_keys($plugins);
|
$plugin = array_keys($plugins);
|
||||||
|
Loading…
Reference in New Issue
Block a user