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

WordPress Trac noreply at wordpress.org
Fri Mar 15 14:59:26 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:
  fixed-major                                    |
-------------------------------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"57844" 57844]:
 {{{
 #!CommitTicketReference repository="" revision="57844"
 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.

 Reviewed by swissspidy.
 Merges [57840] to the to the 6.5 branch.

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

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


More information about the wp-trac mailing list