[buddypress-trac] [BuddyPress Trac] #6729: bp_attachments_uploads_dir_get throws notices on wp_upload_dir error

buddypress-trac noreply at wordpress.org
Thu Nov 12 09:49:04 UTC 2015


#6729: bp_attachments_uploads_dir_get throws notices on wp_upload_dir error
-------------------------------------+--------------------
 Reporter:  sbrajesh                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  2.4.1
Component:  Component - Attachments  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch                |
-------------------------------------+--------------------
Changes (by imath):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 2.4.1


Comment:

 Good catch @sbrajesh

 I think for 2.4.1 we should focus on avoiding the notice (see attached
 patch), and improve user's feedback in 2.5 by using the error argument
 returned by `wp_upload_dir()`

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6729#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list