Make WordPress Core


Ignore:
Timestamp:
12/14/2018 02:32:33 AM (6 years ago)
Author:
pento
Message:

Default Themes: Import Twenty Nineteen from the 5.0 branch.

Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.

Fixes #45424.

Location:
trunk
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-content/themes/twentynineteen/search.php

    r43808 r44149  
    77 * @package WordPress
    88 * @subpackage Twenty_Nineteen
     9 * @since 1.0.0
    910 */
    1011
     
    1920            <header class="page-header">
    2021                <h1 class="page-title">
    21                     <?php esc_html_e( 'Search results for:', 'twentynineteen' ); ?>
     22                    <?php _e( 'Search results for:', 'twentynineteen' ); ?>
    2223                </h1>
    23                 <div class="page-description">
    24                     <?php echo get_search_query(); ?>
    25                 </div>
     24                <div class="page-description"><?php echo get_search_query(); ?></div>
    2625            </header><!-- .page-header -->
    2726
     
    3635                 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    3736                 */
    38                 get_template_part( 'template-parts/content/content' );
     37                get_template_part( 'template-parts/content/content', 'excerpt' );
    3938
    4039                // End the loop.
Note: See TracChangeset for help on using the changeset viewer.