- Timestamp:
- 08/29/2024 12:29:00 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/classes/class-bp-members-component.php
r13979 r14011 228 228 229 229 // Set-up Extra permastructs for the register and activate pages. 230 $this->register_permastruct = bp_get_signup_ slug() . '/%' . $this->rewrite_ids['member_register'] . '%';231 $this->activate_permastruct = bp_get_activate_ slug() . '/%' . $this->rewrite_ids['member_activate'] . '%';230 $this->register_permastruct = bp_get_signup_root_slug() . '/%' . $this->rewrite_ids['member_register'] . '%'; 231 $this->activate_permastruct = bp_get_activate_root_slug() . '/%' . $this->rewrite_ids['member_activate'] . '%'; 232 232 233 233 // Init the User's ID to use to build the Nav for. … … 726 726 ), 727 727 'member_activate' => array( 728 'regex' => bp_get_activate_ slug() . '/?$',728 'regex' => bp_get_activate_root_slug() . '/?$', 729 729 'order' => 40, 730 730 'query' => 'index.php?' . $this->rewrite_ids['member_activate'] . '=1', 731 731 ), 732 732 'member_activate_key' => array( 733 'regex' => bp_get_activate_ slug() . '/([^/]+)/?$',733 'regex' => bp_get_activate_root_slug() . '/([^/]+)/?$', 734 734 'order' => 30, 735 735 'query' => 'index.php?' . $this->rewrite_ids['member_activate'] . '=1&' . $this->rewrite_ids['member_activate_key'] . '=$matches[1]', 736 736 ), 737 737 'member_register' => array( 738 'regex' => bp_get_signup_ slug() . '/?$',738 'regex' => bp_get_signup_root_slug() . '/?$', 739 739 'order' => 20, 740 740 'query' => 'index.php?' . $this->rewrite_ids['member_register'] . '=1',
Note:
See TracChangeset
for help on using the changeset viewer.