[wp-trac] [WordPress Trac] #25282: Unit Tests should run in Debug mode

WordPress Trac noreply at wordpress.org
Thu Sep 12 06:24:10 UTC 2013


#25282: Unit Tests should run in Debug mode
----------------------------+--------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.7
Component:  Unit Tests      |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------

Comment (by wonderboymusic):

 In [changeset:"25392"]:
 {{{
 #!CommitTicketReference repository="" revision="25392"
 * Add `isset()` checks all over `WP_User_Query::prepare_query()` and
 `WP_User_Query::query()`. When a `WP_User_Query` instance is constructed
 without passing args, no query vars are filled in, thus `$qv` doesn't
 contain most of the expected indices.
 * Suppress an undefined index notice in `tests/user/query.php`

 Fixes #25292.
 See #25282.
 }}}

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


More information about the wp-trac mailing list