', 'url' => '' ); /* Sets the default arguments for displaying the comment form. */ $args = array( 'fields' => apply_filters( 'comment_form_default_fields', $fields ), 'comment_field' => '', 'must_log_in' => '
' . sprintf( __( 'You must be logged in to post a comment.', 'hybrid-core' ), wp_login_url( get_permalink() ) ) . '
', 'logged_in_as' => '' . sprintf( __( 'Logged in as %2$s.', 'hybrid-core' ), admin_url( 'profile.php' ), esc_attr( $user_identity ) ) . ' ' . __( 'Log out »', 'hybrid-core' ) . '
', 'comment_notes_before' => '', 'comment_notes_after' => '', 'id_form' => 'commentform', 'id_submit' => 'submit', 'title_reply' => __( 'Leave a Reply', 'hybrid-core' ), 'title_reply_to' => __( 'Leave a Reply to %s', 'hybrid-core' ), 'cancel_reply_link' => __( 'Click here to cancel reply.', 'hybrid-core' ), 'label_submit' => __( 'Post Comment', 'hybrid-core' ), ); /* Return the arguments for displaying the comment form. */ return $args; } /** * Adds the 'pingback' and 'trackback' comment types to the allowed list of avatar comment types. By * default, WordPress only allows the 'comment' comment type to have an avatar. * * @since 1.2.0 * @access private * @param array $types List of all comment types allowed to have avatars. * @return array $types */ function hybrid_avatar_comment_types( $types ) { /* Add the 'pingback' comment type. */ $types[] = 'pingback'; /* Add the 'trackback' comment type. */ $types[] = 'trackback'; /* Return the array of comment types. */ return $types; } ?>