[wp-trac] [WordPress Trac] #45769: Expose JSON translation file paths

WordPress Trac noreply at wordpress.org
Mon Jan 7 14:41:58 UTC 2019


#45769: Expose JSON translation file paths
------------------------------+----------------------
 Reporter:  swissspidy        |       Owner:  ocean90
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.0.3
Component:  I18N              |     Version:  5.0.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------
Changes (by ocean90):

 * owner:  (none) => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

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

 Merge of [44418] to the 5.0 branch.

 Props swissspidy, johnbillion, ocean90.
 Fixes #45769.
 }}}

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


More information about the wp-trac mailing list