WordPress.org

Make WordPress Core

Changeset 14378


Ignore:
Timestamp:
05/03/10 18:48:33 (4 years ago)
Author:
nbachiyski
Message:

Take out the leading space from the translatable string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-template.php

    r14374 r14378  
    15031503    ); 
    15041504 
     1505    $required_text = sprintf( ' ' . __('Required fields are marked %s'), '<span class="required">*</span>' ); 
    15051506    $defaults = array( 
    15061507        'fields'               => apply_filters( 'comment_form_default_fields', $fields ), 
     
    15081509        '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>', 
    15091510        '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>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', 
    1510         'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? __( ' Required fields are marked <span class="required">*</span>' ) : '' ) . '</p>', 
     1511        'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>', 
    15111512        '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>', 
    15121513        'id_form'              => 'commentform', 
Note: See TracChangeset for help on using the changeset viewer.