[buddypress-trac] [BuddyPress Trac] #5772: No 404 on registration subpage

buddypress-trac noreply at wordpress.org
Mon Jul 21 20:11:32 UTC 2014

#5772: No 404 on registration subpage
 Reporter:  SGr33n        |       Owner:  djpaul
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.1
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
Changes (by djpaul):

 * owner:   => djpaul
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"8658"]:
 #!CommitTicketReference repository="" revision="8658"
 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

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5772#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list