Plugin Directory

Changeset 913947


Ignore:
Timestamp:
05/14/2014 02:56:01 PM (12 years ago)
Author:
lynton_reed
Message:

css location fix

Location:
work-the-flow-file-upload/trunk/public
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • work-the-flow-file-upload/trunk/public/class-wtf-fu.php

    r913912 r913947  
    346346            $plugin_options = Wtf_Fu_Options::get_plugin_options();
    347347            if (wtf_fu_get_value($plugin_options, 'include_plugin_style') == true) {
    348                 wp_enqueue_style($this->plugin_slug . '-tbs-styles', plugins_url($this->plugin_slug) . '/public/assets/css/bootstrap.css', array(), Wtf_Fu::VERSION);
    349                 wp_enqueue_style($this->plugin_slug . '-show-files-css', plugins_url($this->plugin_slug) . '/public/assets/css/wtf-fu-show-files.css', array(), Wtf_Fu::VERSION);               
     348                wp_enqueue_style($this->plugin_slug . '-tbs-styles', plugin_dir_url( __FILE__ ) . '/assets/css/bootstrap.css', array(), Wtf_Fu::VERSION);
     349                wp_enqueue_style($this->plugin_slug . '-show-files-css', plugin_dir_url( __FILE__ ) . '/assets/css/wtf-fu-show-files.css', array(), Wtf_Fu::VERSION);               
    350350            }         
    351351        }
  • work-the-flow-file-upload/trunk/public/includes/class-wtf-fu-workflow-shortcode.php

    r913912 r913947  
    124124            if (!wp_script_is($style_handle, 'enqueued')) {
    125125                 
    126                 wp_enqueue_style($style_handle, plugins_url($this->plugin_slug) . '/public/assets/css/workflow_default.css', array(), Wtf_Fu::VERSION);
     126                wp_enqueue_style($style_handle, plugin_dir_url( __FILE__) . '../assets/css/workflow_default.css', array(), Wtf_Fu::VERSION);
    127127
    128128                /*
Note: See TracChangeset for help on using the changeset viewer.