Make WordPress Core

Opened 7 months ago

Last modified 3 months ago

#61492 reopened defect (bug)

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: Editor Keywords: has-patch needs-testing has-testing-info reporter-feedback
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 (9)

#1 @narenin
7 months 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
7 months 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.


7 months ago
#3

  • Keywords has-patch added

#4 @narenin
7 months 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.


7 months ago

#6 @Ankit K Gupta
7 months ago

  • Keywords needs-testing has-testing-info added

#7 @hardikgohil
7 months 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

#8 @desrosj
3 months ago

  • Component changed from Administration to Editor
  • Keywords reporter-feedback added
  • Resolution worksforme deleted
  • Status changed from closed to reopened

I wanted to reopen to give @1benk1 a chance to provide more details. Could you share some more details please?

  • Are you still having this issue?
  • Are you using a default Twenty* theme?
  • Could you share a copy of your post's block structure to test against?

#9 @1benk1
3 months ago

The problem seems to have been fixed now.

Note: See TracTickets for help on using tickets.