[buddypress-trac] [BuddyPress Trac] #7302: Improve backward compatibility in `groups_get_group()`.
buddypress-trac
noreply at wordpress.org
Mon Oct 24 15:41:22 UTC 2016
#7302: Improve backward compatibility in `groups_get_group()`.
--------------------------+-------------------------
Reporter: dcavins | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.7.1
Component: Groups | Version: 2.7
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------
In r11090, we changed the signature of `groups_get_group()` to accept an
integer (`group_id`) 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, because `wp_parse_args()` could handle
that.
Patch forthcoming.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7302>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list