Opened 15 years ago
Closed 15 years ago
#2058 closed defect (bug) (fixed)
'All Groups' link has wrong url
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 1.2.4 | Priority: | minor |
Severity: | Version: | ||
Component: | Groups | Keywords: | has-patch |
Cc: |
Description ¶
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.
Pull Requests
- Loading…
Note: See
TracTickets for help on using
tickets.
patch is tested and works