From b764f60728be1d4e026f9d7ae618ab47e23322f8 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 31 Aug 2006 14:55:29 +0000 Subject: WP Merge to rev #4147 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@729 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/plugin-editor.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wp-admin/plugin-editor.php') diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index 690baaf..c604d19 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -42,10 +42,11 @@ break; default: - require_once('admin-header.php'); if ( !current_user_can('edit_plugins') ) wp_die('

'.__('You do not have sufficient permissions to edit plugins for this blog.').'

'); + require_once('admin-header.php'); + update_recently_edited("wp-content/plugins/$file"); if (!is_file($real_file)) -- cgit