Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2012 09:19:15 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Use bp_get_option() in more places, and include bp-core-options.php in update wizard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-functions.php

    r5705 r5727  
    930930
    931931        if ( empty( $user_id ) ) {
    932             $errors->add( 'registerfail', sprintf( __('<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a href="mailto:%s">webmaster</a> !', 'buddypress' ), get_option( 'admin_email' ) ) );
     932            $errors->add( 'registerfail', sprintf( __('<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a href="mailto:%s">webmaster</a> !', 'buddypress' ), bp_get_option( 'admin_email' ) ) );
    933933            return $errors;
    934934        }
     
    11091109    $activate_url = esc_url( $activate_url );
    11101110
    1111     $from_name = ( '' == get_option( 'blogname' ) ) ? __( 'BuddyPress', 'buddypress' ) : esc_html( get_option( 'blogname' ) );
     1111    $from_name = ( '' == bp_get_option( 'blogname' ) ) ? __( 'BuddyPress', 'buddypress' ) : esc_html( bp_get_option( 'blogname' ) );
    11121112
    11131113    $message = sprintf( __( "Thanks for registering! To complete the activation of your account please click the following link:\n\n%1\$s\n\n", 'buddypress' ), $activate_url );
Note: See TracChangeset for help on using the changeset viewer.