Skip to:
Content

bbPress.org

Changeset 5904


Ignore:
Timestamp:
08/10/2015 02:55:02 PM (6 years ago)
Author:
johnjamesjacoby
Message:

Admin: Register color schemes based on bbPress plugin path vs. WordPress source. Fixes #2847.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/admin.php

    r5903 r5904  
    636636
    637637        // Color schemes are not available when running out of src
    638         if ( false !== strpos( $GLOBALS['wp_version'], '-src' ) ) {
     638        if ( false !== strpos( plugin_basename( bbpress()->file ), 'src' ) ) {
    639639            return;
    640640        }
Note: See TracChangeset for help on using the changeset viewer.