Skip to main content
7 events
when toggle format what by license comment
Apr 13, 2017 at 12:37 history edited CommunityBot
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
Oct 3, 2016 at 23:54 history edited Dave Romsey CC BY-SA 3.0
Remove now unused $post variable. Formatting
Oct 3, 2016 at 23:51 comment added Dave Romsey Thanks @birgire, you're right! Per the change log in WP v3.4: "Hash post password in cookies".
Oct 3, 2016 at 23:45 comment added birgire I wonder if two hooks are needed, but it's getting late here so I'm off for now. ( ps: there's an unused global $post in the snippet )
Oct 3, 2016 at 23:31 history edited Dave Romsey CC BY-SA 3.0
Remove unnecessary and incorrect check on $_COOKIE['wp-postpass_' . COOKIEHASH] !== $post->post_password
Oct 3, 2016 at 23:11 comment added birgire I think the cookie stores the hashed password, not the raw password as suggested by the other linked answer. This might have been different in older versions?
Oct 3, 2016 at 22:59 history answered Dave Romsey CC BY-SA 3.0