Changeset 53796 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 07/29/2022 05:04:25 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r53723 r53796 2289 2289 * @type string $comment_field The comment textarea field HTML. 2290 2290 * @type string $must_log_in HTML element for a 'must be logged in to comment' message. 2291 * @type string $logged_in_as HTML element for a 'logged in as [user]' message. 2291 * @type string $logged_in_as The HTML for the 'logged in as [user]' message, the Edit profile link, 2292 * and the Log out link. 2292 2293 * @type string $comment_notes_before HTML element for a message displayed before the comment fields 2293 2294 * if the user is not logged in. … … 2458 2459 '<p class="logged-in-as">%s%s</p>', 2459 2460 sprintf( 2460 /* translators: 1: Edit user link, 2: Accessibility text, 3: User name, 4: Logout URL. */ 2461 __( '<a href="%1$s" aria-label="%2$s">Logged in as %3$s</a>. <a href="%4$s">Log out?</a>' ), 2461 /* translators: 1: User name, 2: Edit user link, 3: Logout URL. */ 2462 __( 'Logged in as %1$s. <a href="%2$s">Edit your profile</a>. <a href="%3$s">Log out?</a>' ), 2463 $user_identity, 2462 2464 get_edit_user_link(), 2463 /* translators: %s: User name. */2464 esc_attr( sprintf( __( 'Logged in as %s. Edit your profile.' ), $user_identity ) ),2465 $user_identity,2466 2465 /** This filter is documented in wp-includes/link-template.php */ 2467 2466 wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ), $post_id ) ) … … 2579 2578 * @since 3.0.0 2580 2579 * 2581 * @param string $args_logged_in The logged-in-as HTML-formatted message. 2580 * @param string $args_logged_in The HTML for the 'logged in as [user]' message, 2581 * the Edit profile link, and the Log out link. 2582 2582 * @param array $commenter An array containing the comment author's 2583 2583 * username, email, and URL.
Note: See TracChangeset
for help on using the changeset viewer.