Skip to content

Commit

Permalink
remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Jul 10, 2024
1 parent f98bde0 commit 78ef4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class-decoupled-preview-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ public function get_enabled_site_by_post_type( string $post_type ): ?array {
foreach ( $sites['preview'] as $site ) {
if (
! isset( $site['content_type'] ) ||
( isset( $site['content_type'] ) && in_array( $post_type, $site['content_type'], true ) )
( isset( $site['content_type'] ) && in_array( $post_type, $site['content_type'], true ) )
) {
$enable_sites[] = $site;
}
Expand Down

0 comments on commit 78ef4be

Please sign in to comment.