This should make it clear that the functions only work if the script or style has already been registered. This affects: * `wp_localize_script()` * `wp_set_script_translations()` * `wp_script_add_data()` * `wp_style_add_data()` Follow-up to [7970], [18464], [25594], [31223], [36633], [44169], [44350]. Props audrasjb. Fixes #54044. Built from https://develop.svn.wordpress.org/trunk@51726 git-svn-id: http://core.svn.wordpress.org/trunk@51332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
13 KiB
13 KiB