From 7d2ee54f212c39203834142e52675efab5bd716f Mon Sep 17 00:00:00 2001 From: Kirk Wight Date: Fri, 26 Apr 2019 09:14:27 -0700 Subject: [PATCH] Remove unnecessary `wpcomGutenberg` field. --- .../wpcom-block-editor/class-jetpack-wpcom-block-editor.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php b/modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php index 8190c352ed103..d869ee9c17651 100644 --- a/modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php +++ b/modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php @@ -196,8 +196,8 @@ public function filter_salt( $salt, $scheme ) { * Enqueue the scripts for the WordPress.com block editor integration. */ public function enqueue_scripts() { - $debug = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG; - $version = gmdate( 'YW' ); + $debug = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG; + $version = gmdate( 'YW' ); $src_common = $debug ? '//widgets.wp.com/wpcom-block-editor/common.js?minify=false' @@ -218,7 +218,6 @@ public function enqueue_scripts() { 'label' => __( 'Switch to Classic Editor', 'jetpack' ), 'url' => Jetpack_Calypsoify::getInstance()->get_switch_to_classic_editor_url(), ), - 'isCalypsoify' => $is_calypsoify, 'richTextToolbar' => array( 'justify' => __( 'Justify', 'jetpack' ), 'underline' => __( 'Underline', 'jetpack' ),