Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/12/2011 09:25:51 PM (14 years ago)
Author:
djpaul
Message:

Swap function_exists checks to bp_is_active. Fixes #2718

File:
1 edited

Legend:

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

    r3947 r4137  
    7171}
    7272
    73 /**
    74  * bp_core_is_main_site
    75  *
    76  * Checks if current blog is root blog of site. Deprecated in 1.3.
    77  *
    78  * @deprecated 1.3
    79  * @deprecated Use is_multisite()
    80  * @package BuddyPress
    81  * @param int $blog_id optional blog id to test (default current blog)
    82  * @return bool True if not multisite or $blog_id is main site
    83  * @since 1.2.6
    84  */
    85 function bp_core_is_main_site( $blog_id = '' ) {
    86     _deprecated_function( __FUNCTION__, '1.3', 'is_main_site()' );
    87     return is_main_site( $blog_id );
    88 }
    89 
    9073function bp_core_get_status_sql( $prefix = false ) {
    9174    if ( !is_multisite() )
     
    9477        return "{$prefix}spam = 0 AND {$prefix}deleted = 0 AND {$prefix}user_status = 0";
    9578}
    96 
    97 
    9879?>
Note: See TracChangeset for help on using the changeset viewer.