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

buddypress-trac noreply at wordpress.org
Wed Oct 26 03:12:55 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  |
------------------------------+----------------------
Changes (by dcavins):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11212"]:
 {{{
 #!CommitTicketReference repository="" revision="11212"
 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 (for 2.7 branch).
 }}}

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


More information about the buddypress-trac mailing list