[wp-trac] [WordPress Trac] #64372: Additional URL args supplied via enqueued script/style handle cause malformed ver query param when null

WordPress Trac noreply at wordpress.org
Mon Dec 22 00:55:07 UTC 2025


#64372: Additional URL args supplied via enqueued script/style handle cause
malformed ver query param when null
--------------------------------------+--------------------------
 Reporter:  westonruter               |       Owner:  westonruter
     Type:  defect (bug)              |      Status:  closed
 Priority:  low                       |   Milestone:  7.0
Component:  Script Loader             |     Version:  2.6
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61397" 61397]:
 {{{
 #!CommitTicketReference repository="" revision="61397"
 Script Loader: Fix adding default version to script/style URL when args
 are supplied via enqueued handle.

 Also fixes phpdoc for some member variables of `WP_Scripts` and
 `WP_Styles`.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10608

 Follow-up to [61358].

 Props westonruter, peterwilsoncc.
 See #64224, #64238.
 Fixes #64372.
 }}}

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


More information about the wp-trac mailing list