Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 16 years ago

#604 closed defect (bug) (fixed)

Directory setup functions override pages created in WordPress

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: Priority: major
Severity: Version: 1.0
Component: Keywords: pages, conflict, current_component
Cc: johnbillion

Description

When you create a page in a member blog with a slug that matches a BP component (groups, members, or blogs), BP will kick in and try to load the directory listing of that component instead of allowing WordPress to show the page.

Steps to reproduce:

  1. In a blog on example.com, publish a page called 'Groups'. This will give you a page at example.com/myblog/groups (or myblog.example.com/groups).
  2. Attempt to visit the page. BuddyPress will try to load the groups-directory.php or plugin-template.php file from the current template and give an error, instead of letting WordPress show the page in the blog's theme.

I'm not sure if this is a problem with the priority of groups_directory_groups_setup() being too high, or whether this is a problem with $bp->current_component being populated when it shouldn't. Or something else.

Change History (1)

#1 @apeatling
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1253]) Fixes #604

Note: See TracTickets for help on using tickets.