Ticket #2478: 2478.diff
File 2478.diff, 792 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', get_post_custom_values($key)); 262 $value = implode($values,', '); 263 echo "<li><span class='post-meta-key'>$key:</span> $value</li>\n"; 261 $keyt = trim($key); 262 if ($keyt{0} != '_') { 263 $values = array_map('trim', get_post_custom_values($key)); 264 $value = implode($values,', '); 265 echo "<li><span class='post-meta-key'>$key:</span> $value</li>\n"; 266 } 264 267 } 265 268 echo "</ul>\n"; 266 269 }