mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-28 17:24:33 +00:00
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -126,7 +126,7 @@ if ( isset($_GET['action']) ) {
|
||||
$plugin = isset($_GET['plugin']) ? trim($_GET['plugin']) : '';
|
||||
$theme = isset($_REQUEST['theme']) ? urldecode($_REQUEST['theme']) : '';
|
||||
$action = isset($_GET['action']) ? $_GET['action'] : '';
|
||||
|
||||
|
||||
if ( 'upgrade-plugin' == $action ) {
|
||||
check_admin_referer('upgrade-plugin_' . $plugin);
|
||||
$title = __('Upgrade Plugin');
|
||||
@@ -153,7 +153,7 @@ if ( isset($_GET['action']) ) {
|
||||
include(WP_PLUGIN_DIR . '/' . $plugin);
|
||||
}
|
||||
iframe_footer();
|
||||
} elseif ( 'upgrade-theme' == $action ) {
|
||||
} elseif ( 'upgrade-theme' == $action ) {
|
||||
check_admin_referer('upgrade-theme_' . $theme);
|
||||
$title = __('Upgrade Theme');
|
||||
$parent_file = 'themes.php';
|
||||
|
||||
Reference in New Issue
Block a user