[wp-trac] [WordPress Trac] #23699: Better `wp_unique_filename` tests

WordPress Trac noreply at wordpress.org
Tue Mar 5 20:56:41 UTC 2013


#23699: Better `wp_unique_filename` tests
-----------------------------+-------------------------
 Reporter:  joehoyle         |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Unit Tests
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+-------------------------
 I refactored the wp_unique_filename test case, as it was rather old and
 too complicated. The new tests are a lot more linear with no looping, no
 requirement to write to filesystem. Also, the old one didn't work if you
 had wp installed in a path with spaces

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23699>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list