Ticket #63420: use-identity-operator-to-detect-failure.patch
File use-identity-operator-to-detect-failure.patch, 395 bytes (added by , 2 months ago) |
---|
-
src/wp-includes/meta.php
diff --git a/src/wp-includes/meta.php b/src/wp-includes/meta.php index 6982e618c3..6c8a1350ef 100644
a b function update_metadata( $meta_type, $object_id, $meta_key, $meta_value, $prev_ 312 312 } 313 313 314 314 $result = $wpdb->update( $table, $data, $where ); 315 if ( !$result ) {315 if ( false === $result ) { 316 316 return false; 317 317 } 318 318