Skip to content

Commit

Permalink
Tiled gallery: remove Photon module dependency (#13471)
Browse files Browse the repository at this point in the history
  • Loading branch information
simison authored and jeherve committed Sep 20, 2019
1 parent 68f04d8 commit 179396b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions extensions/blocks/tiled-gallery/tiled-gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,4 @@ private static function is_squareish_layout( $attr ) {
}
}

if (
( defined( 'IS_WPCOM' ) && IS_WPCOM )
|| defined( 'VIP_GO_ENV' ) && false !== VIP_GO_ENV
|| class_exists( 'Jetpack_Photon' ) && Jetpack::is_module_active( 'photon' )
) {
Jetpack_Tiled_Gallery_Block::register();
}
Jetpack_Tiled_Gallery_Block::register();

0 comments on commit 179396b

Please sign in to comment.