[wp-trac] [WordPress Trac] #15231: get_the_category() used strcmp() which is case sensitive
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 27 11:02:24 UTC 2010
#15231: get_the_category() used strcmp() which is case sensitive
--------------------------+-------------------------------------------------
Reporter: joehoyle | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 3.0
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by joehoyle):
Well, we don't need to use `_usort_terms_by_name()`, why not just pass
`'orderby' => 'name'` to `wp_get_object_terms()` in `get_the_category()`?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15231#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list