getmyuid() is disabled - workaround — at Initial Version
|Reported by:||edward mindreantre||Owned by:||dd32|
On some web hosts the getmyuid() function, used in file.php to discern whether direct access to the file system is allowed or not, is disabled. "For security reasons", whatever the fuck that might mean. How much damage can you cause with getmyuid?
This prevents people who, even though they've installed wordpress correctly via FTP and set the correct file permissions, from installing themes, plugins and upgrades.
Sad but true.
Here's a workaround.