Skip to:
Content

BuddyPress.org

Changeset 6104


Ignore:
Timestamp:
06/17/2012 07:59:21 PM (13 years ago)
Author:
djpaul
Message:

Fix regression where bp_get_button() doesn't allow a 'core' component button.

  • This changes the behaviour to match BP 1.2, increasing backpat with old themes/plugins.
  • Fixes #4212, props cnorris23.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-template.php

    r5987 r6104  
    10251025    global $bp;
    10261026
    1027     if ( isset( $bp->active_components[$component] ) )
     1027    if ( isset( $bp->active_components[$component] ) || 'core' == $component )
    10281028        return true;
    10291029
Note: See TracChangeset for help on using the changeset viewer.