Make WordPress Core

Ticket #56791: 56791-remove-redundant-semicolon-empty-statement.patch

File 56791-remove-redundant-semicolon-empty-statement.patch, 747 bytes (added by jrf, 18 months ago)

Fixes an apparent typo

  • src/wp-includes/block-template-utils.php

    From 6f06c7dc57fd81904d16f32afbf267988306e879 Mon Sep 17 00:00:00 2001
    From: jrfnl <jrfnl@users.noreply.github.com>
    Date: Sun, 9 Oct 2022 19:48:55 +0200
    Subject: [PATCH] CS: remove redundant semicolon (empty statement)
    
    ---
     src/wp-includes/block-template-utils.php | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/wp-includes/block-template-utils.php b/src/wp-includes/block-template-utils.php
    index f4958050c6..3b57d9afa4 100644
    a b function get_template_hierarchy( $slug, $is_custom = false, $template_prefix = ' 
    13661366        $template_hierarchy[] = 'index';
    13671367
    13681368        return $template_hierarchy;
    1369 };
     1369}