[buddypress-trac] [BuddyPress] #4023: groups_check_group_exists() - documentation/codex states parameter is group_id, whereas is actually group_slug

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Feb 19 03:42:50 UTC 2012


#4023: groups_check_group_exists() - documentation/codex states parameter is
group_id,  whereas is actually group_slug
--------------------------+-----------------------------
 Reporter:  rcain         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Groups        |    Version:  1.5.3
 Severity:  trivial       |   Keywords:
--------------------------+-----------------------------
 function groups_check_group_exists() - documentation/codex states
 parameter is group_id, whereas BP_Groups_Group::group_exists() (which it
 calls) actually requires group_slug

 note: further issue - since this function actually (and usefully!) returns
 group_id given group_slug it should logically be renamed to eg:
 groups_get_id($group_slug) (ie. the converse of existing function
 groups_get_slug(group_id).

 note: this refers to BP V 1.5.4 - not available yet on 'version' drop down
 on this ticket system.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4023>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list