WordPress.org

Make WordPress Core

Ticket #42621: 42621.patch

File 42621.patch, 859 bytes (added by skostadinov, 6 months ago)

Changed the comment to three

  • wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php

    diff --git a/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php b/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php
    index 79e11949b9..4da8f6e75e 100644
    a b global $twentyseventeencounter; 
    5050                        // Show recent blog posts if is blog posts page (Note that get_option returns a string, so we're casting the result as an int).
    5151                        if ( get_the_ID() === (int) get_option( 'page_for_posts' )  ) : ?>
    5252
    53                                 <?php // Show four most recent posts.
     53                                <?php // Show three most recent posts.
    5454                                $recent_posts = new WP_Query( array(
    5555                                        'posts_per_page'      => 3,
    5656                                        'post_status'         => 'publish',