[wp-trac] [WordPress Trac] #21101: Allow get_comments() to query for explicit value of comment_approved
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 25 17:14:07 UTC 2012
#21101: Allow get_comments() to query for explicit value of comment_approved
-------------------------+-----------------------
Reporter: nbachiyski | Owner: westi
Type: enhancement | Status: assigned
Priority: normal | Milestone: 3.5
Component: Comments | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------
Comment (by westi):
So the discussion we had in IRC was:
https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
dev&day=2012-08-21&sort=asc#m441254
Basically, a new query variable allowed us to implement a clean API
instead of the "dirty" one with caveats that we would have had if we tried
to overload the old status argument that interprets the data passed in.
I still think that the clean api is more important that the "duplicated"
parameter.
Happy to discuss this on Wednesday if people want to - seems like the dev-
chat would be the best venue for further discussion.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21101#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list