[wp-testers] Re: post_password_required()

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


Hmm, appears just adding this to the functions.php file works...

add_filter('comments_template', 'legacy_comments');

function legacy_comments($file) {

    if(!function_exists('wp_list_comments')) : // WP 2.7-only check
        $file = TEMPLATEPATH . '/legacy.comments.php';
    endif;

    return $file;
}


However, I don't have an OLD comments.php file called 
"legacy.comments.php" LOL!


More information about the wp-testers mailing list