Plugin Directory

Changeset 772757


Ignore:
Timestamp:
09/15/2013 04:02:33 PM (13 years ago)
Author:
ddean
Message:

Improved compatibility with multisite installs

Location:
bp-group-hierarchy/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bp-group-hierarchy/trunk/extension.php

    r763873 r772757  
    826826    /** Load the hierarchy.css file from the user's theme, if available */
    827827    if( $hierarchy_css = apply_filters( 'bp_located_template', locate_template( array( '_inc/css/hierarchy.css' ), false ), '_inc/css/hierarchy.css' ) ) {
     828
     829        // Detect when loading CSS from the plugin dir and rewrite with plugins_url for better MS / symlink support
     830        if( 0 === strpos( $hierarchy_css, dirname( __FILE__ ) ) )
     831            $hierarchy_css = plugins_url( 'templates/_inc/css/hierarchy.css', __FILE__ );
     832       
    828833        wp_register_style( 'bp-group-hierarchy-tree-style', str_replace(array(substr(ABSPATH,0,-1),'\\'), array('','/'), $hierarchy_css) );
    829834    }
  • bp-group-hierarchy/trunk/readme.txt

    r763873 r772757  
    44Tags: buddypress, groups, subgroups, hierarchy, parent group
    55Requires at least: WP 3.2, BuddyPress 1.6
    6 Tested up to: WP 3.6, BuddyPress 1.8.1
     6Tested up to: WP 3.6.1, BuddyPress 1.8.1
    77Stable tag: 1.3.9
    88
     
    6565* Added: Support for BP theme compatibility mode
    6666* Changed: Updated extension class to conform (better) to new BP_Group_Extension guidelines
     67* Changed: Improved compatibility with multisite installs
    6768* Fixed: Weird HTML title when hiding the flat group list
    6869* Fixed: Wrong tab could be highlighted when loading the Groups list page under certain circumstances - thanks, Mike
Note: See TracChangeset for help on using the changeset viewer.