| 1 | <?php
|
|---|
| 2 | if ( !is_multisite() ) {
|
|---|
| 3 | if ( defined( 'WPLANG' ) && ( '' !== WPLANG ) )
|
|---|
| 4 | add_filter( 'locale', create_function( '', 'return WPLANG;' ) );
|
|---|
| 5 | elseif ( defined( 'WPLANG' ) )
|
|---|
| 6 | add_filter( 'locale', create_function( '', 'return "en_US";' ) );
|
|---|
| 7 | }
|
|---|