Skip to content

Commit

Permalink
Remove unnecessary wpcomGutenberg field.
Browse files Browse the repository at this point in the history
  • Loading branch information
kwight committed Apr 26, 2019
1 parent b0a0c3f commit 7d2ee54
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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' ),
Expand Down

0 comments on commit 7d2ee54

Please sign in to comment.