Make WordPress Core

Ticket #35729: 35729.patch

File 35729.patch, 1.5 KB (added by ramiy, 10 years ago)
  • wp-includes/comment-template.php

     
    21402140                /** This filter is documented in wp-includes/link-template.php */
    21412141                '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>',
    21422142                /** This filter is documented in wp-includes/link-template.php */
    2143                 '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>',
     2143                '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>.' ), get_edit_user_link(), $user_identity ) . ' <a href="' . wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) . '">' . __( 'Log out?' ) . '</a></p>',
    21442144                'comment_notes_before' => '<p class="comment-notes"><span id="email-notes">' . __( 'Your email address will not be published.' ) . '</span>'. ( $req ? $required_text : '' ) . '</p>',
    21452145                'comment_notes_after'  => '',
    21462146                'id_form'              => 'commentform',