[wp-trac] [WordPress Trac] #38590: Don't use `get_available_languages()` in `_load_textdomain_just_in_time()`

WordPress Trac noreply at wordpress.org
Mon Nov 14 20:04:41 UTC 2016


#38590: Don't use `get_available_languages()` in `_load_textdomain_just_in_time()`
--------------------------+-----------------------
 Reporter:  ocean90       |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.7
Component:  I18N          |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => accepted
 * milestone:  Future Release => 4.7


Comment:

 We should check the return value of `glob()` before merging it because
 `glob()` returns `false` in case of a failure.

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


More information about the wp-trac mailing list