[buddypress-trac] [BuddyPress] #2058: 'All Groups' link has wrong url

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Feb 24 16:19:30 UTC 2010


#2058: 'All Groups' link has wrong url
--------------------+-------------------------------------------------------
Reporter:  dwenaus  |       Owner:       
    Type:  defect   |      Status:  new  
Priority:  trivial  |   Milestone:  1.2.2
Keywords:           |  
--------------------+-------------------------------------------------------
 in the file bp-themes/bp-default/groups/index.php
 on the line
 `<li class="selected" id="groups-all"><a href="<?php bp_root_domain()
 ?>"><?php printf( __( 'All Groups (%s)', 'buddypress' ),
 bp_get_total_group_count() ) ?></a></li>`

 `bp_root_domain()`

 should be:

 `bp_get_root_domain() . '/' . BP_GROUPS_SLUG`

 this is not a big deal because all the action is happening with javascript
 which ignores the url. however the link is incorrect - and if someone were
 to copy the url for use as a direct link, it wouldn't work.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2058>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list