[wp-trac] [WordPress Trac] #45769: Expose JSON translation file paths
WordPress Trac
noreply at wordpress.org
Mon Jan 7 13:59:06 UTC 2019
#45769: Expose JSON translation file paths
------------------------------+---------------------
Reporter: swissspidy | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0.3
Component: I18N | Version: 5.0.2
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+---------------------
Comment (by ocean90):
In [changeset:"44418" 44418]:
{{{
#!CommitTicketReference repository="" revision="44418"
I18n: Expose JSON translation file paths in `load_script_textdomain()`.
Removes `file_exist()` checks before calling `load_script_translations()`
to let the determined paths be passed to `load_script_translations()`
which provides its own file check and the possibility to filter the path.
Props swissspidy, johnbillion, ocean90.
See #45769.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45769#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list