From 2e8ee3b0e0e86543fdeea7081ed0f7ffbef70cb8 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 25 Jan 2008 03:19:34 +0000 Subject: [PATCH] Typo fix git-svn-id: http://svn.automattic.com/wordpress/trunk@6657 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 4bbad29904..60805b7b7e 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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; }