WordPress.org

Make WordPress Core

Ticket #27055: 27055.context.patch

File 27055.context.patch, 1.6 KB (added by SergeyBiryukov, 5 years ago)
  • src/wp-admin/includes/update.php

     
    227227                $cur = get_preferred_from_update_core();
    228228
    229229                if ( isset( $cur->response ) && $cur->response == 'upgrade' )
    230                         $msg .= " <a href='" . network_admin_url( 'update-core.php' ) . "' class='button'>" . sprintf( __('Update to %s'), $cur->current ? $cur->current : __( 'Latest' ) ) . '</a>';
     230                        $msg .= " <a href='" . network_admin_url( 'update-core.php' ) . "' class='button'>" . sprintf( __('Update to %s'), $cur->current ? $cur->current : _x( 'Latest', 'version' ) ) . '</a>';
    231231        }
    232232
    233233        echo "<span id='wp-version-message'>$msg</span>";
  • src/wp-admin/theme-install.php

     
    115115                <span class="theme-count"></span>
    116116                <span class="theme-section current" data-sort="featured"><?php esc_html_e( 'Featured' ); ?></span>
    117117                <span class="theme-section" data-sort="popular"><?php esc_html_e( 'Popular' ); ?></span>
    118                 <span class="theme-section" data-sort="new"><?php esc_html_e( 'Latest' ); ?></span>
     118                <span class="theme-section" data-sort="new"><?php esc_html_x( 'Latest', 'theme filter' ); ?></span>
    119119                <div class="theme-top-filters">
    120120                        <span class="theme-filter" data-filter="photoblogging">Photography</span>
    121121                        <span class="theme-filter" data-filter="responsive-layout">Responsive</span>