Changes between Version 1 and Version 2 of Ticket #57427, comment 6
- Timestamp:
- 01/06/2023 11:47:14 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57427, comment 6
v1 v2 3 3 > Yes, it appears so! 4 4 5 Don't think that's possible ? :)5 Don't think that's possible unless used incorrectly? :) 6 6 7 7 As @SergeyBiryukov mentioned `WP_Locale` is initialized (in wp-settings.php) relatively early. `$scripts->add_inline_script()` becomes available later, after the WP_Dependencies API is initialized and is expected to be used on or after the `init` action (or throws "Doing it wrong!").