Plugin Directory

Changeset 1679059


Ignore:
Timestamp:
06/15/2017 09:35:56 AM (9 years ago)
Author:
kantoniak
Message:

Fix CSS file URL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • project-description/trunk/kantoniak-project-description.php

    r1670246 r1679059  
    1313
    1414class ProjectDescription {
     15
     16  const PLUGIN_SLUG = 'project-description';
    1517
    1618  const OPTION_CATEGORY = 'kantoniak_pd_category';
     
    4345
    4446  public function addStylesheet() {
    45     wp_enqueue_style('kantoniak-project-description', plugins_url('kantoniak-project-description/css/style.css'));
     47    wp_enqueue_style(ProjectDescription::PLUGIN_SLUG, plugins_url(ProjectDescription::PLUGIN_SLUG .'/css/style.css'));
    4648  }
    4749
Note: See TracChangeset for help on using the changeset viewer.