[wp-trac] [WordPress Trac] #43299: function paginate_comments_links() results in a Notice instead of returning an array when 'type' is set to 'array'

WordPress Trac noreply at wordpress.org
Sun Feb 25 16:07:11 UTC 2018


#43299: function paginate_comments_links() results in a Notice instead of returning
an array when 'type' is set to 'array'
------------------------------------+-----------------------------
 Reporter:  anantajitjg             |       Owner:  SergeyBiryukov
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  5.0
Component:  Comments                |     Version:  4.9.4
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |     Focuses:  template
------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42736"]:
 {{{
 #!CommitTicketReference repository="" revision="42736"
 Comments: After [42703], make sure `$args['type']` in
 `paginate_comments_links()` is always defined.

 Props anantajitjg.
 Fixes #43299.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43299#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list