Made second argument to wp_notify_postauthor optional.

git-svn-id: https://develop.svn.wordpress.org/trunk@578 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2003-12-07 09:45:15 +00:00
parent 9c7b3fe7d5
commit 11879dd7d4
1 changed files with 1 additions and 1 deletions

View File

@ -1451,7 +1451,7 @@ function wp_get_comment_status($comment_id) {
}
}
function wp_notify_postauthor($comment_id, $comment_type) {
function wp_notify_postauthor($comment_id, $comment_type='comment') {
global $wpdb, $tablecomments, $tableposts, $tableusers;
global $querystring_start, $querystring_equal, $querystring_separator;
global $blogfilename, $blogname, $siteurl;