Skip to content

Commit 93d973e

Browse files
authored
Update best-practices-asset-management.md
1 parent 43b4f72 commit 93d973e

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
@@ -10,7 +10,7 @@ Always register CSS and JavaScript first instead of directly enqueueing them. Th
1010

1111
#### Always register assets globally
1212

13-
Never scope a script registration inside `is_admin()` or another check to prevent registration collision.
13+
Never scope a script registration inside `is_admin()` or another check to prevent registration collision. Only scope enqueues.
1414

1515
#### Store the string used to register/enqueue an asset in a static class variable or PHP constant
1616

0 commit comments

Comments
 (0)