Changeset 32858
- Timestamp:
- 06/19/2015 02:14:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r32786 r32858 2196 2196 * Default 'Your email address will not be published.'. 2197 2197 * @type string $comment_notes_after HTML element for a message displayed after the comment form. 2198 * Default 'You may use these HTML tags and attributes ...'.2199 2198 * @type string $id_form The comment form element id attribute. Default 'commentform'. 2200 2199 * @type string $id_submit The comment submit element id attribute. Default 'submit'. … … 2252 2251 $defaults = array( 2253 2252 'fields' => $fields, 2254 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label> <textarea id="comment" name="comment" cols="45" rows="8" aria-describedby="form-allowed-tags"aria-required="true" required="required"></textarea></p>',2253 '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" required="required"></textarea></p>', 2255 2254 /** This filter is documented in wp-includes/link-template.php */ 2256 2255 '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>', … … 2258 2257 '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>' ), get_edit_user_link(), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', 2259 2258 'comment_notes_before' => '<p class="comment-notes"><span id="email-notes">' . __( 'Your email address will not be published.' ) . '</span>'. ( $req ? $required_text : '' ) . '</p>', 2260 'comment_notes_after' => ' <p class="form-allowed-tags" id="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>',2259 'comment_notes_after' => '', 2261 2260 'id_form' => 'commentform', 2262 2261 'id_submit' => 'submit',
Note: See TracChangeset
for help on using the changeset viewer.