Correctly add args to strings that contain only a query string and not a full URI.

git-svn-id: https://develop.svn.wordpress.org/trunk@2227 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-02-06 03:40:08 +00:00
parent bd9b765b38
commit e90040e79b
9 changed files with 32 additions and 32 deletions

View File

@@ -598,7 +598,7 @@ function wp_set_comment_status($comment_id, $comment_status) {
}
if ($wpdb->query($query)) {
do_action('wp_set_comment_status', $comment_id);
do_action('wp_set_comment_status', $comment_id, $comment_status);
return true;
} else {
return false;