[buddypress-trac] [BuddyPress Trac] #6457: buddypress.css stylesheet overloading behavior change in 2.3-RC1
buddypress-trac
noreply at wordpress.org
Sun May 31 12:11:43 UTC 2015
#6457: buddypress.css stylesheet overloading behavior change in 2.3-RC1
----------------------------------------+------------------
Reporter: dcavins | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.3
Component: Appearance - Template Pack | Version:
Severity: blocker | Resolution:
Keywords: has-patch |
----------------------------------------+------------------
Comment (by hnla):
I've had to update bp-loader in the build dir from:
`$this->plugin_dir = trailingslashit( constant( 'BP_PLUGIN_DIR' ) .
$sub_directory );`
to manual string for subdirectory:#
`$this->plugin_dir = trailingslashit( constant( 'BP_PLUGIN_DIR' ) .
'build' );`
Not sure why $sub_directory is returning empty... Just spotted why:
{{{
if ( defined( 'BP_LOAD_SOURCE' ) ) {
if ( true === constant( 'BP_LOAD_SOURCE' ) ) {
$sub_directory = 'src';
} else {
$sub_directory = 'build';
}
}
}}}
we're nesting the `$sub_directory = 'build';` in the `if ( defined(
'BP_LOAD_SOURCE' ) )` is defined which of course it isn't if we have a
build directory.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6457#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list