get_terms() orderby broken in some cases
|Reported by:||dd32||Owned by:||filosofo|
 introduced a bit of a bug.. $orderby in the past has been set to an upper case 'ID', which was fine, since it droped through to the else case..
Now however.. It doesnt, It drops through and adds a 'ORDER BY ID' remark..
attached patch works off a lower case'd string, as well as fixing one instance where orderby=ID is defaulted to.