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

WordPress Trac noreply at wordpress.org
Fri Nov 23 00:42:00 UTC 2018


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

Comment (by pento):

 In [changeset:"43940" 43940]:
 {{{
 #!CommitTicketReference repository="" revision="43940"
 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.
 See #45401.
 }}}

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


More information about the wp-trac mailing list