Ticket #19941: post-template.diff
File post-template.diff, 643 bytes (added by , 12 years ago) |
---|
-
wp-includes/post-template.php
187 187 $hasTeaser = false; 188 188 189 189 // If post password required and it doesn't match the cookie. 190 if ( post_password_required($post) ) { 191 $output = get_the_password_form(); 192 return $output; 193 } 190 if ( post_password_required($post) ) 191 return get_the_password_form(); 194 192 195 193 if ( $page > count($pages) ) // if the requested page doesn't exist 196 194 $page = count($pages); // give them the highest numbered page that DOES exist