[wp-trac] [WordPress Trac] #49680: Consider also allowing POST requests for block ServerSideRender endpoint
WordPress Trac
noreply at wordpress.org
Tue Apr 28 00:30:49 UTC 2020
#49680: Consider also allowing POST requests for block ServerSideRender endpoint
------------------------------------------+-----------------------
Reporter: ryankienstra | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.5
Component: REST API | Version: 5.0
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: rest-api
------------------------------------------+-----------------------
Comment (by ryankienstra):
Hi @TimothyBlynJacobs,
Thanks a lot for your suggestion, sorry for the delay.
Is this what you had in mind? https://github.com/WordPress/wordpress-
develop/pull/196/commits/fad2b162985a82fe85dc9d5a2e0d30a008e0aac0
So the only change is adding `WP_REST_Server::CREATABLE`, as you
mentioned.
https://github.com/WordPress/wordpress-develop/pull/196/files
Thanks, Timothy!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49680#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list