Opened 17 months ago
Closed 17 months ago
#8966 closed defect (bug) (fixed)
Improve `bp_core_get_upload_dir()`
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 12.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | has-patch |
Cc: |
Description
This topic made me realize this conditional check was outdated as bp_upload_dir()
never returns an array containing an error key but rather false
when something is wrong with the WP Uploads dir.
I guess I missed editing this function when working on the BP Attachments API some years ago.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/8966