Skip to content

Commit 2d8dc76

Browse files
committed
phpcs
1 parent 31d8d05 commit 2d8dc76

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

themes/osi/template-parts/header-featured-image.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
32
if ( function_exists( 'Sugar_Calendar\AddOn\Ticketing\Settings\get_setting' ) ) {
43
$recepit_page_id = Sugar_Calendar\AddOn\Ticketing\Settings\get_setting( 'receipt_page' );
54

@@ -22,7 +21,7 @@
2221
</div>
2322
</div>
2423
</header>
25-
<?php } else if ( ! has_post_thumbnail() && ! in_array( get_post_type( $post ), array( 'post', 'event' ), true ) ) { ?>
24+
<?php } elseif ( ! has_post_thumbnail() && ! in_array( get_post_type( $post ), array( 'post', 'event' ), true ) ) { ?>
2625
<header class="entry-header cover--header no-thumbnail">
2726
<div class="wp-block-cover alignfull">
2827
<div class="wp-block-cover__inner-container">

0 commit comments

Comments
 (0)