Skip to content

Commit ca22ac9

Browse files
committed
Update comment to note importance of wp-emoji.js reading from window._wpemojiSettings
1 parent d8845a0 commit ca22ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/_enqueues/lib/emoji-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const settings = /** @type {WPEmojiSettings} */ (
1818
JSON.parse( document.getElementById( 'wp-emoji-settings' ).textContent )
1919
);
2020

21-
// For compatibility with other scripts that read from this global.
21+
// For compatibility with other scripts that read from this global, in particular wp-emoji.js.
2222
window._wpemojiSettings = settings;
2323

2424
/**

0 commit comments

Comments
 (0)