#6539 closed defect (bug) (fixed)
404 page does not appear when using static home page
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.5 |
Component: | General | Keywords: | has-patch tested |
Focuses: | Cc: |
Description
If an installation is configured to have the home page set to a static page, with the "Front page" set but the "Posts page" unset, instead of the 404 template showing up when necessary, all pages are loaded and displayed.
Attachments (3)
Change History (23)
#1
@
15 years ago
- Keywords has-patch added
On r7591 I'm not seeing a error, if I enter garbage in the browser's navigation bar I get the 404 page as expected. Is there anything in particular that it should be doing?
#2
@
15 years ago
I encountered this after upgrading from 2.3.3, and reproduced it on a clean 2.5 installation. The patch corrected the issue.
#5
@
15 years ago
- Milestone changed from 2.6 to 2.5.1
I'm not sure whether it's cool for a non-developer to change milestones, but here goes.
#6
@
15 years ago
- Milestone changed from 2.5.1 to 2.6
Usually we milestone for the current development version (or the next one if no patch is attached) and once it's comitted and deemed important enough it will be backported for a maintenance release.
#13
follow-up:
↓ 14
@
15 years ago
The patch typecasts $reqpage to integer temporarily only when 404. This way it won't break setting posts page.
#14
in reply to:
↑ 13
@
15 years ago
The patch typecasts $reqpage to integer temporarily only when 404. This way it won't break setting posts page.
The patch typecasts $reqpage to string.
@
15 years ago
Patch for 2.5 branch. Typecasts $reqpage to string to make the conditional work properly.
@
15 years ago
Patch 6539.patch didn't work for me. Merged the additional equal sign fix from the query-404.diff patch and tested working on WordPress 2.5.1.
Patch for fix