Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@6657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f1140ae187
commit
9125d102d4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue