[wp-trac] [WordPress Trac] #39178: REST API: Improve strings added after 4.7 string freeze
WordPress Trac
noreply at wordpress.org
Thu Dec 8 03:21:11 UTC 2016
#39178: REST API: Improve strings added after 4.7 string freeze
-------------------------+-------------------------
Reporter: jnylen0 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.7.1
Component: REST API | Version: 4.7
Severity: normal | Keywords: needs-patch
Focuses: |
-------------------------+-------------------------
We fixed a few API bugs in 4.7 that required new error strings. Some of
these were during string freeze, so we repurposed existing strings rather
than adding new ones.
We should go through and update these to better messages and error codes.
For example, [39440] added `rest_orderby_include_missing_include` which
needs a more helpful message and a less verbose error code (see the
`rest_no_search_term_defined` error
[https://core.trac.wordpress.org/browser/trunk/src/wp-includes/rest-
api/endpoints/class-wp-rest-posts-
controller.php?rev=39440&marks=148,153#L135 immediately above]).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39178>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list