[wp-trac] [WordPress Trac] #45098: Introduce WP_REST_Block_Renderer_Controller and WP_REST_Blocks_Controller classes
WordPress Trac
noreply at wordpress.org
Thu Oct 18 15:38:06 UTC 2018
#45098: Introduce WP_REST_Block_Renderer_Controller and WP_REST_Blocks_Controller
classes
--------------------------------------+-----------------------
Reporter: danielbachhuber | Owner: desrosj
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 5.0
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+-----------------------
Comment (by desrosj):
To summarize conversations in Slack, @aduth is experimenting today with
removing the `/blocks` endpoint today in favor of using the pre-existing
`/posts` endpoint.
In case the results of that experiment are not promising, I have attached
a patch for moving the `WP_REST_Block_Renderer_Controller` and
`WP_REST_Blocks_Controller` classes over to core in their current state.
The tests are currently failing for the patch due to the absence of the
`wp_block` post type in core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45098#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list