[buddypress-trac] [BuddyPress] #5158: strstr() [function.strstr]: Empty delimiter in bp_is_current_component () when $component is empty

buddypress-trac noreply at wordpress.org
Mon Sep 2 12:20:06 UTC 2013


#5158: strstr() [function.strstr]: Empty delimiter  in bp_is_current_component ()
when $component is empty
--------------------------+---------------------------
 Reporter:  megainfo      |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  1.9
Component:  Core          |     Version:  1.8.1
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"7366"]:
 {{{
 #!CommitTicketReference repository="" revision="7366"
 Always return false when null value is passed to bp_is_current_component()

 This is an improvement on r7361, where only one condition of the component
 check was checked against empty values of `$component`.

 See #5158

 Props megainfo
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5158#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list