Ticket #1058: post_custom.patch
| File post_custom.patch, 363 bytes (added by kellan, 7 years ago) |
|---|
-
template-functions-post.php
old new 234 234 } 235 235 236 236 function post_custom( $key = '' ) { 237 global $id, $post_meta_cache; 238 237 239 if ( 1 == count($post_meta_cache[$id][$key]) ) return $post_meta_cache[$id][$key][0]; 238 240 else return $post_meta_cache[$id][$key]; 239 241 }
