[buddypress-trac] [BuddyPress Trac] #5451: Groups query overhaul

buddypress-trac noreply at wordpress.org
Wed Oct 19 17:58:00 UTC 2016

#5451: Groups query overhaul
 Reporter:  boonebgorges      |       Owner:  boonebgorges
     Type:  enhancement       |      Status:  closed
 Priority:  high              |   Milestone:  2.7
Component:  Groups            |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |

Comment (by boonebgorges):

 In [changeset:"11199"]:
 #!CommitTicketReference repository="" revision="11199"
 Groups: It should be possible to set arbitrary props on `BP_Groups_Group`

 In a number of places (`user_is_member`, `front_template`), BP sets
 properties on the `BP_Groups_Group` object. The change to magic methods
 (see #5451) broke this process for properties not included in the
 class definition of `BP_Groups_Group`. To maintain compatibility with
 previous use, arbitrary properties can now be fetched and set on
 these objects.

 Props sbrajesh, dcavins.
 Fixes #7296.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5451#comment:45>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list