[wp-trac] [WordPress Trac] #34073: Comment walker calls get_comment_link with invalid arguments

WordPress Trac noreply at wordpress.org
Tue Sep 29 11:57:55 UTC 2015


#34073: Comment walker calls get_comment_link with invalid arguments
---------------------------+-----------------------------
 Reporter:  peterwilsoncc  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Comments       |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 The comment walker calls get_comment_link such the the returned link is
 always includes the first page of comment pagination links, ie `comment-
 page-1` (literally one, not any positive integer).

 The pagination portion of the $args passed by the walker always sets the
 page to 1.

 {{{
 array(15) {

   // snip

   ["page"]=>
   int(1)
   ["per_page"]=>
   string(1) "5"

   // snip
 }
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34073>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list