From ef8216fdc3d41e43e10eca90a245cc68d4413429 Mon Sep 17 00:00:00 2001 From: weryques Date: Wed, 21 Feb 2018 15:49:43 -0300 Subject: [PATCH] Fixes 404 for wp-settings.js --- src/dev-interface/class-tainacan-dev-interface.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dev-interface/class-tainacan-dev-interface.php b/src/dev-interface/class-tainacan-dev-interface.php index 98aac33b7..ac8af9117 100644 --- a/src/dev-interface/class-tainacan-dev-interface.php +++ b/src/dev-interface/class-tainacan-dev-interface.php @@ -33,8 +33,6 @@ class DevInterface { global $TAINACAN_BASE_URL; $components = ( has_filter( 'tainacan_register_web_components' ) ) ? apply_filters('tainacan_register_web_components') : []; - wp_enqueue_script('wp-settings',$TAINACAN_BASE_URL . '/js/wp-settings.js'); - $settings = [ 'root' => esc_url_raw( rest_url() ).'tainacan/v2', 'nonce' => wp_create_nonce( 'wp_rest' ),