Make WordPress Core

Ticket #2861: Custom_tags_filter.patch

File Custom_tags_filter.patch, 554 bytes (added by DevaSatyam, 18 years ago)
  • wp-includes/post-template.php

     
    212212                                continue;
    213213                        $values = array_map('trim', get_post_custom_values($key));
    214214                        $value = implode($values,', ');
    215                         echo "<li><span class='post-meta-key'>$key:</span> $value</li>\n";
     215                        echo apply_filters('custom_tags',"<li><span class='post-meta-key'>$key:</span> $value</li>\n",$key,$value);
    216216                }
    217217                echo "</ul>\n";
    218218        }