Ticket #2160: 2160.2.diff
File 2160.2.diff, 476 bytes (added by , 19 years ago) |
---|
-
wp-includes/template-functions-post.php
234 234 function get_post_custom_values($key='') { 235 235 global $id, $post_meta_cache; 236 236 237 return $post_meta_cache[$id][$key]; 237 if (empty($key)) { 238 return $post_meta_cache[$id]; 239 } else { 240 return get_post_custom(); 241 } 238 242 } 239 243 240 244