[wp-trac] [WordPress Trac] #9547: Taxonomy - interesting 'unused' term_order column in table term_relationships.
WordPress Trac
noreply at wordpress.org
Mon Apr 29 06:12:09 UTC 2013
#9547: Taxonomy - interesting 'unused' term_order column in table
term_relationships.
----------------------------------------+-----------------------
Reporter: michelwppi | Owner: ryan
Type: feature request | Status: reopened
Priority: high | Milestone: 3.6
Component: Taxonomy | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests |
----------------------------------------+-----------------------
Changes (by tollmanz):
* cc: tollmanz@… (added)
Comment:
Added unit tests that attempt to test the latest patch as well as do a few
other things:
* Ordering using wp_get_post_terms is tested. The latest patch adds the
ability to order by "term_group" and previously no ordering has been
tested with wp_get_post_terms. I added those tests.
* get_terms, get_the_term_list, and the_terms are tested when the $args
parameter is used, which was added with the latest patch for this ticket.
In all of these tests, I tested to make sure that the cache key was
handled correctly so that different $args values would generate different
cache objects.
* The latest patch broke the "test_object_term_cache" test. This has been
fixed. The issue was due to the change of the cache key in the latest
patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9547#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list