Latest Blog
- LG Television & Sky RemoteFebruary 20, 2012
PhotoSmith AppDecember 19, 2011
SonicWALL DNS NAT LoopbackDecember 15, 2011
Latest Flickr
Tags
2011 apple audio camera canon 60d chicken christmas citrix dialogic dublin field recorder gadget gmail google google apps gopro howto ipad iphone kbase korma mac microsoft mobile opentext outlook pano photography photos printer recipes rightfax snow sunrise technology time lapse traffic vdi video virtual desktop virtualisation vmware windows 2008 work zero clientArchives
- February 2012 (1)
- December 2011 (7)
- November 2011 (4)
- October 2011 (1)
- September 2011 (1)
- July 2011 (1)
- June 2011 (1)
- May 2011 (1)
- January 2011 (6)
- December 2010 (3)
- November 2010 (2)
- October 2010 (1)
- September 2010 (1)
- August 2010 (1)
- July 2010 (3)
- January 2010 (1)
- November 2009 (1)
- October 2009 (1)
- September 2009 (1)
- August 2009 (1)
- March 2009 (2)
- February 2009 (1)
- December 2008 (2)
- September 2008 (1)
- March 2008 (1)
- January 2008 (1)
- August 2007 (2)
- July 2007 (1)
- May 2007 (2)
- March 2007 (2)
- January 2007 (3)
- December 2006 (1)
- August 2006 (1)
Blogroll




















Thanks for this post, this is an issue I’ve been struggling with too. Do you know if there is any way to break this functionality out into a plugin, so that we wouldn’t have to modify the core WordPress files?
Hi K.Adam, I wasn’t able to find any plugins that would allow me to do this so I ended up modifying the code myself. It’s a bit of a pain alright remembering to modify the code everytime there is an update for WordPress.
Might try and write a plugin myself or if you find one in the meantime please let me know.
I tracked down how to do this using a filter on the_password_form. This can be put into a plugin, or into your theme functions:
function bypass_password_form( $output ) {
// Check for a hash of the password just like you do above
if ( $_GET['pwd'] == md5( $post->post_password ) ) {
return apply_filters( ‘the_content’, get_page( get_the_ID() )->post_content );
}
// Or return the output as normal
return $output;
}
add_filter(‘the_password_form’,'bypass_password_form’);
Hope that helps; it’s working for me on WordPress 3.3.1.