Skip to content

Commit

Permalink
Revert "Added a check for WPCOM."
Browse files Browse the repository at this point in the history
This reverts commit 0e38e6e.
  • Loading branch information
zinigor committed Jun 12, 2024
1 parent 0e38e6e commit 0d115b7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,9 @@ function wpcom_site_has_feature( $feature, $blog_id = 0 ) {
$blog = null;
if ( defined( 'IS_ATOMIC' ) && IS_ATOMIC ) {
$site_type = 'wpcom';
} elseif ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
} else {
$blog = get_blog_details( $blog_id, false );
$site_type = is_blog_wpcom( $blog ) || is_blog_atomic( $blog ) ? 'wpcom' : 'jetpack';
} else {
$site_type = 'jetpack';
}

// A8C override for certain sites.
Expand Down

0 comments on commit 0d115b7

Please sign in to comment.