Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2010 12:31:49 PM (15 years ago)
Author:
apeatling
Message:

Fixing the use of deprecated template tags in bp-default. Merged the fetching of BP runtime settings into one query to significantly reduce the number of run time database hits. Fixed #1916

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-signup.php

    r2617 r2695  
    7171        /* Finally, let's check the blog details, if the user wants a blog and blog creation is enabled */
    7272        if ( isset( $_POST['signup_with_blog'] ) ) {
    73             $active_signup = get_site_option( 'registration' );
     73            $active_signup = $bp->site_options['registration'];
    7474
    7575            if ( 'blog' == $active_signup || 'all' == $active_signup ) {
     
    9595
    9696            /* No errors! Let's register those deets. */
    97             $active_signup = get_site_option( 'registration' );
     97            $active_signup = $bp->site_options['registration'];
    9898
    9999            if ( 'none' != $active_signup ) {
Note: See TracChangeset for help on using the changeset viewer.