Make WordPress Core

Ticket #2861: 2861.diff

File 2861.diff, 555 bytes (added by mdawaffe, 18 years ago)

the_meta_key

  • wp-includes/post-template.php

     
    217217                                continue;
    218218                        $values = array_map('trim', get_post_custom_values($key));
    219219                        $value = implode($values,', ');
    220                         echo "<li><span class='post-meta-key'>$key:</span> $value</li>\n";
     220                        echo apply_filters( 'the_meta_key', "<li><span class='post-meta-key'>$key:</span> $value</li>\n", $key, $value );
    221221                }
    222222                echo "</ul>\n";
    223223        }