[wp-trac] [WordPress Trac] #30117: Possible regression in taxonomy.php sanitize_query

WordPress Trac noreply at wordpress.org
Sun Oct 26 22:56:38 UTC 2014


#30117: Possible regression in taxonomy.php sanitize_query
--------------------------+---------------------------
 Reporter:  tmtrademark   |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Taxonomy      |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30031"]:
 {{{
 #!CommitTicketReference repository="" revision="30031"
 Improve `WP_Tax_Query` param sanitization for empty strings.

 When an empty string is passed as one of the clauses in the `$tax_query`
 parameter, it should be discarded rather than parsed as a first-order
 clause.

 Props tmtrademark.
 Fixes #30117.
 }}}

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


More information about the wp-trac mailing list