[wp-trac] [WordPress Trac] #62146: WordPress 6.7.0 beta1 is failing to load scripts.

WordPress Trac noreply at wordpress.org
Tue Oct 1 17:23:53 UTC 2024


#62146: WordPress 6.7.0 beta1 is failing to load scripts.
---------------------------+-------------------------
 Reporter:  nendeb55       |       Owner:  jonsurrell
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  6.7
Component:  Script Loader  |     Version:  trunk
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:  javascript
---------------------------+-------------------------
Changes (by cbravobernal):

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


Comment:

 In [changeset:"59154" 59154]:
 {{{
 #!CommitTicketReference repository="" revision="59154"
 Script Modules: prevent broken links by using includes_url.

 [59083] introduced an issue where Script Modules registered src does not
 correctly respect the includes path.

 Before that change, script modules were registered using includes_url. The
 patch used a hard-coded path which breaks when sites are not served from
 the root, e.g. the site root is https://example.com/wp instead of
 https://example.com/.

 Follow-up to [59083].

 Props nendeb55, jonsurrell, cbravobernal.

 Fixes #62146.
 }}}

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


More information about the wp-trac mailing list