Make WordPress Core

Ticket #35729: 35729.2.patch

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

     
    21392139                '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>',
    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>',
    2142                 /** 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>',
     2142                'logged_in_as'         => '<p class="logged-in-as">' .
     2143                        sprintf(
     2144                                __( '%s.' ),
     2145                                sprintf(
     2146                                        '<a href="%1$s" aria-label="%2$s">%3$s</a>'
     2147                                        get_edit_user_link(),
     2148                                        sprintf(
     2149                                                /* translators: %s: user display name */
     2150                                                __( 'Logged in as %s. Edit your profile.' ),
     2151                                                $user_identity
     2152                                        ),
     2153                                        sprintf(
     2154                                                /* translators: %s: user display name */
     2155                                                __( 'Logged in as %s' ),
     2156                                                $user_identity
     2157                                        )
     2158                                )
     2159                        ) .
     2160                        /** This filter is documented in wp-includes/link-template.php */
     2161                        ' <a href="' . wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) . '">' . __( 'Log out?' ) . '</a></p>',
    21442162                'comment_notes_before' => '<p class="comment-notes"><span id="email-notes">' . __( 'Your email address will not be published.' ) . '</span>'. ( $req ? $required_text : '' ) . '</p>',
    21452163                'comment_notes_after'  => '',
    21462164                'id_form'              => 'commentform',