Skip to:
Content

BuddyPress.org

Changeset 6451


Ignore:
Timestamp:
10/22/2012 08:04:57 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Remove bp_is_theme_bp_default() function, as it is no longer necessary. Reverts part of r6404.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-theme-compatibility.php

    r6404 r6451  
    174174function bp_get_theme_compat_url() {
    175175    return apply_filters( 'bp_get_theme_compat_url', buddypress()->theme_compat->theme->url );
    176 }
    177 
    178 /**
    179  * See whether the current theme is good ol' bp-default.
    180  *
    181  * @since BuddyPress (1.7)
    182  * @uses get_stylesheet()
    183  * @return bool
    184  */
    185 function bp_is_theme_bp_default() {
    186     if ( get_stylesheet() == 'bp-default' ) {
    187         $retval = true;
    188     } else {
    189         $retval = false;
    190     }
    191 
    192     return $retval;
    193176}
    194177
Note: See TracChangeset for help on using the changeset viewer.