[wp-hackers] Where Should Plugins Store Files?

Christopher Ross cross at thisismyurl.com
Mon Sep 13 12:52:42 UTC 2010


Just be sure to use the [basedir] instead of the [path] as the latter will append the year and month if it's configured

[path] => C:\path\to\wordpress/wp-content/uploads/2010/05 
[basedir] => C:\path\to\wordpress/wp-content/uploads 

That's messed me up more than once :)

On 2010-09-13, at 12:42 AM, Otto wrote:
> 
> Use the wp_upload_dir function to retrieve the upload directories path and URL.
> 
> -Otto


__

Christopher Ross

Toronto      1 (416) 840-5828
Fredericton 1 (506) 474-2708
New Orleans 1 (504) 322 3485

http://christopherross.ca
http://www.thisismyurl.com



More information about the wp-hackers mailing list