[wp-trac] [WordPress Trac] #9911: Add new filter to control content splitting into multiple pages

WordPress Trac noreply at wordpress.org
Tue Oct 20 06:32:18 UTC 2015


#9911: Add new filter to control content splitting into multiple pages
-------------------------------------+---------------------------
 Reporter:  sirzooro                 |       Owner:  DrewAPicture
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  4.4
Component:  Posts, Post Types        |     Version:  2.7.1
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-refresh  |     Focuses:  template
-------------------------------------+---------------------------
Changes (by DrewAPicture):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35285"]:
 {{{
 #!CommitTicketReference repository="" revision="35285"
 Query: Introduce the `content_pagination` filter, which makes it possible
 to manipulate how post content is split into "pages" in
 `WP_Query::setup_postdata()`.

 The "pages" — or chunks of post content – are determined by splitting
 based on the presence of `<!-- nextpage -->` tags in the post content.

 Props sirzooro, chriscct7.
 Fixes #9911.
 }}}

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


More information about the wp-trac mailing list