[wp-trac] [WordPress Trac] #10568: wp_upload_dir should return a WP_Error object on failure

WordPress Trac noreply at wordpress.org
Fri Feb 8 16:46:21 UTC 2013


#10568: wp_upload_dir should return a WP_Error object on failure
-----------------------------------+-----------------------------
 Reporter:  simonwheatley          |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Upload                 |     Version:  2.9
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+-----------------------------

Comment (by simonwheatley):

 Replying to [comment:1 dd32]:
 > I do agree with you, But a LOT of plugins are written expecting an error
 element as a return, some do not even bother checking for that case too..

 Is this a wontfix, then? (Which is fine, just doing my part to clear out
 trac.)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10568#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list