[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
Thu Jun 29 01:43:35 UTC 2023
#58665: Update the `wp_print_scripts` filter in default-filters.php to be an action
---------------------------+----------------------------------------
Reporter: davidbaumwald | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.3
Component: General | Version: 4.2
Severity: normal | Keywords: good-first-bug needs-patch
Focuses: |
---------------------------+----------------------------------------
Original reporter is @cybr.
In src/wp-includes/default-filters.php, `wp_print_scripts` is added as a
filter, but is actually an action. Underneath they are the same, but
this should be updated to use the correct alias with `add_action`.
This would be a great first bug for a newer contributor, so marking as
such.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58665>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list