Changeset 48895 for trunk/src/wp-includes/load.php
- Timestamp:
- 08/27/2020 09:37:33 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r48894 r48895 160 160 // Add a note about the deprecated WP_ENVIRONMENT_TYPES constant. 161 161 if ( defined( 'WP_ENVIRONMENT_TYPES' ) && function_exists( '_deprecated_argument' ) ) { 162 if ( function_exists( '__' ) ) { 163 /* translators: %s: WP_ENVIRONMENT_TYPES */ 164 $message = sprintf( __( 'The %s constant is no longer supported.' ), 'WP_ENVIRONMENT_TYPES' ); 165 } else { 166 $message = sprintf( 'The %s constant is no longer supported.', 'WP_ENVIRONMENT_TYPES' ); 167 } 168 162 169 _deprecated_argument( 163 170 'define()', 164 171 '5.5.1', 165 /* translators: %s: WP_ENVIRONMENT_TYPES */ 166 sprintf( __( 'The %s constant is no longer supported.' ), 'WP_ENVIRONMENT_TYPES' ) 172 $message 167 173 ); 168 174 }
Note: See TracChangeset
for help on using the changeset viewer.