Changeset 36794 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 03/01/2016 02:13:48 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r36566 r36794 2146 2146 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" aria-required="true" required="required"></textarea></p>', 2147 2147 /** This filter is documented in wp-includes/link-template.php */ 2148 '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>', 2148 'must_log_in' => '<p class="must-log-in">' . sprintf( 2149 /* translators: %s: login URL */ 2150 __( 'You must be <a href="%s">logged in</a> to post a comment.' ), 2151 wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) 2152 ) . '</p>', 2149 2153 /** This filter is documented in wp-includes/link-template.php */ 2150 'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( '<a href="%1$s" aria-label="Logged in as %2$s. Edit your profile.">Logged in as %2$s</a>. <a href="%3$s">Log out?</a>' ), get_edit_user_link(), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', 2154 'logged_in_as' => '<p class="logged-in-as">' . sprintf( 2155 /* translators: 1: edit user link, 2: accessibility text, 3: user name, 4: logout URL */ 2156 __( '<a href="%1$s" aria-label="%2$s">Logged in as %3$s</a>. <a href="%4$s">Log out?</a>' ), 2157 get_edit_user_link(), 2158 /* translators: %s: user name */ 2159 esc_attr( sprintf( __( 'Logged in as %s. Edit your profile.' ), $user_identity ) ), 2160 $user_identity, 2161 wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) 2162 ) . '</p>', 2151 2163 'comment_notes_before' => '<p class="comment-notes"><span id="email-notes">' . __( 'Your email address will not be published.' ) . '</span>'. ( $req ? $required_text : '' ) . '</p>', 2152 2164 'comment_notes_after' => '',
Note: See TracChangeset
for help on using the changeset viewer.