[wp-trac] [WordPress Trac] #49387: Run pre_render_block filter in block-renderer REST controller
WordPress Trac
noreply at wordpress.org
Tue Feb 25 15:04:11 UTC 2020
#49387: Run pre_render_block filter in block-renderer REST controller
---------------------------------------------+-------------------------
Reporter: kadamwhite | Owner: kadamwhite
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.4
Component: Editor | Version: 5.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: rest-api
---------------------------------------------+-------------------------
Changes (by kadamwhite):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"47360" 47360]:
{{{
#!CommitTicketReference repository="" revision="47360"
REST API: Apply all relevant block rendering filters when rendering block
previews.
Several filters were introduced to the render_block method since the
initial implementation of the block-renderer/ endpoints, causing the
output of those endpoints to diverge from the rendered content of blocks
on the frontend.
Props kadamwhite, TimothyBlynJacobs, miinasikk.
Fixes #49387.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49387#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list