Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56312, comment 1


Ignore:
Timestamp:
07/30/2022 02:42:46 PM (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56312, comment 1

    initial v1  
    66I suspect this is because `name` is one of the [https://codex.wordpress.org/Reserved_Terms reserved terms] in WordPress, which specifically refers to a post slug, and since a post with an empty slug cannot be found, the query defaults to the posts page.
    77
    8 This sounds like an issue with should be able to fix. I was able to reproduce it on a clean install:
    9 * On Reading Settings screen, assign a static front page and a posts page.
    10 * Go to the home URL and check that the static front page is displayed.
    11 * Append the `?name` parameter to the URL.
    12 * Now the posts page is displayed instead of the static front page.
     8This sounds like an issue we should be able to fix. I was able to reproduce it on a clean install:
     91. On Reading Settings screen, assign a static front page and a posts page.
     102. Go to the home URL and check that the static front page is displayed.
     113. Append the `?name` parameter to the URL.
     124. Now the posts page is displayed instead of the static front page.