[wp-trac] [WordPress Trac] #29892: get_available_languages() can alternately too and not enough permissive

WordPress Trac noreply at wordpress.org
Wed Oct 8 15:18:52 UTC 2014


#29892: get_available_languages() can alternately too and not enough permissive
-------------------------+------------------------------
 Reporter:  imath        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  I18N         |     Version:  4.0
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  administration
-------------------------+------------------------------
Changes (by ocean90):

 * focuses:   => administration
 * component:  Administration => I18N


Comment:

 This is related to #29297.

 My plan is to deprecate `get_available_languages()` in favor of
 `wp_get_installed_translations()`.

 `wp_get_installed_translations()` needs a change for core translations: It
 should only return the language when all 4 files exists.

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


More information about the wp-trac mailing list