Make WordPress Core

Ticket #49496: 49496.2.diff

File 49496.2.diff, 770 bytes (added by sebastienserre, 5 years ago)
  • wp-includes/general-template.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    3838
    3939        $templates[] = 'header.php';
    4040
     41        /**
     42         * Filter the header template name
     43         */
     44        apply_filters_ref_array( 'get_header_template', $templates );
     45
    4146        locate_template( $templates, true );
    4247}
    4348
     
    7378
    7479        $templates[] = 'footer.php';
    7580
     81        /**
     82         * Filter the footer template name
     83         */
     84        apply_filters_ref_array( 'get_footer_template', $templates );
     85
    7686        locate_template( $templates, true );
    7787}
    7888