Plugin Directory

Changeset 1465963


Ignore:
Timestamp:
08/02/2016 09:47:15 AM (10 years ago)
Author:
content.de
Message:

admin css inclusion bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contentde/trunk/php/contentdeController.php

    r1406551 r1465963  
    3333     */
    3434    static private $aPages = array();
    35 
     35  /**
     36     * @return void
     37     */
     38    static public function enqueue_scripts()
     39    {
     40        wp_enqueue_style('contentde-css', contentdeHelper::getPluginUrl('css/contentde.css'));
     41    }
    3642    /**
    3743     * @return void
     
    5157        if(is_admin())
    5258        {
    53             wp_enqueue_style('contentde-css', contentdeHelper::getPluginUrl('css/contentde.css'));
     59            add_action( 'admin_enqueue_scripts', array('contentdeController', 'enqueue_scripts'));
    5460        }
    5561
Note: See TracChangeset for help on using the changeset viewer.