Skip to:
Content

BuddyPress.org

#8938 closed defect (bug) (fixed)

The rewrite rules for directories are not strict enough

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 12.0.0 Priority: high
Severity: normal Version:
Component: Core Keywords: has-patch
Cc:

Description

A support topic on the BP Rewrites plugin revealed the issue is also available here.

See https://wordpress.org/support/topic/breaks-similarly-named-permalinks/

A . '/?$' is missing at line 1127 of https://buddypress.trac.wordpress.org/browser/trunk/src/bp-core/classes/class-bp-component.php#L1127

Change History (2)

This ticket was mentioned in PR #132 on buddypress/buddypress by @imath.


18 months ago
#1

  • Keywords has-patch added; needs-patch removed

Adds a missing . '/?$' at the end of line 1127 of src/bp-core/classes/class-bp-component.php

Trac ticket: https://buddypress.trac.wordpress.org/ticket/8938

#2 @imath
18 months ago

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

In 13518:

Make sure directory rewrite rules match exact directory slugs

Before this change slugs beginning like directory slugs were wrongly consider as matches. Example: membership which begins like members was parsed as the Members directory.

See #4954
Fixes #8938
Closes https://github.com/buddypress/buddypress/pull/132

Note: See TracTickets for help on using tickets.