Fixes 404 for wp-settings.js

This commit is contained in:
weryques 2018-02-21 15:49:43 -03:00
parent f17adf3301
commit ef8216fdc3
1 changed files with 0 additions and 2 deletions

View File

@ -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' ),