git-svn-id: http://svn.automattic.com/wordpress/trunk@6657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-01-25 03:19:34 +00:00
parent 4b812eb11f
commit 2e8ee3b0e0
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' ) ); $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; return true;
} }