Make plugins relative to ABSPATH when updating recently edited.

git-svn-id: https://develop.svn.wordpress.org/trunk@1897 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-11-28 05:38:54 +00:00
parent d26e718453
commit a6a007e17a
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ default:
die(__('<p>You have do not have sufficient permissions to edit plugins for this blog.</p>'));
}
update_recently_edited($file);
update_recently_edited("wp-content/plugins/$file");
if (!is_file($real_file))
$error = 1;