Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. git-svn-id: https://develop.svn.wordpress.org/trunk@59154 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information