Skip to:
Content

bbPress.org

Changeset 482 for trunk/bb-settings.php


Ignore:
Timestamp:
10/16/2006 06:26:02 PM (20 years ago)
Author:
mdawaffe
Message:

RTL support props Sewar. Fixes #440

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-settings.php

    r470 r482  
    6666require( BBPATH . BBINC . '/deprecated.php');
    6767require( BBPATH . BBINC . '/wp-functions.php');
     68if ( defined('BBLANG') && '' != constant('BBLANG') ) {
     69    include_once(BBPATH . BBINC . '/streams.php');
     70    include_once(BBPATH . BBINC . '/gettext.php');
     71}
    6872if ( !( defined('WP_BB') && WP_BB ) ) {  // Don't include these when WP is running.
    6973    require( BBPATH . BBINC . '/kses.php');
    70     if ( defined('WPLANG') && '' != constant('WPLANG') ) {
    71         include_once(BBPATH . BBINC . '/streams.php');
    72         include_once(BBPATH . BBINC . '/gettext.php');
    73     }
    7474    require( BBPATH . BBINC . '/l10n.php');
    7575}
     
    129129$bb_cache = new BB_Cache();
    130130
    131 $bb_roles = new BB_Roles();
     131// Load the default text localization domain.
     132load_default_textdomain();
     133
     134// Pull in locale data after loading text domain.
     135require_once(BBPATH . BBINC . '/locale.php');
     136$bb_locale = new BB_Locale();
     137
     138$bb_roles  = new BB_Roles();
    132139do_action('bb_got_roles', '');
    133140
Note: See TracChangeset for help on using the changeset viewer.