mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user