Procteted-Post won’t show unless wp-admin/ is visited?
-
Hi there,
I want to use password to protect one of my posts, and I set password to it. Then I logged off and saw the post is replaced by a password input textbox. But when I entered the password and submitted it, the post didn’t show.
I checked the cookies using firebug, and found out that a cookie named like wp-postpass_3e04c6dc7b7088d9486fe410bb44acb7(keeping the value of my password) was already stored in browser, while the post still didn’t show up.
Then I tried several ways and found out only when the cookie named wordpress_test_cookie is created shall the post show up… And that can be done by visiting wp-admin/ (But you don’t have to login for real, that’s the odd part.)
I wonder if the check for wordpress_test_cookie is unnecessary? User enters password, user sees the post. I think that’s the right way.
Hope this can be fixed in the next revision, because hardly anyone one knows he/she should visit wp-admin/ to see the protected post, right?
Thanks for your work ??
- The topic ‘Procteted-Post won’t show unless wp-admin/ is visited?’ is closed to new replies.