mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-23 23:04:25 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user