[wp-trac] [WordPress Trac] #64174: deprecation notice for conditional scripts
WordPress Trac
noreply at wordpress.org
Mon Nov 10 15:47:22 UTC 2025
#64174: deprecation notice for conditional scripts
-------------------------------------+---------------------
Reporter: hupe13 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.9
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: 2nd-opinion needs-patch | Focuses:
-------------------------------------+---------------------
Changes (by sabernhardt):
* keywords: 2nd-opinion => 2nd-opinion needs-patch
* milestone: Awaiting Review => 6.9
Comment:
T13, T15 and T17 stopped enqueueing the conditional scripts two years ago
(#56699), and T11 did not enqueue any of them. If you update T12, T14 or
T16 before updating WordPress, you should not have the conditional scripts
enqueued because of #58836. However, child themes of any of these might
enqueue the scripts. Plus many other classic themes could have conditional
scripts, with or without a child theme.
@edge22 added comment:44:ticket:63821, suggesting
> Maybe it's better handled silently (or logged only when `SCRIPT_DEBUG`
is enabled), instead of surfacing as a `_doing_it_wrong()` notice.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64174#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list