Skip to:
Content

BuddyPress.org

Changeset 3073


Ignore:
Timestamp:
06/27/2010 01:05:01 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2455 props francescolaffi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-forums/bp-forums-admin.php

    r2665 r3073  
    154154
    155155    $file = substr( $file, 0, -2 );
    156     $file .= "\n" .   '$bb->custom_user_table = "' . $wpdb->users . '";';
    157     $file .= "\n" .   '$bb->custom_user_meta_table = "' . $wpdb->usermeta . '";';
    158     $file .= "\n\n" . '$bb->uri = "' . BP_PLUGIN_URL . '/bp-forums/bbpress/";';
    159     $file .= "\n" .   '$bb->name = "' . get_blog_option( BP_ROOT_BLOG, 'name' ) . ' ' . __( 'Forums', 'buddypress' ) . '";';
     156    $file .= "\n" .   '$bb->custom_user_table = \'' . $wpdb->users . '\';';
     157    $file .= "\n" .   '$bb->custom_user_meta_table = \'' . $wpdb->usermeta . '\';';
     158    $file .= "\n\n" . '$bb->uri = \'' . BP_PLUGIN_URL . '/bp-forums/bbpress/\';';
     159    $file .= "\n" .   '$bb->name = \'' . get_blog_option( BP_ROOT_BLOG, 'name' ) . ' ' . __( 'Forums', 'buddypress' ) . '\';';
    160160
    161161    if ( bp_core_is_multisite() )
     
    163163
    164164    if ( defined( 'AUTH_SALT' ) )
    165         $file .= "\n\n" . 'define(\'BB_AUTH_SALT\', "' . addslashes( AUTH_SALT ) . '");';
     165        $file .= "\n\n" . 'define(\'BB_AUTH_SALT\', \'' . addslashes( AUTH_SALT ) . '\');';
    166166
    167167    if ( defined( 'LOGGED_IN_SALT' ) )
    168         $file .= "\n" .   'define(\'BB_LOGGED_IN_SALT\', "' . addslashes( LOGGED_IN_SALT ) . '");';
     168        $file .= "\n" .   'define(\'BB_LOGGED_IN_SALT\', \'' . addslashes( LOGGED_IN_SALT ) . '\');';
    169169
    170170    if ( defined( 'SECURE_AUTH_SALT' ) )
    171         $file .= "\n" .   'define(\'BB_SECURE_AUTH_SALT\', "' . addslashes( SECURE_AUTH_SALT ) . '");';
     171        $file .= "\n" .   'define(\'BB_SECURE_AUTH_SALT\', \'' . addslashes( SECURE_AUTH_SALT ) . '\');';
    172172
    173173    $file .= "\n\n" . 'define(\'WP_AUTH_COOKIE_VERSION\', 2);';
Note: See TracChangeset for help on using the changeset viewer.