Make WordPress Core

Ticket #31318: 31318-3.patch

File 31318-3.patch, 576 bytes (added by brokenflipside, 9 years ago)

Uploaded the wrong file, this is correct

  • wp-admin/options-general.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    308308                <th width="33%" scope="row"><label for="WPLANG"><?php _e( 'Site Language' ); ?></label></th>
    309309                <td>
    310310                        <?php
    311                         $locale = get_locale();
     311                        $locale = get_option( 'WPLANG' );
    312312                        if ( ! in_array( $locale, $languages ) ) {
    313313                                $locale = '';
    314314                        }