diff options
Diffstat (limited to 'wp-includes/functions.php')
| -rw-r--r-- | wp-includes/functions.php | 2 |
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']; |
