Make WordPress Core

Ticket #61705: 61705.2.diff

File 61705.2.diff, 671 bytes (added by dilipbheda, 17 months ago)
  • src/wp-includes/block-template-utils.php

    diff --git a/src/wp-includes/block-template-utils.php b/src/wp-includes/block-template-utils.php
    index 3458824774..e5b784d275 100644
    a b function _get_block_template_file( $template_type, $slug ) { 
    355355 *     @type string   $post_type    Post type to get the templates for.
    356356 * }
    357357 *
    358  * @return array|null Template.
     358 * @return array|null The Template files, or null if $template_type not matched.
    359359 */
    360360function _get_block_templates_files( $template_type, $query = array() ) {
    361361        if ( 'wp_template' !== $template_type && 'wp_template_part' !== $template_type ) {