[Wp-unit-tests] [WordPress Unit Tests] #26: isTracTicketClosed fails when description contains tabs

WordPress Unit Tests noreply at wordpress.org
Fri Mar 2 21:13:34 UTC 2012


#26: isTracTicketClosed fails when description contains tabs
----------------------------+------------------------------------
 Reporter:  kurtpayne       |      Owner:  kurtpayne
     Type:  defect          |     Status:  new
 Priority:  minor           |  Milestone:  Improve Test Framework
Component:  Test Framework  |    Version:
 Keywords:                  |
----------------------------+------------------------------------
 Tickets that contain tabs in the description (e.g. code samples) cause
 problems in `isTracTicketClosed()`.  Exploding the line on a tab doesn't
 obey column enclosures, so the status column gets moved to the right and
 the ticket status is lost.

 The fix is to use `str_getcsv` and a compatibility function for < php
 5.3.0.

-- 
Ticket URL: <https://unit-test.trac.wordpress.org/ticket/26>
WordPress Unit Tests <https://unit-test.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list