[wp-trac] [WordPress Trac] #35821: WP_Query( array( 'name' => '' ) )

WordPress Trac noreply at wordpress.org
Fri Feb 12 21:39:22 UTC 2016


#35821: WP_Query( array( 'name' => '' )  )
----------------------------+-----------------------------
 Reporter:  ChiefAlchemist  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Database        |    Version:  4.4.2
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Similar to the other bug I just reported.

 When in the query is: 'name' => '' I'm getting results.

 Mind you, in the DB, 'name' should never be ''. Therefore such a query
 should return nothing. It doesn't' return nothing ;)

 p.s. If there a reason why WP_Query() isn't in the component select below?

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


More information about the wp-trac mailing list