Changeset 2349
- Timestamp:
- 01/19/2010 10:53:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-wpabstraction.php
r2302 r2349 30 30 else 31 31 return "{$prefix}spam = 0 AND {$prefix}deleted = 0 AND {$prefix}user_status = 0"; 32 }33 34 if ( !function_exists( 'get_site_option' ) ) {35 function get_site_option( $option_value, $default = false ) {36 return get_option( $option_value, $default );37 }38 }39 40 if ( !function_exists( 'add_site_option' ) ) {41 function add_site_option( $option_name, $option_value ) {42 return add_option( $option_name, $option_value );43 }44 }45 46 if ( !function_exists( 'update_site_option' ) ) {47 function update_site_option( $option_name, $option_value ) {48 return update_option( $option_name, $option_value );49 }50 }51 52 if ( !function_exists( 'delete_site_option' ) ) {53 function delete_site_option( $option_name ) {54 return delete_option( $option_name );55 }56 32 } 57 33
Note: See TracChangeset
for help on using the changeset viewer.