[wp-trac] [WordPress Trac] #36208: Comment queries should ignore comments associated with non-active custom post types

WordPress Trac noreply at wordpress.org
Fri Mar 11 15:37:10 UTC 2016


#36208: Comment queries should ignore comments associated with non-active custom
post types
----------------------------------------+------------------------------
 Reporter:  Clorith                     |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Comments                    |     Version:  4.4
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by rachelbaker):

 I wonder if a more straight-forward approach would be to add support for
 `post_type => active`?  Downside would be there would be a conflict with
 any post_types named `active`.

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


More information about the wp-trac mailing list