From a6a007e17a0602aaf79aba0a14a4fe51b61cf51f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 28 Nov 2004 05:38:54 +0000 Subject: [PATCH] Make plugins relative to ABSPATH when updating recently edited. git-svn-id: https://develop.svn.wordpress.org/trunk@1897 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 4b4181cf5b..16de1cfe9a 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;