Changeset 1331
- Timestamp:
- 06/17/08 15:35:07 (6 months ago)
- Files:
-
- trunk/wp-includes/wpmu-functions.php (modified) (1 diff)
- trunk/wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/wpmu-functions.php
r1319 r1331 1910 1910 add_filter('media_upload_form_url', 'wpmu_upload_bypass_url'); 1911 1911 1912 function mu_locale( $locale ) { 1913 if( defined('WP_INSTALLING') == false ) { 1914 $mu_locale = get_option('WPLANG'); 1915 if( $mu_locale === false ) 1916 $mu_locale = get_site_option('WPLANG'); 1917 1918 if( $mu_locale !== false ) 1919 return $mu_locale; 1920 } 1921 return $locale; 1922 } 1923 add_filter( 'locale', 'mu_locale' ); 1924 1912 1925 ?> trunk/wp-settings.php
r1328 r1331 312 312 define('COOKIEHASH', '' ); 313 313 314 if( defined('WP_INSTALLING') == false ) {315 $locale = get_option('WPLANG');316 if( $locale === false )317 $locale = get_site_option('WPLANG');318 }319 320 314 $wpdb->hide_errors(); 321 315 if( defined( 'MUPLUGINDIR' ) == false )
