Changeset 4137 for trunk/bp-core/bp-core-wpabstraction.php
- Timestamp:
- 03/12/2011 09:25:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-wpabstraction.php
r3947 r4137 71 71 } 72 72 73 /**74 * bp_core_is_main_site75 *76 * Checks if current blog is root blog of site. Deprecated in 1.3.77 *78 * @deprecated 1.379 * @deprecated Use is_multisite()80 * @package BuddyPress81 * @param int $blog_id optional blog id to test (default current blog)82 * @return bool True if not multisite or $blog_id is main site83 * @since 1.2.684 */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 90 73 function bp_core_get_status_sql( $prefix = false ) { 91 74 if ( !is_multisite() ) … … 94 77 return "{$prefix}spam = 0 AND {$prefix}deleted = 0 AND {$prefix}user_status = 0"; 95 78 } 96 97 98 79 ?>
Note: See TracChangeset
for help on using the changeset viewer.