[wp-trac] [WordPress Trac] #60584: Pagination URLs don't work when previewing scheduled posts

WordPress Trac noreply at wordpress.org
Tue Feb 20 17:03:18 UTC 2024


#60584: Pagination URLs don't work when previewing scheduled posts
-------------------------------+-----------------------------
 Reporter:  ishiiyoshinori     |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  trunk
 Severity:  normal             |   Keywords:  has-patch
  Focuses:                     |
-------------------------------+-----------------------------
 When previewing a scheduled post that includes <!--nextpage-->, the URLs
 returned by wp_link_pages() are incorrect.

 Expected second page URL:
 https://example.com/?p=12345&page=2&preview=true

 The URL of the second page returned by wp_link_pages():
 https://example.com/?p=12345%2F2&preview=true

 I found the same bug report in ticket #32295, which was created 9 years
 ago, so please check the updated patch for the latest trunk.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60584>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list