Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#27401 closed defect (bug) (fixed)

Widget Customizer: Better ordering of widget areas

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

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 9 years ago.
27401.diff (1.2 KB) - added by westonruter 9 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
9 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 3.9

I agree.

@westonruter
9 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
9 years ago

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

#3 @westonruter
9 years ago

  • Owner changed from ocean60 to ocean90

#4 @ocean90
9 years ago

  • Resolution set to fixed
  • Status changed from reviewing to 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.