WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/08/2019 07:05:53 PM (10 months ago)
Author:
desrosj
Message:

Bundled Themes: Update Twenty Twenty.

This brings trunk's version of Twenty Twenty in-sync with GitHub.

For a complete list of changes since [46357], see https://github.com/WordPress/twentytwenty/compare/7157870...7246fd6.

Props anlino, ianbelanger, poena, williampatton, nielslange, acosmin, netweb, joyusly, luminuu, itowhid06, cbravobernal, intimez, glauberglauber, ocean90, amolv, briceduclos, aristath, mukesh27, garrett-eclipse, audrasjb, afercia, dianeco, utsav72640, mahesh901122, tobifjellner.
See #48110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/index.php

    r46357 r46445  
    3535
    3636        if ( $wp_query->found_posts ) {
    37             /* Translators: %s = Number of results */
    38             $archive_subtitle = sprintf( _nx( 'We found %s result for your search.', 'We found %s results for your search.', $wp_query->found_posts, '%s = Number of results', 'twentytwenty' ), $wp_query->found_posts );
     37            $archive_subtitle = sprintf(
     38                /* translators: %s: Number of search results */
     39                _n(
     40                    'We found %s result for your search.',
     41                    'We found %s results for your search.',
     42                    $wp_query->found_posts,
     43                    'twentytwenty'
     44                ),
     45                number_format_i18n( $wp_query->found_posts )
     46            );
    3947        } else {
    4048            $archive_subtitle = __( 'We could not find any results for your search. You can give it another try through the search form below.', 'twentytwenty' );
     
    8997            get_search_form(
    9098                array(
    91                     'label' => _x( 'search again', 'Label', 'twentytwenty' ),
     99                    'label' => __( 'search again', 'twentytwenty' ),
    92100                )
    93101            );
     
    101109
    102110    <?php get_template_part( 'template-parts/pagination' ); ?>
    103     <?php get_template_part( 'template-parts/footer-menus-widgets' ); ?>
    104111
    105112</main><!-- #site-content -->
    106113
     114<?php get_template_part( 'template-parts/footer-menus-widgets' ); ?>
     115
    107116<?php
    108117get_footer();
Note: See TracChangeset for help on using the changeset viewer.