[wp-trac] [WordPress Trac] #25775: WP_Date_Query table prefixing

WordPress Trac noreply at wordpress.org
Mon Oct 6 22:21:20 UTC 2014


#25775: WP_Date_Query table prefixing
-------------------------------------------------+-------------------------
 Reporter:  ew_holmes                            |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Query                                |  Release
 Severity:  major                                |     Version:  3.7
 Keywords:  needs-refresh needs-unit-tests       |  Resolution:
  4.1-early                                      |     Focuses:
-------------------------------------------------+-------------------------

Comment (by webbistro):

 Hello, I added taxonomies to the attachment post type and now get
 "WordPress database error: [Column 'post_date' in where clause is
 ambiguous]" when trying to use 'tax_query' and 'date_query' for
 'post_type' => 'attachment' and 'post_status' => 'inherit'. WP 4.0

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


More information about the wp-trac mailing list