[wp-trac] [WordPress Trac] #45401: Dynamic blocks not working when added after a page break block.

WordPress Trac noreply at wordpress.org
Mon Dec 17 19:28:53 UTC 2018


#45401: Dynamic blocks not working when added after a page break block.
--------------------------+---------------------
 Reporter:  youknowriad   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.0
Component:  Editor        |     Version:  5.0
 Severity:  normal        |  Resolution:
 Keywords:  fixed-5.0     |     Focuses:
--------------------------+---------------------

Comment (by desrosj):

 In [changeset:"44276" 44276]:
 {{{
 #!CommitTicketReference repository="" revision="44276"
 Query: Remove nextpage block delimiters when setting up global post data.

 `WP_Query::setup_postdata()` splits the post up by `<!--nextpage-->`,
 which causes invalid block data to be contained in the post content.

 This change removes the `<!-- wp:nextpage -->` and `<!-- /wp:nextpage
 -->`, as well.

 Props pento, youknowriad, azaozz, noisysocks.

 Merges [43940] into trunk.

 See #45401.
 }}}

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


More information about the wp-trac mailing list