Index: wp-includes/option.php
===================================================================
--- wp-includes/option.php	(revision 23340)
+++ wp-includes/option.php	(working copy)
@@ -104,8 +104,7 @@
  * @param string $option Option name.
  */
 function wp_protect_special_option( $option ) {
-	$protected = array( 'alloptions', 'notoptions' );
-	if ( in_array( $option, $protected ) )
+	if ( 'alloptions' === $option || 'notoptions' === $option )
 		wp_die( sprintf( __( '%s is a protected WP option and may not be modified' ), esc_html( $option ) ) );
 }
 
@@ -360,6 +359,10 @@
 function delete_option( $option ) {
 	global $wpdb;
 
+	$option = trim( $option );
+	if ( empty( $option ) )
+		return false;
+
 	wp_protect_special_option( $option );
 
 	// Get the ID, if no ID then return
