[wp-trac] [WordPress Trac] #58665: Update the `wp_print_scripts` filter in default-filters.php to be an action
WordPress Trac
noreply at wordpress.org
Sat Jul 8 14:34:38 UTC 2023
#58665: Update the `wp_print_scripts` filter in default-filters.php to be an action
-------------------------------------------------+-------------------------
Reporter: davidbaumwald | Owner:
| davidbaumwald
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.3
Component: General | Version: 4.2
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch add-to- | Focuses:
field-guide |
-------------------------------------------------+-------------------------
Comment (by davidbaumwald):
@stevenlinx I don't think this should be added to the field guide.
That's usually reserved for larger changes that Devs should be aware of.
In this case, this isn't adding or changing the root hooks. The
`do_action`s have been in place forever. This change simply corrected the
hook type in a place where Core was hooking in itself.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58665#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list