[wp-trac] [WordPress Unit Tests] #96: Port test_query.php

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 2 16:40:50 UTC 2012


#96: Port test_query.php
-----------------------+-------------------------
 Reporter:  maxcutler  |       Owner:
     Type:  task       |      Status:  new
 Priority:  normal     |   Milestone:  Port Tests
Component:  Query      |  Resolution:
 Keywords:             |
-----------------------+-------------------------

Comment (by nacin):

 > Edit: Nevermind. I didn't read the function properly. It's not creating
 new terms.

 I think it can create new non-hierarchical stuff (needs slugs), but not
 new hierarchical stuff (needs ids). Essentially, it should be call
 set_post_terms() to match wp_set_post_terms(), but I made it so append =
 false by default.

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/96#comment:5>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-trac mailing list