Make can_compress_scripts a site option. Add site option wrappers for WP.

git-svn-id: https://develop.svn.wordpress.org/trunk@10593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-02-18 23:38:11 +00:00
parent 9341c41142
commit bc444b8594
4 changed files with 20 additions and 6 deletions

View File

@@ -2981,5 +2981,19 @@ function wp_clone( $object ) {
return $can_clone ? clone( $object ) : $object;
}
function get_site_option( $key, $default = false, $use_cache = true ) {
return get_option($key, $default);
}
// expects $key, $value not to be SQL escaped
function add_site_option( $key, $value ) {
return add_option($key, $value);
}
// expects $key, $value not to be SQL escaped
function update_site_option( $key, $value ) {
return update_option($key, $value);
}
?>