Changeset 44946
- Timestamp:
- 03/20/2019 06:57:21 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-general.php
r43571 r44946 184 184 // Add note about deprecated WPLANG constant. 185 185 if ( defined( 'WPLANG' ) && ( '' !== WPLANG ) && $locale !== WPLANG ) { 186 if ( is_multisite() && current_user_can( 'manage_network_options' )187 || ! is_multisite() && current_user_can( 'manage_options' ) ) {188 ?>189 <p class="description">190 <strong><?php _e( 'Note:' ); ?></strong> <?php printf( __( 'The %1$s constant in your %2$s file is no longer needed.' ), '<code>WPLANG</code>', '<code>wp-config.php</code>' ); ?>191 </p>192 <?php193 }194 186 _deprecated_argument( 'define()', '4.0.0', sprintf( __( 'The %1$s constant in your %2$s file is no longer needed.' ), 'WPLANG', 'wp-config.php' ) ); 195 187 }
Note: See TracChangeset
for help on using the changeset viewer.