Changeset 52325
- Timestamp:
- 12/06/2021 10:12:28 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r52132 r52325 1094 1094 ] 1095 1095 }, 1096 'emoji-banner-text': {1097 options: {1098 patterns: [1099 {1100 match: new RegExp( '\\s*' + BANNER_TEXT.replace( /[\/\*\!]/g, '\\$&' ) ),1101 replacement: ''1102 }1103 ]1104 },1105 files: [1106 {1107 expand: true,1108 flatten: true,1109 src: [1110 BUILD_DIR + 'wp-includes/formatting.php'1111 ],1112 dest: BUILD_DIR + 'wp-includes/'1113 }1114 ]1115 },1116 1096 'source-maps': { 1117 1097 options: { … … 1584 1564 'build:js', 1585 1565 'build:css', 1586 'replace:emoji-banner-text',1587 1566 'replace:source-maps', 1588 1567 'verify:build' -
trunk/src/wp-includes/formatting.php
r52294 r52325 5788 5788 5789 5789 wp_print_inline_script_tag( 5790 sprintf( 'window._wpemojiSettings = %s;', wp_json_encode( $settings ) ) . 5790 sprintf( 'window._wpemojiSettings = %s;', wp_json_encode( $settings ) ) . "\n" . 5791 5791 file_get_contents( sprintf( ABSPATH . WPINC . '/js/wp-emoji-loader' . wp_scripts_get_suffix() . '.js' ) ) 5792 5792 );
Note: See TracChangeset
for help on using the changeset viewer.