[wp-hackers] dynamic post passwords

netkickstart at gmail.com netkickstart at gmail.com
Sun Nov 1 20:28:36 UTC 2009


I just had another idea on this (sorry if anyone responded already;
I'm on the digest version).  How about checking $_POST['post_password']
in the init hook and, if it passes the dynamic password test, assuming
we know the $post in that context, the wp-postpass_ cookie could then
be set to match the post's password as stored in the db.  In this way,
post_password_required would return false and the post would be shown.

-Erin


More information about the wp-hackers mailing list