WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.53k stars 4.21k forks source link

Pagination on Blog Home broken #67157

Closed JBelthoff closed 2 hours ago

JBelthoff commented 3 hours ago

Description

Greetings,

On a fresh install of WordPress 6.7, in the theme editor I edited the Blog Home and selected "News blog with sidebar" from the Design dropdown.

This causes the pagination to create links like: /?query-44-page=2

The pagination links should be /page/2/

Step-by-step reproduction instructions

  1. Fresh install of WordPress 6.7
  2. Import themeunittestdata.wordpress.xml
  3. Goto Appearance -> Editor
  4. Click Templates
  5. Select Blog Home
  6. Open the Design on the right sidebar for the template
  7. Select News blog with sidebar
  8. Visit the home page and inspect the pagination links.

Screenshots, screen recording, code snippet

No response

Environment info

WordPress 6.7 - TwentyTwentyFive

Please confirm that you have searched existing issues in the repo.

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Please confirm which theme type you used for testing.

carolinan commented 2 hours ago

Hi Is the pagination actually broken? In what way? Please describe the bug and the expected result in more detail.

As far as I am aware, this URL is used because this design uses multiple query loops. So it needs to use the id of query.

The design described in the issue is from Twenty Twenty-Five, so to reproduce this, we would also need step by step instructions for reproducing the problem with any query loop.

JBelthoff commented 2 hours ago

So, are you saying anytime there are multiple Query Loops in a page, or design, that one, or more of them, will create links like /?query-44-page=2 rather then /page/2/?

If so, then this is not a bug.

JBelthoff commented 2 hours ago

Okay, I see. Closing this....