[wp-trac] [WordPress Trac] #21796: Don't show paths in wp_upload_dir()
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 5 00:57:10 UTC 2012
#21796: Don't show paths in wp_upload_dir()
-------------------------+-------------------
Reporter: nacin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.4.2
Component: Upload | Version:
Severity: normal | Keywords:
-------------------------+-------------------
wp_upload_dir() unnecessarily shows the full path to an upload directory
in case it can't create it. We shouldn't even bother showing the path at
all — an error of "Error uploading file. Is the uploads directory
writeable by the server?" should be sufficient.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21796>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list