* @copyright Copyright (c) 2009-2013, Edward Caissie * * @version 2.1 * @date March 4, 2013 * Refactored code formatting and code block termination comments */ /** Do not delete these lines */ if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) ) { die ( __( 'Please do not load this page directly. Thanks!', 'shades' ) ); } /** End if - no direct loading */ if ( post_password_required() ) { ?>

user_id == 1 ) { /** Super Administrator */ $userid = "administrator user-id-1"; } else { /** All other users - NB: user-id-0 -> non-registered user */ $userid = "user-id-" . ( $comment->user_id ); } /** End if - user ID */ $classes[] = $userid; return $classes; } /** End function - comment add user ID */ add_filter( 'comment_class', 'comment_add_userid' ); ?>

comment_status ) { /** If comments are open, but there are no comments. */ } else { /** Comments are closed */ } /** End if - comments open */ } /** End if - have comments */ comment_form(); ?>