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

WordPress Trac noreply at wordpress.org
Fri Dec 6 18:53:03 UTC 2013


#25775: WP_Date_Query table prefixing
---------------------------------+-----------------------------
 Reporter:  ew_holmes            |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Query                |     Version:  3.7
 Severity:  major                |  Resolution:
 Keywords:  has-patch 3.9-early  |
---------------------------------+-----------------------------

Comment (by tomauger):

 Replying to [comment:13 nacin]:
 > I understand what wonderboymusic is tackling, but I am not sure what the
 original reported bug is here. This seems like a 3.9 thing at this point.

 It feels like the original ticket has been hijacked. I think the original
 patch just addressed a simple oversight in the way the SQL was generated
 in the new WP_Date_Query - namely that the table names were not being
 prefixed nor aliased. The original patch addresses this.

 As Viper007Bond says, it's not urgent, but then on the other hand, it's a
 very small fix, that won't break anything, and will increase the
 robustness of the SQL. I don't see a downside to pushing this through for
 3.7.2 or 3.8?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25775#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list