[wp-trac] [WordPress Trac] #49387: Run pre_render_block filter in block-renderer REST controller

WordPress Trac noreply at wordpress.org
Mon Feb 10 23:02:46 UTC 2020


#49387: Run pre_render_block filter in block-renderer REST controller
--------------------------------------+-------------------------
 Reporter:  kadamwhite                |       Owner:  kadamwhite
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.4
Component:  Editor                    |     Version:  5.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):

 * focuses:  rest-api =>


Comment:

 Why don't we use the `render_block` function? It looks like the other two
 filters also won't be fired which will cause inconsistencies.

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


More information about the wp-trac mailing list