-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Site Settings: Add support for the language setting to the API (#8568)
* Add lang_id to the list of options available in the settings response * Prevent modification & return an error code if the client cannot change the setting * Download language packs if needed & available * Let the `lang_id` param persist to the `WPLANG` option behind the scenes & control the setting * Default to US english when option is empty * Return an error code when the setting is "blocked" for the client.
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters