WordPress.org

Make WordPress Core

Ticket #11465: 11465.2.patch

File 11465.2.patch, 345 bytes (added by collinsinternet, 7 years ago)

Last patch was exported incorrectly.

  • wp-admin/includes/post.php

     
    757757
    758758                $metakey = wp_slash( $metakey );
    759759
    760                 return add_post_meta( $post_ID, $metakey, $metavalue );
     760                return update_post_meta( $post_ID, $metakey, $metavalue );
    761761        }
    762762
    763763        return false;