[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
Mon Feb 12 21:11:15 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 | Focuses: template
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"42703"]:
{{{
#!CommitTicketReference repository="" revision="42703"
Comments: Avoid a PHP notice in `paginate_comments_links()` if `type`
argument is set to array.
The function is a wrapper for `paginate_links()`, which returns an array
if requested.
Props anantajitjg.
Fixes #43299.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43299#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list