From 28781ebb081ab8d99b30a33f5cd911b3b050bcc9 Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 26 Sep 2006 15:45:20 +0000 Subject: WP Merge to rev 4254 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@770 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/plugin-editor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wp-admin/plugin-editor.php') diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index c604d19..42fe9d4 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -15,7 +15,7 @@ if (empty($file)) { } $file = validate_file_to_edit($file, $plugin_files); -$real_file = get_real_file_to_edit("wp-content/plugins/$file"); +$real_file = get_real_file_to_edit( PLUGINDIR . "/$file"); switch($action) { @@ -47,7 +47,7 @@ default: require_once('admin-header.php'); - update_recently_edited("wp-content/plugins/$file"); + update_recently_edited(PLUGINDIR . "/$file"); if (!is_file($real_file)) $error = 1; -- cgit