#7302 closed defect (bug) (fixed)
Improve backward compatibility in `groups_get_group()`.
Reported by: | dcavins | Owned by: | dcavins |
---|---|---|---|
Milestone: | 2.7.1 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Groups | Keywords: | has-patch commit |
Cc: | dcavins |
Description
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.
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Handle integers, arrays, and query string arguments.