[buddypress-trac] [BuddyPress Trac] #5660: add parameter to bp_has_blogs filter

buddypress-trac noreply at wordpress.org
Sat May 24 12:13:52 UTC 2014


#5660: add parameter to bp_has_blogs filter
----------------------------------------+------------------
 Reporter:  needle                      |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  2.1
Component:  Blogs                       |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |
----------------------------------------+------------------

Comment (by boonebgorges):

 In [changeset:"8447"]:
 {{{
 #!CommitTicketReference repository="" revision="8447"
 Set default search terms before function params are parsed in
 bp_has_blogs()

 By getting the default value of the search_terms parameter from $_REQUEST
 before parameters are parsed, we ensure that 'search_terms' is passed to
 the
 bp_parse_args() filter in the same way as the rest of the function params.

 See #5456 and r8116 for a similar change in bp_has_groups()

 See #5660
 }}}

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


More information about the buddypress-trac mailing list