Changeset 1012
- Timestamp:
- 03/25/2004 08:18:20 PM (21 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r1005 r1012 379 379 } // end if moving from draft/private to published 380 380 if ($post_status == 'publish') { 381 do_action('publish_post', $post_ID); 381 382 // Trackback time. 382 383 $to_ping = trim($wpdb->get_var("SELECT to_ping FROM $tableposts WHERE ID = $post_ID")); … … 408 409 } 409 410 header ('Location: ' . $location); 411 do_action('edit_post', $post_ID); 410 412 break; 411 413 … … 449 451 if (strstr($sendback, 'post.php')) $sendback = get_settings('siteurl') .'/wp-admin/post.php'; 450 452 header ('Location: ' . $sendback); 451 453 do_action('delete_post', $post_ID); 452 454 break; 453 455 … … 677 679 if (!empty($referredby)) header('Location: ' . $referredby); 678 680 else header ("Location: edit.php?p=$comment_post_ID&c=1#comments"); 679 681 do_action('edit_comment', $post_ID); 680 682 break; 681 683 -
trunk/wp-comments-post.php
r997 r1012 101 101 } 102 102 103 do_action('comment_post', $comment_ID); 104 103 105 if ($email == '') 104 106 $email = ' '; // this to make sure a cookie is set for 'no email' -
trunk/wp-includes/functions.php
r1011 r1012 1568 1568 1569 1569 function check_comment($author, $email, $url, $comment, $user_ip) { 1570 if (1 == get_settings('comment_moderation')) return false; 1570 1571 $words = explode("\n", get_settings('moderation_keys') ); 1571 1572 foreach ($words as $word) { -
trunk/wp-trackback.php
r1003 r1012 87 87 wp_notify_postauthor($comment_ID, 'trackback'); 88 88 trackback_response(0); 89 do_action('trackback_post', $comment_ID); 89 90 } 90 91 }
Note: See TracChangeset
for help on using the changeset viewer.