[wp-testers] Problems with autoupdate and plugin installer

bosmail at gmail.com bosmail at gmail.com
Sat Nov 29 23:09:41 GMT 2008


I'm using servage.net hosting and I'm having problems with auto updater.
I've found a workaround her:
http://vanonet.com/2008/09/servage-wordpress-plugin-autoupgrade-problem/

By changing the below string in wp-admin/include/file.php


    if ( getmyuid() == fileowner($temp_file) )

to

    if ( posix_getuid() == fileowner($temp_file) )

I'm not aware of the exact consequences, if any, but it solved the problem
in both 2.6.5 and 2.7-almost-rc-9965

If the above string could be changed permanently it would be of great help
to users with the same problem.

/Brian


More information about the wp-testers mailing list