Ticket #39207: 39207.diff
File 39207.diff, 757 bytes (added by , 8 years ago) |
---|
-
src/wp-admin/options-general.php
149 149 150 150 // Add note about deprecated WPLANG constant. 151 151 if ( defined( 'WPLANG' ) && ( '' !== WPLANG ) && $locale !== WPLANG ) { 152 if ( is_super_admin() ) { 152 if ( is_multisite() && current_user_can( 'manage_network_options' ) 153 || ! is_multisite() && current_user_can( 'manage_options' ) ) { 153 154 ?> 154 155 <p class="description"> 155 156 <strong><?php _e( 'Note:' ); ?></strong> <?php printf( __( 'The %s constant in your %s file is no longer needed.' ), '<code>WPLANG</code>', '<code>wp-config.php</code>' ); ?>