[wp-testers] New function, uploads userlogin based folders
Capripot
capripot at gmail.com
Wed Aug 13 12:01:47 GMT 2008
Hi everybody,
I've opened a ticket on the trac, but i don't know very well if it the
good place to my question, so i drop you a mail too.
I often would like to organize the upload folder with the user logins.
It can be practice to delete all files from just one user, or just to
separate them for give them a FTP account for exemple.
I modified just two files, the wp-includes/functions.php and the wp-
admin/options-misc.php
You can tick the option on Misc Options
If you tick the "Organize my uploads into user_login based folders",
Wordpress take your file in uploads/login/
If you tick the "Organize my uploads into month- and year-based
folders" too, wordpress take your file in uploads/login/year/month/
Can I integrate this to a final release of Wordpress ?
http://trac.wordpress.org/ticket/7510
Sincerely,
Ronan
More information about the wp-testers
mailing list