WordPress.org

Make WordPress Core

Ticket #10632: user.php.2.diff

File user.php.2.diff, 404 bytes (added by jfarthing84, 5 years ago)
  • wp-includes/user.php

     
    394394                $meta_value = stripslashes($meta_value); 
    395395        $meta_value = maybe_serialize($meta_value); 
    396396 
    397         if (empty($meta_value)) { 
     397        if ('' == $meta_value) { 
    398398                return delete_usermeta($user_id, $meta_key); 
    399399        } 
    400400