Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#27401 closed defect (bug) (fixed)

Widget Customizer: Better ordering of widget areas

Reported by: iseulde Owned by: ocean90
Priority: normal Milestone: 3.9
Component: Widgets Version: 3.9
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Wouldn't it make more sense to order the widget areas in which they are registered? Sometimes themes name their widget areas '... One', '... Two' etc. Currently these are not ordered correctly, and widget areas in the footer appear above the main sidebar. See screenshot with Twenty Eleven active.

Attachments (2)

Screen Shot 2014-03-13 at 20.14.05.png​ (17.8 KB ) - added by iseulde 13 years ago.
27401.diff​ (1.2 KB ) - added by westonruter 13 years ago.
Order widget area sections in the order they were registered. Give widget area sections a high priority so that they appear at the end of the customizer. ​https://github.com/x-team/wordpress-develop/compare/trac-27401

Download all attachments as: .zip

Change History (6)

#1 @ocean90
13 years ago

  • Keywords needs-patch added
  • Milestone Awaiting Review → 3.9

I agree.

@westonruter
13 years ago

Order widget area sections in the order they were registered. Give widget area sections a high priority so that they appear at the end of the customizer. ​https://github.com/x-team/wordpress-develop/compare/trac-27401

#2 @westonruter
13 years ago

  • Keywords has-patch added; needs-patch removed
  • Owner set to ocean60
  • Status new → reviewing

#3 @westonruter
13 years ago

  • Owner changed from ocean60 to ocean90

#4 @ocean90
13 years ago

  • Resolution → fixed
  • Status reviewing → closed

In 27541:

Widget Customizer: Move widget area sections to bottom.

Since a theme can have a lot of widget areas and we don't want to bury third-party sections, bump the widget sections to the bottom with a priority of 1000+. Fixes also the ordering.

props westonruter.
fixes #27401.

Note: See TracTickets for help on using tickets.