git-svn-id: https://develop.svn.wordpress.org/trunk@6657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-01-25 03:19:34 +00:00
parent f1140ae187
commit 9125d102d4
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ function add_post_meta($post_id, $meta_key, $meta_value, $unique = false) {
$wpdb->insert( $wpdb->postmeta, compact( 'post_id', 'meta_key', 'meta_value' ) );
wp_delete_cache($post_id, 'post_meta');
wp_cache_delete($post_id, 'post_meta');
return true;
}