From 999411097ef3840d22771422ad070c27dcf49a06 Mon Sep 17 00:00:00 2001 From: rboren Date: Sun, 28 Nov 2004 05:38:54 +0000 Subject: [PATCH] Make plugins relative to ABSPATH when updating recently edited. git-svn-id: http://svn.automattic.com/wordpress/trunk@1897 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/plugin-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index 4b4181cf5..16de1cfe9 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -59,7 +59,7 @@ default: die(__('

You have do not have sufficient permissions to edit plugins for this blog.

')); } - update_recently_edited($file); + update_recently_edited("wp-content/plugins/$file"); if (!is_file($real_file)) $error = 1;