[wp-trac] [WordPress Trac] #32953: List table: order by comments should be by total comments count
WordPress Trac
noreply at wordpress.org
Thu Jul 9 22:23:34 UTC 2015
#32953: List table: order by comments should be by total comments count
----------------------------+------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3
Component: Administration | Version: 4.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui
----------------------------+------------------
Comment (by helen):
Looks like it's used in:
* `get_comments_number()` - a very popular templating function.
* By extension of the above, `comments_bubble()` and
`get_comments_number_text()`.
* `feed_links_extra()`
* Feeds.
* The patch on #32152 :)
* And of course, any other query anybody has that orders by comment count,
and likely currently expects it to be the approved comment count.
I don't know how we could order by total comments otherwise.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32953#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list