]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/meta.php
Wordpress 3.0.6-scripts
[autoinstalls/wordpress.git] / wp-includes / meta.php
index 67ea8611e157a0168ffe825a1bca39e4e600741e..fe11d0a8539bf71ea646c0d60cecdd1a65249153 100644 (file)
@@ -113,7 +113,7 @@ function update_metadata($meta_type, $object_id, $meta_key, $meta_value, $prev_v
        if ( empty($prev_value) ) {
                $old_value = get_metadata($meta_type, $object_id, $meta_key);
                if ( count($old_value) == 1 ) {
-                       if ( $old_value[0] == $meta_value )
+                       if ( $old_value[0] === $meta_value )
                                return false;
                }
        }