Changeset 1305

Show
Ignore:
Timestamp:
05/22/08 15:54:50 (7 months ago)
Author:
donncha
Message:

Cast as array to avoid feed.php errors to avoid http://trac.wordpress.org/ticket/7014

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/post.php

    r1260 r1305  
    695695                update_postmeta_cache($post_id); 
    696696 
    697         return wp_cache_get($post_id, 'post_meta'); 
     697        return (array)wp_cache_get($post_id, 'post_meta'); 
    698698} 
    699699