A "minor" bug with is_teaser_rs():
->My theme uses home.php for the main blog listing (www.justin-klein.com/wordpress), single.php for an individual post (www.justin-klein.com/wordpress/post3504), and index.php is a "fall-through" case (used for "not found").
->My theme's header.php performs the following check, so I can output custom 404 headers and a "private content" template in the case of a user trying to access a post without permission:
$noAccess =function_exists('is_teaser_rs') && is_teaser_rs();
if( $noAccess)
{/*output my "hidden page" stuff*/}
else
{/*do regular stuff*/}
->The odd behavior is that, in home.php, the "hidden page" message appears if the user does not have access to the FIRST post in the listing. I temporarily fixed it by changing that line to
$noAccess = !is_home() && function_exists('is_teaser_rs') && is_teaser_rs();