Changeset 19593 for trunk/wp-includes/comment-template.php
- Timestamp:
- 12/13/2011 11:45:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r19284 r19593 56 56 * @uses $comment 57 57 * 58 * @param int $comment_ID The ID of the comment for which to get the author's email. 58 * @param int $comment_ID The ID of the comment for which to get the author's email. Optional. 59 59 * @return string The current comment author's email 60 60 */ … … 142 142 * @uses apply_filters() Calls 'get_comment_author_link' hook on the complete link HTML or author 143 143 * 144 * @param int $comment_ID The ID of the comment for which to get the author's link. 144 * @param int $comment_ID The ID of the comment for which to get the author's link. Optional. 145 145 * @return string Comment Author name or HTML link for author's URL 146 146 */ … … 190 190 * @see get_comment_author_IP() Echoes Result 191 191 * 192 * @param int $comment_ID The ID of the comment for which to print the author's IP address. 192 * @param int $comment_ID The ID of the comment for which to print the author's IP address. Optional. 193 193 */ 194 194 function comment_author_IP( $comment_ID = 0 ) { … … 202 202 * @uses apply_filters() Calls 'get_comment_author_url' hook on the comment author's URL 203 203 * 204 * @param int $comment_ID The ID of the comment for which to get the author's URL. 204 * @param int $comment_ID The ID of the comment for which to get the author's URL. Optional. 205 205 * @return string 206 206 */ … … 385 385 * 386 386 * @param string $d The format of the date (defaults to user's config) 387 * @param int $comment_ID The ID of the comment for which to print the date. 387 * @param int $comment_ID The ID of the comment for which to print the date. Optional. 388 388 */ 389 389 function comment_date( $d = '', $comment_ID = 0 ) { … … 913 913 require( $include ); 914 914 elseif ( file_exists( TEMPLATEPATH . $file ) ) 915 require( TEMPLATEPATH . 915 require( TEMPLATEPATH . $file ); 916 916 else // Backward compat code will be removed in a future release 917 917 require( ABSPATH . WPINC . '/theme-compat/comments.php'); … … 1092 1092 * 1093 1093 * @param array $args Optional. Override default options. 1094 * @param int|object $post Optional. Post that the comment is going to be displayed on. 1094 * @param int|object $post Optional. Post that the comment is going to be displayed on. Defaults to current post. 1095 1095 * @return string|bool|null Link to show comment form, if successful. False, if comments are closed. 1096 1096 */ … … 1409 1409 * 1410 1410 * @param string|array $args Formatting options 1411 * @param array $comments Optional array of comment objects. 1411 * @param array $comments Optional array of comment objects. Defaults to $wp_query->comments 1412 1412 */ 1413 1413 function wp_list_comments($args = array(), $comments = null ) { … … 1535 1535 'fields' => apply_filters( 'comment_form_default_fields', $fields ), 1536 1536 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>', 1537 'must_log_in' => '<p class="must-log-in">' . 1537 'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', 1538 1538 'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', 1539 1539 'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>',
Note: See TracChangeset
for help on using the changeset viewer.