Deprecate number argument to comments_number. No longer used. fixes #2687
git-svn-id: https://develop.svn.wordpress.org/trunk@5101 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2185aa3723
commit
6e2d108bf0
|
@ -161,7 +161,7 @@ function get_comments_number( $post_id = 0 ) {
|
||||||
return apply_filters('get_comments_number', $count);
|
return apply_filters('get_comments_number', $count);
|
||||||
}
|
}
|
||||||
|
|
||||||
function comments_number( $zero = false, $one = false, $more = false, $number = '' ) {
|
function comments_number( $zero = false, $one = false, $more = false, $deprecated = '' ) {
|
||||||
global $id;
|
global $id;
|
||||||
$number = get_comments_number($id);
|
$number = get_comments_number($id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue