Opened 6 years ago
Last modified 6 years ago
#3781 new defect (bug)
The Views for 'My @Mentions' and 'My Posts' give 'Page Not Found' message which is misleading
Reported by: | garrett-eclipse | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Make (Get Involved) / P2 | Keywords: | |
Cc: |
Description
Hello,
Trying the views for 'My @Mentions' and 'My Posts' give you a 'Page Not Found' error;
https://i.imgur.com/PIWD0Vu.png
I'm not sure if this is simply because I have no @Mentions or Posts, but if that's the case maybe a more informative message would make sense than 'Page Not Found' such as 'No Posts' or 'No @Mentions' so it's not just seen as a 404 error.
Links for mine;
My @Mentions - https://make.wordpress.org/core/?mentions=garrett-eclipse
My Posts - https://make.wordpress.org/core/author/garrett-eclipse
Thanks
Attachments (1)
Change History (3)
#1
@
6 years ago
Just to confirm, this is indeed because you have no posts and no mentions.
P2's behaviour is to just use a WordPress post archive page, which by default shows a 404 when no posts match.
We could extend the theme to show a better message in this case, similar to how the search results is displayed: https://make.wordpress.org/core/?s=something-that-will-never-match
Page Not Found - My Posts