[wp-trac] [WordPress Trac] #25710: wp_list_categories 'exclude' not excluding categories

WordPress Trac noreply at wordpress.org
Sat Oct 26 07:05:37 UTC 2013


#25710: wp_list_categories 'exclude' not excluding categories
--------------------------+--------------------
 Reporter:  mbijon        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.7.1
Component:  Template      |     Version:  3.7
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+--------------------

Comment (by mbijon):

 Actually, @kovshenin already wrote a more-refined version of
 `test_get_terms_include_exclude()`. Although that may not catch this case,
 it's not in the SVN path I expected & I'm not sure which set of tests the
 core team has running for builds:

 * Minimal test:
 http://core.trac.wordpress.org/browser/trunk/tests/tests/term/getTerms.php?rev=25162&order=name

 * Kovshenin's refined test, that still passes this case:
 http://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/term/getTerms.php?rev=25257

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


More information about the wp-trac mailing list