Skip to:
Content

BuddyPress.org

Changes between Version 1 and Version 2 of Ticket #7193, comment 7


Ignore:
Timestamp:
09/21/2016 12:54:53 AM (3 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7193, comment 7

    v1 v2  
    11`auto-create.patch` auto creates the registration and activation pages when user registration is turned on.  Includes unit tests.
    22
    3 - Notice how I'm using `bp_core_add_page_mappings( array( 'pizza' ) )`?  It's because we can't pass `'register'` and `'activate'` since this is automatically done inside that function.)
     3- Notice how I'm using `bp_core_add_page_mappings( array( 'pizza' ) )`?  It's because we can't pass `'register'` and `'activate'` since the `'register'` and `'activate'` logic are automatically done inside that function.
    44- I've changed `bp_get_signup_allowed()` to simply use `bp_get_option( 'users_can_register' )`.  I outlined the reasoning here: https://buddypress.trac.wordpress.org/ticket/6176#comment:7
    55