[wp-trac] [WordPress Trac] #20929: wp_list_filter Notice

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 27 00:42:59 UTC 2012


#20929: wp_list_filter Notice
-------------------------------------+------------------
 Reporter:  wpsmith                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.5
Component:  Taxonomy                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |
-------------------------------------+------------------
Changes (by kurtpayne):

 * cc: kpayne@… (added)
 * keywords:  has-patch needs-refresh needs-unit-tests => has-patch needs-
     refresh


Comment:

 Attached the first attempt at a unit test.  I'm sure it could be improved
 upon.

 It doesn't rely on the user passing "-d" in, and will force E_NOTICE on to
 capture the notice message, since that's the symptom we're testing.

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


More information about the wp-trac mailing list