summaryrefslogtreecommitdiffstats
path: root/wp-includes/functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-10-11 11:37:25 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-10-11 11:37:25 +0000
commit69f836f072daf4553db3a76429581ddbc2742f98 (patch)
tree83a41f870824fe5cbc30a2784c9f917daeca0d74 /wp-includes/functions.php
parentee66b743ce7a5df18d37b4deb34d469aac1d2b5f (diff)
downloadwordpress-mu-69f836f072daf4553db3a76429581ddbc2742f98.tar.gz
wordpress-mu-69f836f072daf4553db3a76429581ddbc2742f98.tar.xz
wordpress-mu-69f836f072daf4553db3a76429581ddbc2742f98.zip
WP Merge to rev 4376
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@802 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/functions.php')
-rw-r--r--wp-includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
index 6dc1f7f..a3f4994 100644
--- a/wp-includes/functions.php
+++ b/wp-includes/functions.php
@@ -573,7 +573,7 @@ function update_post_caches(&$posts) {
// Change from flat structure to hierarchical:
$post_meta_cache[$blog_id] = array();
foreach ($meta_list as $metarow) {
- $mpid = $metarow['post_id'];
+ $mpid = (int) $metarow['post_id'];
$mkey = $metarow['meta_key'];
$mval = $metarow['meta_value'];