Skip to content

Commit d9de749

Browse files
authored
Update best-practices-asset-management.md
1 parent 0ccc8c1 commit d9de749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/best-practices-asset-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This approach allows WordPress to:
66
1. Load registered dependencies
77
1. Chose the printing order & location of files in the DOM
88
1. Print inline script/style alongside referenced files
9-
1. Print inline js variables preceeding scripts to make PHP data available to the script via the Window variable (`wp_localize_script()` -- originally used for "localizing" translated strings from WordPress language packs into in labels needed in scripts).
9+
1. Print inline js variables to make PHP data safely available to the script via the Window variable (`wp_localize_script()` -- originally used for "localizing" translated strings from WordPress language packs into in labels needed in scripts).
1010

1111
#### Break `wp_register_script()` and `wp_register_style()` arguments onto their own lines
1212

0 commit comments

Comments
 (0)