dynamic post passwords

View: New views
1 Messages — Rating Filter:   Alert me  

dynamic post passwords

by netkickstart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The introduction of the post_password_required function in 2.7
was a great idea, but it's unfortunate it doesn't have a hook.

I'd like to be able to check the post password on the fly such
that it could handle a number of valid answers (kind of like a
captcha for viewing posts, for example).

One hack might be to use the_password_form filter to check the
password, but then you'd have duplicate either the_content or
the_excerpt, as the output is immediately returned.  Yuck.

Any other thoughts?  I hope I'm just overcomplicating things.


Thanks,
-Erin
_______________________________________________
wp-hackers mailing list
wp-hackers@...
http://lists.automattic.com/mailman/listinfo/wp-hackers