Fixes 404 for wp-settings.js
This commit is contained in:
parent
f17adf3301
commit
ef8216fdc3
|
@ -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' ),
|
||||
|
|
Loading…
Reference in New Issue