Removes useless css from dev interface

This commit is contained in:
weryques 2018-03-12 10:12:07 -03:00
parent 2e71e54a1a
commit 969bf2b4de
1 changed files with 0 additions and 6 deletions

View File

@ -14,7 +14,6 @@ class DevInterface {
add_action('add_meta_boxes', array(&$this, 'register_metaboxes'));
add_action('save_post', array(&$this, 'save_post'), 10, 2);
add_action('admin_enqueue_scripts', array(&$this, 'add_admin_js'));
add_action('admin_enqueue_scripts', array(&$this, 'add_admin_css'));
add_filter('post_type_link', array(&$this, 'permalink_filter'), 10, 3);
@ -42,11 +41,6 @@ class DevInterface {
wp_enqueue_script( 'tainacan-dev-admin', $TAINACAN_BASE_URL . '/assets/dev_admin-components.js', [] , null, true);
wp_localize_script( 'tainacan-dev-admin', 'tainacan_plugin', $settings );
}
function add_admin_css() {
global $TAINACAN_BASE_URL;
wp_enqueue_style('tainacan-dev-admin-styles', $TAINACAN_BASE_URL . '/assets/css/tainacan-admin.css' );
}
/**
* Filters the permalink for posts to: