[buddypress-trac] [BuddyPress Trac] #6591: Wrong parameter value for upload_dir filter in BP Attachment API
buddypress-trac
noreply at wordpress.org
Thu Aug 13 11:46:54 UTC 2015
#6591: Wrong parameter value for upload_dir filter in BP Attachment API
-------------------------------------+-----------------------------
Reporter: rittesh.patel | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Component - Attachments | Version: 2.3.2
Severity: normal | Keywords: dev-feedback
-------------------------------------+-----------------------------
The $accepted_args parameter value is set to '''"0"''' for `upload_dir`
filter in base `BP_Attachment` class. It should be '''"1"''' as WordPress
passes the parameter to callback function.
https://buddypress.trac.wordpress.org/browser/tags/2.3.2/src/bp-
core/classes/class-bp-attachment.php#L269
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6591>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list