mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
REST API: Add en_US to the locales enum.
Props ocean90. Fixes #38528. Built from https://develop.svn.wordpress.org/trunk@39096 git-svn-id: http://core.svn.wordpress.org/trunk@39038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9bc3830845
commit
37858faf96
@ -1069,7 +1069,7 @@ class WP_REST_Users_Controller extends WP_REST_Controller {
|
||||
'locale' => array(
|
||||
'description' => __( 'Locale for the resource.' ),
|
||||
'type' => 'string',
|
||||
'enum' => get_available_languages(),
|
||||
'enum' => array_merge( array( 'en_US' ), get_available_languages() ),
|
||||
'context' => array( 'edit' ),
|
||||
),
|
||||
'nickname' => array(
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-beta1-39095';
|
||||
$wp_version = '4.7-beta1-39096';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user