[wp-trac] Re: [WordPress Trac] #1302: Sort the_category() by cat name

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 20 06:01:55 GMT 2007


#1302: Sort the_category() by cat name
-------------------------------+--------------------------------------------
 Reporter:  Denis de Bernardy  |        Owner:  rob1n   
     Type:  defect             |       Status:  assigned
 Priority:  low                |    Milestone:  2.2     
Component:  Template           |      Version:  2.1     
 Severity:  trivial            |   Resolution:          
 Keywords:  has-patch          |  
-------------------------------+--------------------------------------------
Changes (by rob1n):

  * keywords:  dev-feedback 2nd-opinion => has-patch

Comment:

 Apparently it was doing a sort() on an array of objects, which does
 nothing. I added a new callback function and changed the sort() call to a
 usort(). Should work now.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/1302#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list