Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#9766 closed defect (bug) (fixed)

Widgets erroneously sorted

Reported by: denis-de-bernardy's profile Denis-de-Bernardy Owned by:
Milestone: 2.8 Priority: normal
Severity: minor Version: 2.8
Component: Widgets Keywords: has-patch tested commit
Focuses: Cc:

Description

The available widgets are currently listed by widget id_base (?), rather by their name.

Attachments (1)

9766.diff (1.2 KB) - added by Denis-de-Bernardy 16 years ago.

Download all attachments as: .zip

Change History (5)

#1 @Denis-de-Bernardy
16 years ago

  • Keywords has-patch tested commit added

#2 @azaozz
16 years ago

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

(In [11247]) Sort widgets by name case insensitive, fixes #9766

#3 @azaozz
16 years ago

Good idea but it needs to use strnatcasecmp() and preferably work on a copy of the global array.

#4 @Denis-de-Bernardy
16 years ago

I'm happy with it either way, as long as widgets don't seem randomly ordered. ;-)

Thanks for having fixed it!

Note: See TracTickets for help on using tickets.