#731 closed defect (bug) (fixed)
Reason for not using Customizable Slugs
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | critical | |
Severity: | Version: | ||
Component: | Keywords: | slugs | |
Cc: |
Description
If somebody do this than widgets will not work.
See the code in bp-groups-widgets.php, for example, (from 43rd line):
<a href="<?php echo site_url() . '/groups' ?>" id="newest-groups"><?php _e("Newest", 'buddypress') ?></a> | <a href="<?php echo site_url() . '/groups' ?>" id="recently-active-groups"><?php _e("Active", 'buddypress') ?></a> | <a href="<?php echo site_url() . '/groups' ?>" id="popular-groups" class="selected"><?php _e("Popular", 'buddypress') ?></a>
Not echo site_url() . '/groups' but echo site_url() . BP_GROUPS_SLUG is needed.
Change History (4)
Note: See
TracTickets for help on using
tickets.
slaffik, see: http://trac.buddypress.org/ticket/723 for a workaround that includes your find.