Open dllh opened 9 years ago
This should be fixed in #6333
Also reported here: 375063-chat
It seems the problem is back: https://www.dropbox.com/s/yx73sd3rksy4yil/test-page-id-404-video.mp4?dl=0 804771-zen
This issue has been marked as stale. This happened because:
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.
Hi friends. I wanted to mention that this issue is still present in Jetpack 5.2.1 on WordPress.com VIP Go. I'd still love to see a fix for it, even though it's marked as stale. Thanks!
This issue has been marked as stale. This happened because:
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.
Repro:
You'd expect the widget to display, but it doesn't because it's possible also to designate rules for the 404 error page. The code that interprets the rules checks for the major condition of 'page' and the minor of '404', which is satisfied for both the 404 page and the page with the id 404. The logic goes something like this:
The proper fix for this is probably to use something other than a numeric value when saving/checking the 404 error page condition, but there may be cases in the wild in which people have defined conditions for the 404 page, and it'd be lousy to break those, so I'm not really sure what the proper fix is if we want to avoid such breakage.