mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-10 07:34:34 +00:00
Use the value of the `comment_order` setting to determine the date_query key to pass to `WP_Comment_Query`. Fixes a bug where sites that had comments ordered "newest" first would have the incorrect page number returned. Props tyxla, boonebgorges. Fixes #31101. git-svn-id: https://develop.svn.wordpress.org/trunk@38740 602fd350-edb4-49c9-b593-d223f7449a82