WordPress.org

Make WordPress Core

Ticket #13026: 13026.diff

File 13026.diff, 1.4 KB (added by lloydbudd, 5 years ago)

Patch for wp-includes/comment-template.php removing "Your email is <em>never</em> published nor shared."

  • wp-includes/comment-template.php

     
    15101510                                                                                        '</p>', 
    15111511                                                '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>', 
    15121512                                                'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%s">%s</a>. <a href="%s" title="Log out of this account">Log out?</a></p>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ), 
    1513                                                 'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email is <em>never</em> published nor shared.' ) . ( $req ? __( ' Required fields are marked <span class="required">*</span>' ) : '' ) . '</p>', 
     1513                                                'comment_notes_before' => '<p class="comment-notes">' . ( $req ? __( ' Required fields are marked <span class="required">*</span>' ) : '' ) . '</p>', 
    15141514                                                'comment_notes_after' => '<dl class="form-allowed-tags"><dt>' . __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:' ) . '</dt> <dd><code>' . allowed_tags() . '</code></dd></dl>', 
    15151515                                                'id_form' => 'commentform', 
    15161516                                                'id_submit' => 'submit',