Made second argument to wp_notify_postauthor optional.

git-svn-id: http://svn.automattic.com/wordpress/trunk@578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-12-07 09:45:15 +00:00
parent e16579e433
commit e3645bc203

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;