Skip to:
Content

BuddyPress.org

Changeset 8658


Ignore:
Timestamp:
07/21/2014 08:11:31 PM (10 years ago)
Author:
djpaul
Message:

Core: match the registration route precisely.

Previously, you could enter the registration route with non-existent
parts, such as /registration/test/, and BuddyPress would serve up the
registration template.

By checking if bp_current_action() is set (the /test/ part), we can
bail out of bp_core_screen_signup(). BuddyPress will correctly 404
these incorrect URLs.

Fixes #5772

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.