Changeset 57699
- Timestamp:
- 02/23/2024 05:43:42 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r57682 r57699 3392 3392 $error_message = __( 'Expected string to start with script tag (without attributes) and end with script tag, with optional whitespace.' ); 3393 3393 _doing_it_wrong( __FUNCTION__, $error_message, '6.4' ); 3394 return sprintf( 'console.error(%s)', wp_json_encode( __( 'Function wp_remove_surrounding_empty_script_tags() used incorrectly in PHP.' ) . ' ' . $error_message ) ); 3395 } 3396 } 3394 return sprintf( 3395 'console.error(%s)', 3396 wp_json_encode( 3397 sprintf( 3398 /* translators: %s: wp_remove_surrounding_empty_script_tags() */ 3399 __( 'Function %s used incorrectly in PHP.' ), 3400 'wp_remove_surrounding_empty_script_tags()' 3401 ) . ' ' . $error_message 3402 ) 3403 ); 3404 } 3405 }
Note: See TracChangeset
for help on using the changeset viewer.