Skip to:
Content

bbPress.org

Changeset 2566


Ignore:
Timestamp:
10/19/2010 06:35:28 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Fixes #1333 props anthonycole

Location:
branches/plugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin.php

    r2565 r2566  
    414414     */
    415415    function register_admin_style () {
    416         wp_admin_css_color( 'bbpress', __( 'Green', 'bbpress' ), BBP_URL . '/bbp-css/admin.css', array( '#222222', '#006600', '#deece1', '#6eb469' ) );
     416        wp_admin_css_color( 'bbpress', __( 'Green', 'bbpress' ), BBP_URL . 'bbp-css/admin.css', array( '#222222', '#006600', '#deece1', '#6eb469' ) );
    417417    }
    418418}
  • branches/plugin/bbp-loader.php

    r2563 r2566  
    113113
    114114        // bbPress root directory
    115         define( 'BBP_DIR', WP_PLUGIN_DIR . '/bbpress' );
    116         define( 'BBP_URL', plugins_url( $path = '/bbpress' ) );
     115        define( 'BBP_DIR', plugin_dir_path( __FILE__ ) );
     116        define( 'BBP_URL', plugin_dir_url( __FILE__ ) );
    117117
    118118        // Images URL
Note: See TracChangeset for help on using the changeset viewer.