Skip to content

Commit

Permalink
REMOVE BEFORE MERGE: Load blocks in Jetpack
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Sep 12, 2018
1 parent 7ae3260 commit 486c5c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class.jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -7319,7 +7319,7 @@ public static function load_jetpack_gutenberg() {
*
* @param bool false Whether to load Gutenberg blocks
*/
if ( ! Jetpack::is_gutenberg_available() || ! apply_filters( 'jetpack_gutenberg', false ) ) {
if ( ! Jetpack::is_gutenberg_available() || ! apply_filters( 'jetpack_gutenberg', true ) ) {
return;
}

Expand All @@ -7330,7 +7330,7 @@ public static function load_jetpack_gutenberg() {
*
* @param bool true Whether to load Gutenberg blocks from CDN
*/
if ( apply_filters( 'jetpack_gutenberg_cdn', true ) ) {
if ( apply_filters( 'jetpack_gutenberg_cdn', false ) ) {
$editor_script = 'https://s0.wp.com/wp-content/mu-plugins/jetpack/_inc/blocks/jetpack-editor.js';
$editor_style = 'https://s0.wp.com/wp-content/mu-plugins/jetpack/_inc/blocks/jetpack-editor.css';

Expand Down

0 comments on commit 486c5c3

Please sign in to comment.