Make WordPress Core

Opened 16 years ago

Closed 15 years ago

#7539 closed enhancement (fixed)

get_terms doesnt use custom orderby

Reported by: gimler's profile gimler Owned by: ryan's profile ryan
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.7
Component: Taxonomy Keywords: has-patch commit
Focuses: Cc:


i wan't to use it for sort with my costum column

Attachments (2)

get_terms_order.diff (383 bytes) - added by gimler 16 years ago.
7539.diff (877 bytes) - added by DD32 15 years ago.

Download all attachments as: .zip

Change History (7)

#1 @DD32
15 years ago

  • Keywords has-patch dev-feedback added

#2 @jacobsantos
15 years ago

  • Summary changed from [PATCH] get_terms not use costum orderby to [PATCH] get_terms not use custom orderby

#3 @DD32
15 years ago

  • Component changed from General to Taxonomy
  • Milestone changed from 2.7 to 2.8
  • Owner changed from anonymous to ryan
  • Summary changed from [PATCH] get_terms not use custom orderby to get_terms doesnt use custom orderby
  • Type changed from defect to enhancement
  • Version set to 2.7

The attached patch is useless, Well, In the sense that $orderby will *allways* be set.

I've attached another patch which might be better suited.

I also feel this is an enhancement as it adds functionality, not corrects a bug as its not a defined use case, Its not expected that you would have a reason to add a new column.

15 years ago

#4 @Denis-de-Bernardy
15 years ago

  • Keywords commit added; dev-feedback removed


#5 @westi
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [11250]) Allow for custom ordering in get_terms(). Fixes #7539 props DD32.

Note: See TracTickets for help on using tickets.