Skip to:
Content

bbPress.org

Changeset 1920 for trunk/bb-settings.php


Ignore:
Timestamp:
01/20/2009 01:54:11 AM (17 years ago)
Author:
sambauers
Message:

Load localisation earlier. Fixes #1024. Props Erko.Risthein

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-settings.php

    r1886 r1920  
    715715 */
    716716$bb_default_secret_key = 'put your unique phrase here';
     717
     718
     719
     720/**
     721 * Initialise localisation
     722 */
     723
     724// Load the default text localization domain.
     725load_default_textdomain();
     726
     727// Pull in locale data after loading text domain.
     728require_once( BB_PATH . BB_INC . 'class.bb-locale.php' );
     729
     730/**
     731 * Localisation object
     732 */
     733$bb_locale = new BB_Locale();
    717734
    718735
     
    9871004
    9881005/**
    989  * Initialise localisation
    990  */
    991 
    992 // Load the default text localization domain.
    993 load_default_textdomain();
    994 
    995 // Pull in locale data after loading text domain.
    996 require_once( BB_PATH . BB_INC . 'class.bb-locale.php' );
    997 
    998 /**
    999  * Localisation object
    1000  */
    1001 $bb_locale = new BB_Locale();
    1002 
    1003 
    1004 
    1005 /**
    10061006 * Reference to $wp_roles
    10071007 */
Note: See TracChangeset for help on using the changeset viewer.