Changes between Initial Version and Version 1 of Ticket #58664, comment 16
- Timestamp:
- 09/05/2023 08:03:53 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58664, comment 16
initial v1 19 19 20 20 Seems `wp_print_inline_script_tag()` is not particularly suitable for this kind of usage. Wouldn't it be better to try to improve it instead of wrapping all "normal" scripts in WP in that PHP code? 21 22 Also I don't think it is a good change for `wp_print_inline_script_tag()` to accept a callback as well as a string. Seems to just making it all more complex without much benefits. These are all "hard coded" scripts in wp-admin that can (and should) be tweaked or updated as needed.