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

WordPress Trac noreply at wordpress.org
Wed Jan 2 00:16:46 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     |     Focuses:
--------------------------+---------------------
Changes (by johnbillion):

 * keywords:  has-patch commit => has-patch


Comment:

 I can't test this right now but it looks like this causes all the
 processing in `load_script_textdomain()` to run three times if there are
 no translation files present. At the moment, the `file_exists()` checks
 guard against this.

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


More information about the wp-trac mailing list