[wp-trac] [WordPress Trac] #42202: REST API: no equivalent for `who=authors` to display potential authors
WordPress Trac
noreply at wordpress.org
Sat Apr 14 20:25:42 UTC 2018
#42202: REST API: no equivalent for `who=authors` to display potential authors
-------------------------+-----------------------
Reporter: iseulde | Owner: joehoyle
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.0
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+-----------------------
Comment (by danielbachhuber):
I still think the REST API should expose a `who` query parameter that's
passed directly through to `WP_User_Query`.
While the underlying implementation of `user_level != 0` is awful, now
isn't the best time to try to refactor it.
It's worth noting capabilities can be modified at runtime, which makes
them inherently unpredictable to query against.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42202#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list