[wp-hackers] Checking getmyuid results in problems?
berry at ayavo.nl
Mon Nov 15 14:22:54 UTC 2010
On 11/15/2010 03:15 PM, Baki Goxhaj wrote:
> I use XAMPP on Ubuntu too and I cannot do automatic upgrades of plugins or
> WP itself either. I was mad when the team got the WordPres importer out of
> core as I had to download it every time I needed it. Basically I have a set
> of plugins downloaded from browser and I use them and have not bother to ask
> to make this one automatic. But if there is a hack to make upgrades work on
> local machines, I would use that for sure.
There is: you can define( 'FS_METHOD', 'direct' ) somewhere in config,
which would result in the bypassing of the getmyuid( ) == fileowner( )
call altogether. My most important question is why there is no notice of
this, unless you Google around a lot :)
More information about the wp-hackers