#24960 closed defect (bug) (fixed)
Multisite activation page header shows as "Page Not Found"
Reported by: | nullvariable | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | 3.7 |
Component: | Multisite | Keywords: | dev-feedback has-patch |
Focuses: | Cc: |
Description
When activating a new user the header for wp-activate.php renders the title as "Page Not Found" and returns a status code of 404.
This appears to be the case with an activation key or without.
The attached patch modifies the file to unset the 404 status and apply a generic title to all versions of the page.
Attachments (2)
Change History (13)
#2
@
11 years ago
this fix could mirror the current fix applied to wp-signup.php found on line 35.
I added a filter to the wp_title function that outputs a more descriptive generic title but this could go either way.
If this fix seems to be the best way to approach it currently, it may be worth going back to wp-signup.php and adjusting it to follow a similar pattern.
#3
follow-up:
↓ 8
@
11 years ago
- Keywords needs-patch added; has-patch removed
I can confirm the 'Page not found' title in trunk on wp-activate.php
. The header is also a 404.
I haven't tested the patch yet or investigated the underlying issue, but it appears to do too much at first glance by adding a filter/function for the title.
#4
@
11 years ago
- Keywords has-patch added; needs-patch removed
I've uploaded a patch that only resolves the 404 issue.
#7
follow-up:
↓ 9
@
11 years ago
I thought we had fixed this, see #13638.
wp-signup.php
still has $wp_query->is_404 = false;
#8
in reply to:
↑ 3
@
11 years ago
Replying to jeremyfelt:
I can confirm the 'Page not found' title in trunk on
wp-activate.php
. The header is also a 404.
I can't reproduce this on trunk with any Twenty* theme.
#9
in reply to:
↑ 7
@
11 years ago
Replying to ocean90:
I thought we had fixed this, see #13638.
wp-signup.php
still has$wp_query->is_404 = false;
You are correct. wp-signup.php still contains this code.
The file at issue here is wp-activate.php
, this ticket is about applying the same fix to wp-activate.php
as was applied to wp-signup.php
.
Related: #13638, #16835, #23212.