[wp-trac] [WordPress Trac] #25835: WP_Date_Query duplicated Parameters

WordPress Trac noreply at wordpress.org
Sun May 4 23:06:08 UTC 2014


#25835: WP_Date_Query duplicated Parameters
------------------------------------+-----------------------------
 Reporter:  ChriCo                  |       Owner:  wonderboymusic
     Type:  defect (bug)            |      Status:  closed
 Priority:  low                     |   Milestone:  Future Release
Component:  Query                   |     Version:  3.7
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28252"]:
 {{{
 #!CommitTicketReference repository="" revision="28252"
 In `WP_Date_Query::get_sql_for_subquery()`, don't parse duplicate
 parameters - only parse one of `w` and `week` or `month` and `monthnum`.

 Adds unit tests.

 Props oso96_2000, ChriCo.
 Fixes #25835.
 }}}

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


More information about the wp-trac mailing list