Same fix for posts.php