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

WordPress Trac noreply at wordpress.org
Sun Oct 21 14:50:57 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:  has-patch    |     Focuses:  rest-api
-------------------------+-----------------------
Changes (by danielbachhuber):

 * keywords:  2nd-opinion has-patch has-unit-tests dev-feedback => has-patch


Comment:

 `44758.5.diff` catches one more instance of `is_admin() ?
 get_user_locale() : get_locale()` in `wp_get_jed_locale_data()`.

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


More information about the wp-trac mailing list