* @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' ); ?>
60, 'reply_text' => __( '» Reply to this Comment «', 'shades' ) ) ); ?>