[wp-trac] [WordPress Trac] #35478: 4.4 Regression on Querying for Comments by Multiple Post Fields

WordPress Trac noreply at wordpress.org
Fri Jan 15 19:27:12 UTC 2016


#35478: 4.4 Regression on Querying for Comments by Multiple Post Fields
------------------------------------------+--------------------
 Reporter:  chriscct7                     |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  high                          |   Milestone:  4.4.2
Component:  Comments                      |     Version:  4.4
 Severity:  major                         |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+--------------------
Changes (by chriscct7):

 * milestone:  Awaiting Review => 4.4.2


Comment:

 I think what can be done is change
 `$this->sql_clauses['where']['post_fields']` to
 `$this->sql_clauses['where'][ $field_name ]`

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


More information about the wp-trac mailing list