[wp-trac] [WordPress Trac] #64174: deprecation notice for conditional scripts

WordPress Trac noreply at wordpress.org
Wed Nov 5 21:16:47 UTC 2025


#64174: deprecation notice for conditional scripts
--------------------------+------------------------------
 Reporter:  hupe13        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:
--------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:  close => 2nd-opinion


Comment:

 I have not found any other complaints yet, but I want to suggest keeping
 the deprecation notices **until** one of the late release candidates.

 That way, more theme and plugin authors can know that scripts should not
 have the `conditional` argument (or depend on such scripts). However, if
 the script registration is not changed before general release, removing
 the notice could avoid adding noise for end users who check their sites
 with debug before updating (and for the extenders who have higher-priority
 issues to fix).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64174#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list