[wp-trac] [WordPress Trac] #2687: The comments_number function's fourth parameter is overwritten in the function body.

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 23 00:52:40 GMT 2006


#2687: The comments_number function's fourth parameter is overwritten in the
function body.
-----------------------+----------------------------------------------------
       Id:  2687       |      Status:  new                     
Component:  General    |    Modified:  Sun Apr 23 00:52:40 2006
 Severity:  normal     |   Milestone:                          
 Priority:  normal     |     Version:  2.0.2                   
    Owner:  anonymous  |    Reporter:  Pyrmont                 
-----------------------+----------------------------------------------------
 The comments_number function (located in wp-includes/comment-
 functions.php) allows for a fourth parameter, $number, to be set by the
 user (this functionality is also described in the Codex:
 http://codex.wordpress.org/Template_Tags/comments_number). However, in the
 body of the function the value of $number is overwritten, regardless of
 whether it has been set by the user or not.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2687>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list