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:
parent
d26e718453
commit
a6a007e17a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user