[buddypress-trac] [BuddyPress] #3160: bp_get_blog_avatar filter is too specific

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Apr 20 09:15:54 UTC 2011


#3160: bp_get_blog_avatar filter is too specific
-------------------------+-----------------------------
 Reporter:  djpaul       |      Owner:
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Blogs        |    Version:
 Keywords:  needs-patch  |
-------------------------+-----------------------------
 The filter in bp_get_blog_avatar() takes the form of
 'bp_get_blog_avatar_{BLOGID}'. It should take the blog ID as an argument,
 rather than part of the filter name.

 As-is, it works fine when targeting a specific blog, but it's not
 practical to use this filter to affect a large number of blogs.
 Consideration would have to be given to backwards compatibility.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3160>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list