WordPress.org

Make WordPress Core

Ticket #26553: 26553.patch

File 26553.patch, 1.8 KB (added by ramiy, 6 years ago)
  • comment-template.php

     
    12711271         */
    12721272        echo apply_filters( 'comments_popup_link_attributes', $attributes );
    12731273
    1274         echo ' title="' . esc_attr( sprintf( __('Comment on %s'), $title ) ) . '">';
     1274        echo '>';
    12751275        comments_number( $zero, $one, $more );
    12761276        echo '</a>';
    12771277}
     
    21042104                /** This filter is documented in wp-includes/link-template.php */
    21052105                '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>',
    21062106                /** This filter is documented in wp-includes/link-template.php */
    2107                 '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>',
     2107                'logged_in_as'         => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%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>',
    21082108                'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>',
    21092109                '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>',
    21102110                'id_form'              => 'commentform',