[wp-trac] [WordPress Trac] #28472: WordPress should use setlocale() to ensure consistent string, dates, times and numbers handling

WordPress Trac noreply at wordpress.org
Fri Jun 6 16:04:06 UTC 2014


#28472: WordPress should use setlocale() to ensure consistent string, dates, times
and numbers handling
-------------------------+-----------------------------
 Reporter:  howardtw     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  I18N         |    Version:  3.9.1
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 I've grep thru the WordPress source and find no use of "setlocale", I
 think it should use a default setlocale() to ensure consistent string,
 dates, times and numbers handling.

 For example, in Drupal, it is
     setlocale(LC_ALL, 'C');

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


More information about the wp-trac mailing list