[wp-trac] [WordPress Trac] #45103: Automatically load JavaScript translations when scripts are enqueued if these exist.

WordPress Trac noreply at wordpress.org
Fri Oct 26 03:54:05 UTC 2018


#45103: Automatically load JavaScript translations when scripts are enqueued if
these exist.
------------------------------------------+-------------------------
 Reporter:  herregroen                    |       Owner:  herregroen
     Type:  enhancement                   |      Status:  reopened
 Priority:  high                          |   Milestone:  5.0
Component:  I18N                          |     Version:  trunk
 Severity:  critical                      |  Resolution:
 Keywords:  needs-unit-tests needs-patch  |     Focuses:  javascript
------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"43828" 43828]:
 {{{
 #!CommitTicketReference repository="" revision="43828"
 Tests: Use `DIR_TESTDATA` in `test_wp_set_script_translation()`.

 `__DIR__` is not available in PHP 5.2.x.

 See #45103.
 }}}

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


More information about the wp-trac mailing list