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

WordPress Trac noreply at wordpress.org
Tue Nov 13 14:37:49 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:  has-patch fixed-5.0 needs-dev-note  |     Focuses:  javascript
------------------------------------------------+-------------------------

Comment (by ocean90):

 Related report: #45256

 [attachment:"45103.10.diff"]:
 * `else if` should be `elseif`: https://make.wordpress.org/core/handbook
 /best-practices/coding-standards/php/#use-elseif-not-else-if
 * Can we add a test for this case?

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


More information about the wp-trac mailing list