mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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:
parent
c02d589e36
commit
999411097e
@ -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