Make WordPress Core

Ticket #57069: 57069.4.diff

File 57069.4.diff, 1.6 KB (added by viralsampat, 22 months ago)

I have checked from my end and found few other files. So, I have added my patch.

  • src/wp-content/themes/twentyfourteen/functions.php

    diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php
    index 100a7f88db..4642cc1b5b 100644
    a b if ( ! class_exists( 'Featured_Content' ) && 'plugins.php' !== $GLOBALS['pagenow 
    711711 *
    712712 * Enables installing Twenty Fourteen in WordPress versions before 4.0.0 when the
    713713 * `is_customize_preview` function was introduced.
     714 * @global $wp_customize.
    714715 */
    715716if ( ! function_exists( 'is_customize_preview' ) ) :
    716717        function is_customize_preview() {
  • src/wp-content/themes/twentyseventeen/front-page.php

    diff --git a/src/wp-content/themes/twentyseventeen/front-page.php b/src/wp-content/themes/twentyseventeen/front-page.php
    index ceeb10037c..237624295c 100644
    a b get_header(); ?> 
    3939                         * @since Twenty Seventeen 1.0
    4040                         *
    4141                         * @param int $num_sections Number of front page sections.
     42                         *
     43                         * @global int $twentyseventeencounter
    4244                         */
    4345                        $num_sections = apply_filters( 'twentyseventeen_front_page_sections', 4 );
    4446                        global $twentyseventeencounter;
  • src/wp-content/themes/twentytwenty/index.php

    diff --git a/src/wp-content/themes/twentytwenty/index.php b/src/wp-content/themes/twentytwenty/index.php
    index 2efda3596f..0c73e812e3 100644
    a b get_header(); 
    2525        $archive_subtitle = '';
    2626
    2727        if ( is_search() ) {
     28                /**
     29                 * @global WP_Query $wp_query WordPress Query object.
     30                 */
    2831                global $wp_query;
    2932
    3033                $archive_title = sprintf(