[buddypress-trac] [BuddyPress Trac] #7302: Improve backward compatibility in `groups_get_group()`.

buddypress-trac noreply at wordpress.org
Wed Oct 26 03:13:24 UTC 2016

#7302: Improve backward compatibility in `groups_get_group()`.
 Reporter:  dcavins           |       Owner:  dcavins
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.7.1
Component:  Groups            |     Version:  2.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |

Comment (by dcavins):

 In [changeset:"11213"]:
 #!CommitTicketReference repository="" revision="11213"
 Improve backward compatibility in groups_get_group().

 In r11090, we changed the signature of `groups_get_group()` to accept
 an integer and added backcompat for the most commonly used former
 signature, an associative array. However, it was also possible to use a
 query-string-style argument. This commit covers that case.

 Fixes #7302.

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

More information about the buddypress-trac mailing list