Make plugins relative to ABSPATH when updating recently edited.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-11-28 05:38:54 +00:00
parent c02d589e36
commit 999411097e
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;