[buddypress-trac] [BuddyPress Trac] #8185: Inadequate details availabe on bp_attachments_pre_get_attachment

buddypress-trac noreply at wordpress.org
Wed Apr 21 12:11:19 UTC 2021


#8185: Inadequate details availabe on bp_attachments_pre_get_attachment
-------------------------+---------------------
 Reporter:  sbrajesh     |       Owner:  imath
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  8.0.0
Component:  Core         |     Version:  5.0.0
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12901" 12901]:
 {{{
 #!CommitTicketReference repository="" revision="12901"
 Add a parameter to the `bp_attachments_pre_get_attachment` filter

 Without the $data parameter it was difficult to know what was the
 requested data to get between the `url` or `path`. So it was pretty
 useless.

 It's now possible to get this information as the third parameter of the
 filter.

 Props sbrajesh

 Fixes #8185
 }}}

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


More information about the buddypress-trac mailing list