WordPress.org

Make WordPress Core

Ticket #11465: 11465.3.diff

File 11465.3.diff, 411 bytes (added by MikeHansenMe, 6 years ago)

refreshed from src dir

  • src/wp-admin/includes/post.php

     
    819819
    820820                $metakey = wp_slash( $metakey );
    821821
    822                 return add_post_meta( $post_ID, $metakey, $metavalue );
     822                return update_post_meta( $post_ID, $metakey, $metavalue );
    823823        }
    824824
    825825        return false;