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:
parent
9c7b3fe7d5
commit
11879dd7d4
@ -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 $wpdb, $tablecomments, $tableposts, $tableusers;
|
||||||
global $querystring_start, $querystring_equal, $querystring_separator;
|
global $querystring_start, $querystring_equal, $querystring_separator;
|
||||||
global $blogfilename, $blogname, $siteurl;
|
global $blogfilename, $blogname, $siteurl;
|
||||||
|
Loading…
Reference in New Issue
Block a user