[wp-trac] [WordPress Trac] #39006: REST API: Language setting should not be present when no languages are available
WordPress Trac
noreply at wordpress.org
Fri Mar 17 11:57:52 UTC 2017
#39006: REST API: Language setting should not be present when no languages are
available
--------------------------------+-----------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7.4
Component: Options, Meta APIs | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: rest-api
--------------------------------+-----------------------
Comment (by ocean90):
`wp_get_available_translations()` is only required if you want to install
new translations. I don't think the REST API should be able to do that as
it's quite a slow process.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39006#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list