Ticket #2478: template-functions-post.php.diff
File template-functions-post.php.diff, 778 bytes (added by , 19 years ago) |
---|
-
wp-includes/template-functions-post.php
258 258 if ( $keys = get_post_custom_keys() ) { 259 259 echo "<ul class='post-meta'>\n"; 260 260 foreach ( $keys as $key ) { 261 $values = array_map('trim',$post_meta_cache[$id][$key]); 262 $value = implode($values,', '); 263 echo "<li><span class='post-meta-key'>$key:</span> $value</li>\n"; 261 if (0 !== strpos(trim($key), '_')) { 262 $values = array_map('trim',$post_meta_cache[$id][$key]); 263 $value = implode($values,', '); 264 echo "<li><span class='post-meta-key'>$key:</span> $value</li>\n"; 265 } 264 266 } 265 267 echo "</ul>\n"; 266 268 }