[wp-trac] [WordPress Trac] #38788: Make get_available_languages() filtrable

WordPress Trac noreply at wordpress.org
Tue Nov 15 09:53:18 UTC 2016


#38788: Make get_available_languages() filtrable
-------------------------+---------------------
 Reporter:  yoavf        |       Owner:  pento
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.7
Component:  I18N         |     Version:  trunk
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+---------------------

Comment (by ocean90):

 Replying to [comment:5 pento]:
 > Sometimes, a language file may not exist in exactly the format or
 location that get_available_languages() expects it to be in

 For this case, wouldn't it make more sense to have a
 `pre_get_available_languages` filter instead?

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


More information about the wp-trac mailing list