[wp-trac] [WordPress Trac] #60742: Script Modules: Module src not filterable.

WordPress Trac noreply at wordpress.org
Fri Mar 15 11:27:28 UTC 2024


#60742: Script Modules: Module src not filterable.
-------------------------------------------+-------------------------
 Reporter:  dd32                           |       Owner:  swissspidy
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  6.5
Component:  Script Loader                  |     Version:  trunk
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-reviewed  |     Focuses:
-------------------------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"57840" 57840]:
 {{{
 #!CommitTicketReference repository="" revision="57840"
 Script Loader: Add new `script_module_loader_src` filter for the script
 module `src`.

 Ensures parity with the `script_loader_src` filter for regular scripts,
 allowing the URL to be filtered, for example to load them from a CDN or
 alter query parameters.

 Props dd32, peterwilsoncc, westonruter.
 Fixes #60742.
 }}}

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


More information about the wp-trac mailing list