Skip to content

Commit

Permalink
Gutenberg blocks: sync code with wpcom (#11136)
Browse files Browse the repository at this point in the history
Syncs with changes in D22751-code that weren't included in #11061
  • Loading branch information
simison authored Jan 14, 2019
1 parent 465c439 commit 0850844
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
*
* @since 6.9.0
*/
if ( class_exists( 'Jetpack_Photon' ) && Jetpack::is_module_active( 'photon' ) ) {
if (
( defined( 'IS_WPCOM' ) && IS_WPCOM ) ||
class_exists( 'Jetpack_Photon' ) && Jetpack::is_module_active( 'photon' )
) {
jetpack_register_block(
'tiled-gallery',
array(
Expand Down

0 comments on commit 0850844

Please sign in to comment.