[buddypress-trac] [BuddyPress Trac] #5588: Notice on Search page setting to None

buddypress-trac noreply at wordpress.org
Sat Apr 26 17:13:31 UTC 2014


#5588: Notice on Search page setting to None
------------------------------+---------------------------
 Reporter:  slaFFik           |       Owner:  boonebgorges
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.1
Component:  Warnings/Notices  |     Version:
 Severity:  minor             |  Resolution:  fixed
 Keywords:                    |
------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8323"]:
 {{{
 #!CommitTicketReference repository="" revision="8323"
 Don't attempt to overload add_root property in
 bp_core_add_root_component()

 The add_root array is defined only for backward compatibility purposes in
 the
 BuddyPress global object, and thus is overloaded rather than defined in
 the
 constructor. This means that adding items directly to the array is
 forbidden
 on recent versions of PHP. As a workaround, we add the item as a separate
 array
 and then swap the array, which is allowed and will not result in notices.

 Fixes #5588
 }}}

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


More information about the buddypress-trac mailing list