[wp-trac] [WordPress Trac] #45488: wp_set_script_translations does not load md5-based PO files
WordPress Trac
noreply at wordpress.org
Fri Dec 14 13:42:01 UTC 2018
#45488: wp_set_script_translations does not load md5-based PO files
-------------------------------------------------+-------------------------
Reporter: ettoredn | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0.2
Component: I18N | Version: 5.0
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by swissspidy):
`$relative` should be `js/myscript.js`, not
`themes/<mytheme>/js/myscript.js`. That's what GlotPress uses for the file
name generation and what WP-CLI should use as well.
I'll need to test this again, unless anyone beats me to it.
Note that any patch would need to be rebased against #45528.
Also, I might open a new ticket for the change of loading order
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45488#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list