Make WordPress Core


Ignore:
Timestamp:
10/11/2006 09:18:54 AM (18 years ago)
Author:
markjaquith
Message:

Post meta caching fix by mdawaffe. fixes #3229

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r4359 r4372  
    543543        $post_meta_cache = array();
    544544        foreach ($meta_list as $metarow) {
    545             $mpid = $metarow['post_id'];
     545            $mpid = (int) $metarow['post_id'];
    546546            $mkey = $metarow['meta_key'];
    547547            $mval = $metarow['meta_value'];
Note: See TracChangeset for help on using the changeset viewer.