Make WordPress Core

Ticket #32239: 32239.patch

File 32239.patch, 3.8 KB (added by marsjaninzmarsa, 9 years ago)
  • wp-admin/custom-header.php

    diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php
    index a56c760..55ffe03 100644
    a b class Custom_Image_Header { 
    267267                if ( 1 < count( $headers ) ) {
    268268                        echo '<div class="random-header">';
    269269                        echo '<label><input name="default-header" type="radio" value="random-' . $type . '-image"' . checked( is_random_header_image( $type ), true, false ) . ' />';
    270                         echo __( '<strong>Random:</strong> Show a different image on each page.' );
     270                        _e( '<strong>Random:</strong> Show a different image on each page.' );
    271271                        echo '</label>';
    272272                        echo '</div>';
    273273                }
  • wp-admin/customize.php

    diff --git a/wp-admin/customize.php b/wp-admin/customize.php
    index c8bd6e3..fc181db 100644
    a b do_action( 'customize_controls_print_scripts' ); 
    150150                                        ?></span>
    151151                                </div>
    152152                                <div class="accordion-section-content"><?php
    153                                         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.' );
     153                                        _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.' );
    154154                                ?></div>
    155155                        </div>
    156156
  • wp-admin/edit-comments.php

    diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php
    index bfde54e..e97792f 100644
    a b if ( $post_id ) 
    149149                )
    150150        );
    151151else
    152         echo __('Comments');
     152        _e('Comments');
    153153
    154154if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
    155155        echo '<span class="subtitle">' . sprintf( __( 'Search results for &#8220;%s&#8221;' ), wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '&hellip;' ) ) . '</span>'; ?>
  • wp-admin/includes/class-wp-posts-list-table.php

    diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php
    index 2e96471..4bd51d3 100644
    a b class WP_Posts_List_Table extends WP_List_Table { 
    11161116                                <em class="alignleft inline-edit-or">
    11171117                                        <?php
    11181118                                        /* translators: Between password field and private checkbox on post quick edit interface */
    1119                                         echo __( '&ndash;OR&ndash;' );
     1119                                        _e( '&ndash;OR&ndash;' );
    11201120                                        ?>
    11211121                                </em>
    11221122                                <label class="alignleft inline-edit-private">
    11231123                                        <input type="checkbox" name="keep_private" value="private" />
    1124                                         <span class="checkbox-title"><?php echo __( 'Private' ); ?></span>
     1124                                        <span class="checkbox-title"><?php _e( 'Private' ); ?></span>
    11251125                                </label>
    11261126                        </div>
    11271127
  • wp-admin/network/users.php

    diff --git a/wp-admin/network/users.php b/wp-admin/network/users.php
    index c900b82..10fc23b 100644
    a b function confirm_delete_users( $users ) { 
    8686                                                        <li><label><input type="radio" id="delete_option0" name="delete[<?php echo $details->userblog_id . '][' . $delete_user->ID ?>]" value="delete" checked="checked" />
    8787                                                        <?php _e( 'Delete all content.' ); ?></label></li>
    8888                                                        <li><label><input type="radio" id="delete_option1" name="delete[<?php echo $details->userblog_id . '][' . $delete_user->ID ?>]" value="reassign" />
    89                                                         <?php echo __( 'Attribute all content to:' ) . "</label>\n" . $user_dropdown; ?></li>
     89                                                        <?php _e( 'Attribute all content to:' ) . "</label>\n" . $user_dropdown; ?></li>
    9090                                                </ul>
    9191                                                <?php
    9292                                        }
  • wp-includes/comment-template.php

    diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php
    index 7af2f3b..d55f1ef 100644
    a b function comments_popup_link( $zero = false, $one = false, $more = false, $css_c 
    13041304        }
    13051305
    13061306        if ( post_password_required() ) {
    1307                 echo __('Enter your password to view comments.');
     1307                _e('Enter your password to view comments.');
    13081308                return;
    13091309        }
    13101310