Ticket #17739: 17739.2.diff
| File 17739.2.diff, 3.0 KB (added by , 12 years ago) |
|---|
-
src/wp-includes/comment-template.php
2049 2049 * @type string $must_log_in HTML element for a 'must be logged in to comment' message. 2050 2050 * @type string $logged_in_as HTML element for a 'logged in as <user>' message. 2051 2051 * @type string $comment_notes_before HTML element for a message displayed before the comment form. 2052 * Default 'Your email address will not be published.'.2053 2052 * @type string $comment_notes_after HTML element for a message displayed after the comment form. 2054 2053 * Default 'You may use these HTML tags and attributes ...'. 2055 2054 * @type string $id_form The comment form element id attribute. Default 'commentform'. … … 2105 2104 '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>', 2106 2105 /** This filter is documented in wp-includes/link-template.php */ 2107 2106 '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>', 2108 'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) .( $req ? $required_text : '' ) . '</p>',2107 'comment_notes_before' => '<p class="comment-notes">' . ( $req ? $required_text : '' ) . '</p>', 2109 2108 'comment_notes_after' => '<p class="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>', 2110 2109 'id_form' => 'commentform', 2111 2110 'id_submit' => 'submit', -
src/wp-includes/theme-compat/comments.php
77 77 <label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></small></label></p> 78 78 79 79 <p><input type="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /> 80 <label for="email"><small><?php _e('Mail (will not be published)'); ?> <?phpif ($req) _e('(required)'); ?></small></label></p>80 <label for="email"><small><?php if ($req) _e('(required)'); ?></small></label></p> 81 81 82 82 <p><input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" /> 83 83 <label for="url"><small><?php _e('Website'); ?></small></label></p>