[wp-trac] [WordPress Trac] #44758: The REST API is not respecting the user's locale properly.

WordPress Trac noreply at wordpress.org
Thu Oct 18 21:10:20 UTC 2018


#44758: The REST API is not respecting the user's locale properly.
-------------------------------------------------+-------------------------
 Reporter:  youknowriad                          |       Owner:  pento
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.0
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion has-patch has-unit-      |     Focuses:  rest-api
  tests dev-feedback                             |
-------------------------------------------------+-------------------------
Changes (by danielbachhuber):

 * owner:  (none) => pento
 * status:  new => assigned


Comment:

 @TimothyBlynJacobs I love how deviously simple `44758.2.diff` is. As far
 as naming goes, I'd prefer `get_current_locale()` (similar to
 `get_current_screen()`), but mine is not a strongly held opinion.

 @flixos90 @swissspidy @ocean90 would love your thoughts on `44758.2.diff`
 if you have them.

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


More information about the wp-trac mailing list