Make WordPress Core

Opened 2 weeks ago

Closed 2 weeks ago

#61492 closed defect (bug) (worksforme)

For planned articles, pages 2 (to x) do not work in the preview

Reported by: 1benk1's profile 1benk1 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.5.5
Component: Administration Keywords: has-patch needs-testing has-testing-info
Focuses: Cc:

Description

If you plan a multi-page article, the first page is always loaded when you click on page 2 (to x) in the preview.

Steps to reproduce the error:

  1. create a multi-page article
  2. plan it for the future
  3. open the article in the preview
  4. click on page 2

Change History (7)

#1 @narenin
2 weeks ago

Hi @1benk1

I have tried to replicate this issue, it is working fine at my end, could you please provide more details like with which of WordPress and theme you are getting this issue.

#2 @1benk1
2 weeks ago

The problem only seems to occur if the "Post name" option has been selected as the permalink structure.
I have updated the ticket and the steps for reproducing it:

Steps to reproduce the error:

  1. change "Post name" as permalink structure
  2. create a multi-page article
  3. plan it for the future
  4. open the article in the preview
  5. click on page 2

This ticket was mentioned in PR #6900 on WordPress/wordpress-develop by @narenin.


2 weeks ago
#3

  • Keywords has-patch added

#4 @narenin
2 weeks ago

Thanks @1benk1 for providing the issue replication steps.

I am also able to reproduce the issue at my end.

I have also attached PR with the fixes.

https://github.com/WordPress/wordpress-develop/pull/6900

This ticket was mentioned in Slack in #core-test by ankit-k-gupta. View the logs.


2 weeks ago

#6 @Ankit K Gupta
2 weeks ago

  • Keywords needs-testing has-testing-info added

#7 @hardikgohil
2 weeks ago

  • Resolution set to worksforme
  • Status changed from new to closed

Environment:
WordPress: 6.5.5
PHP: 8.0.0
Browser: Chrome 126.0.6478.63 (macOS)
Theme: Twenty Twenty Three

Step for verification:

  1. change "Post name" as permalink structure
  2. create a multi-page article
  3. plan it for the future
  4. open the article in the preview
  5. click on page 2

Test Result:
Page navigation works while previewing a multi-page article which is scheduled.

Test Artefact:
https://www.awesomescreenshot.com/video/28951055?key=41c9dbe83b1fd7f3658c0ed169286242

Note: See TracTickets for help on using tickets.