Ticket #1482: 1482.diff
| File 1482.diff, 424 bytes (added by , 21 years ago) |
|---|
-
functions.php
391 391 392 392 function get_post_meta($post_id, $key, $single = false) { 393 393 global $wpdb, $post_meta_cache; 394 394 395 if (!$post_id) return; 396 395 397 if (isset($post_meta_cache[$post_id][$key])) { 396 398 if ($single) { 397 399 return $post_meta_cache[$post_id][$key][0];