[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
Sun Jul 9 17:00: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 | Focuses:
--------------------------------------+----------------------------
Changes (by davidbaumwald):
* keywords: good-first-bug has-patch add-to-field-guide => good-first-bug
has-patch
Comment:
@stevenlinx Thanks for the context. However, the changes there are to the
`apply_filters` and `do_action` sides of each hook. In this ticket, these
were not changed. This changed two instances of `add_filter` to
`add_action` where Core was hooking into itself. As such, there's nothing
to note for developers as the name/signature of the hooks themselves
remain unchanged.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58665#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list