[wp-trac] [WordPress Trac] #40748: Use REST API for Community Events
WordPress Trac
noreply at wordpress.org
Wed May 17 05:26:16 UTC 2017
#40748: Use REST API for Community Events
-------------------------------------------------+-------------------------
Reporter: iandunn | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: REST API | Release
Severity: normal | Version: trunk
Keywords: has-patch dev-feedback needs-unit- | Resolution:
tests | Focuses: javascript
-------------------------------------------------+-------------------------
Comment (by rmccue):
Replying to [comment:5 azaozz]:
> Looking at the REST API patches on #40702, think there is a
misunderstanding here. Why is the scope so much expanded and the
functionality so different when trying to switch from admin-ajax to REST?
I agree with @azaozz here, we don't need two controllers and their
boilerplate for this functionality. My original thinking was to keep this
quite minimal.
We _can_ have schema if we really want, but I don't see that there's a
huge benefit to it. We don't really care about other people using the
endpoint, and it's not part of our "public" REST API (which is why it has
a different namespace).
Will work on an updated patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40748#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list