| 1 | Index: src/bp-templates/bp-legacy/buddypress-functions.php
|
|---|
| 2 | ===================================================================
|
|---|
| 3 | --- src/bp-templates/bp-legacy/buddypress-functions.php (revision 9694)
|
|---|
| 4 | +++ src/bp-templates/bp-legacy/buddypress-functions.php (working copy)
|
|---|
| 5 | @@ -229,10 +229,10 @@
|
|---|
| 6 | }
|
|---|
| 7 |
|
|---|
| 8 | // Compatibility stylesheets for specific themes.
|
|---|
| 9 | - $asset = $this->locate_asset_in_stack( get_stylesheet() . "{$min}.css", 'css' );
|
|---|
| 10 | + $asset = $this->locate_asset_in_stack( get_template() . "{$min}.css", 'css' );
|
|---|
| 11 | if ( isset( $asset['location'] ) ) {
|
|---|
| 12 | // use a unique handle
|
|---|
| 13 | - $asset['handle'] = 'bp-' . get_stylesheet();
|
|---|
| 14 | + $asset['handle'] = 'bp-' . get_template();
|
|---|
| 15 | wp_enqueue_style( $asset['handle'], $asset['location'], array(), $this->version, 'screen' );
|
|---|
| 16 |
|
|---|
| 17 | if ( $min ) {
|
|---|