Deprecate number argument to comments_number. No longer used. fixes #2687
git-svn-id: http://svn.automattic.com/wordpress/trunk@5101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
84cda2c6bb
commit
9a6630ed11
|
@ -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