[wp-trac] [WordPress Trac] #32081: comments query w/ meta_value and comments__in returns clause is ambiguous db error

WordPress Trac noreply at wordpress.org
Thu Apr 23 17:37:19 UTC 2015


#32081: comments query w/ meta_value and comments__in returns clause is ambiguous
db error
---------------------------+-----------------------------
 Reporter:  willgladstone  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Comments       |    Version:  4.1.2
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 using `comments__in` in a comment query does not work when also querying
 the comment meta table as the column name becomes ambiguous. Appending the
 db table name to the column name will fix it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32081>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list