[wp-testers] post_password_required()

Idled Soul idledsoul at gmail.com
Thu Nov 20 19:43:20 GMT 2008


I'm not sure if this was posted to the list or not. Just curious, when 
making the comments.php file compatible (and yes, I know there's 
instructions out there, no time to look that up now.) Can we use and { 
else } there for this line...

if ( post_password_required() ) { ?>
        <p class="nocomments">This post is password protected. Enter the 
password to view comments.</p>
{ else } old post_password() )
<p class="nocomments">This post blah...



More information about the wp-testers mailing list