[wp-trac] [WordPress Trac] #45098: Introduce WP_REST_Block_Renderer_Controller and WP_REST_Blocks_Controller classes

WordPress Trac noreply at wordpress.org
Fri Nov 2 03:46:33 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 fixed-5.0  |     Focuses:  rest-api
------------------------------------------------+-----------------------

Comment (by peterwilsoncc):

 [attachment:"45098.7.diff"] is [attachment:"45098.5.diff"] but with the
 roles upgrade routine modified to avoid updating the option 33 odd times.

 * modified the permissions to use those as originally used by the feature
 plugin to account for custom roles and capabilities.
 * The meta cap changes are no longer required as the primitive caps exist
 and the edit_post and other default meta caps map to the post types
 primitive.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45098#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list