[wp-trac] [WordPress Trac] #35965: Unit test for get_locale()

WordPress Trac noreply at wordpress.org
Fri Feb 26 15:12:20 UTC 2016


#35965: Unit test for get_locale()
-------------------------+-----------------------------
 Reporter:  realloc      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  I18N         |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 I wrote some tests for get_locale().

 NB: The part from line 44 to 51 is hard to test since WP_LANG is
 predefined as an empty string in wp-tests-config.php

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35965>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list