mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user