Replace `echo __()` with `_e()`.

props marsjaninzmarsa.
fixes #32239.
Built from https://develop.svn.wordpress.org/trunk@32333


git-svn-id: http://core.svn.wordpress.org/trunk@32304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-05-03 16:18:28 +00:00
parent 13af7e1d72
commit ed0da72d97
7 changed files with 8 additions and 8 deletions

View File

@ -267,7 +267,7 @@ class Custom_Image_Header {
if ( 1 < count( $headers ) ) { if ( 1 < count( $headers ) ) {
echo '<div class="random-header">'; echo '<div class="random-header">';
echo '<label><input name="default-header" type="radio" value="random-' . $type . '-image"' . checked( is_random_header_image( $type ), true, false ) . ' />'; echo '<label><input name="default-header" type="radio" value="random-' . $type . '-image"' . checked( is_random_header_image( $type ), true, false ) . ' />';
echo __( '<strong>Random:</strong> Show a different image on each page.' ); _e( '<strong>Random:</strong> Show a different image on each page.' );
echo '</label>'; echo '</label>';
echo '</div>'; echo '</div>';
} }

View File

@ -150,7 +150,7 @@ do_action( 'customize_controls_print_scripts' );
?></span> ?></span>
</div> </div>
<div class="accordion-section-content"><?php <div class="accordion-section-content"><?php
echo __( 'The Customizer allows you to preview changes to your site before publishing them. You can also navigate to different pages on your site to preview them.' ); _e( 'The Customizer allows you to preview changes to your site before publishing them. You can also navigate to different pages on your site to preview them.' );
?></div> ?></div>
</div> </div>

View File

@ -149,7 +149,7 @@ if ( $post_id )
) )
); );
else else
echo __('Comments'); _e( 'Comments' );
if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
echo '<span class="subtitle">' . sprintf( __( 'Search results for &#8220;%s&#8221;' ), wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '&hellip;' ) ) . '</span>'; ?> echo '<span class="subtitle">' . sprintf( __( 'Search results for &#8220;%s&#8221;' ), wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '&hellip;' ) ) . '</span>'; ?>

View File

@ -1116,12 +1116,12 @@ class WP_Posts_List_Table extends WP_List_Table {
<em class="alignleft inline-edit-or"> <em class="alignleft inline-edit-or">
<?php <?php
/* translators: Between password field and private checkbox on post quick edit interface */ /* translators: Between password field and private checkbox on post quick edit interface */
echo __( '&ndash;OR&ndash;' ); _e( '&ndash;OR&ndash;' );
?> ?>
</em> </em>
<label class="alignleft inline-edit-private"> <label class="alignleft inline-edit-private">
<input type="checkbox" name="keep_private" value="private" /> <input type="checkbox" name="keep_private" value="private" />
<span class="checkbox-title"><?php echo __( 'Private' ); ?></span> <span class="checkbox-title"><?php _e( 'Private' ); ?></span>
</label> </label>
</div> </div>

View File

@ -86,7 +86,7 @@ function confirm_delete_users( $users ) {
<li><label><input type="radio" id="delete_option0" name="delete[<?php echo $details->userblog_id . '][' . $delete_user->ID ?>]" value="delete" checked="checked" /> <li><label><input type="radio" id="delete_option0" name="delete[<?php echo $details->userblog_id . '][' . $delete_user->ID ?>]" value="delete" checked="checked" />
<?php _e( 'Delete all content.' ); ?></label></li> <?php _e( 'Delete all content.' ); ?></label></li>
<li><label><input type="radio" id="delete_option1" name="delete[<?php echo $details->userblog_id . '][' . $delete_user->ID ?>]" value="reassign" /> <li><label><input type="radio" id="delete_option1" name="delete[<?php echo $details->userblog_id . '][' . $delete_user->ID ?>]" value="reassign" />
<?php echo __( 'Attribute all content to:' ) . "</label>\n" . $user_dropdown; ?></li> <?php _e( 'Attribute all content to:' ) . "</label>\n" . $user_dropdown; ?></li>
</ul> </ul>
<?php <?php
} }

View File

@ -1304,7 +1304,7 @@ function comments_popup_link( $zero = false, $one = false, $more = false, $css_c
} }
if ( post_password_required() ) { if ( post_password_required() ) {
echo __('Enter your password to view comments.'); _e( 'Enter your password to view comments.' );
return; return;
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-32332'; $wp_version = '4.3-alpha-32333';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.