Additional plugin API hooks, extending moderation scheme to more fully cover trackbacks and pingbacks, cleanup of XML-RPC file.

git-svn-id: https://develop.svn.wordpress.org/trunk@1012 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-03-25 20:18:20 +00:00
parent cadc96082b
commit 84635f1a44
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -1567,6 +1567,7 @@ function get_posts($args) {
}
function check_comment($author, $email, $url, $comment, $user_ip) {
if (1 == get_settings('comment_moderation')) return false;
$words = explode("\n", get_settings('moderation_keys') );
foreach ($words as $word) {
$word = trim($word);