Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#38524 closed defect (bug) (fixed)

Customize: Move Additional CSS section after default priority

Reported by: celloexpressions's profile celloexpressions Owned by: westonruter's profile westonruter
Milestone: 4.7 Priority: normal
Severity: trivial Version: 4.7
Component: Customize Keywords: good-first-bug has-patch commit
Focuses: Cc:

Description

The "Additional CSS" section should generally be the last section in the top level, since it theoretically overrides all other options. I'd suggest adjusting its priority to 200 (the default is 160). Currently it's at 140, but that ends up before custom sections that don't specify any priority, which is the case for most themes and plugins.

Attachments (1)

38524.patch (781 bytes) - added by Mista-Flo 8 years ago.
Change priority of Additional CSS section to 200 (instead of 140)

Download all attachments as: .zip

Change History (5)

This ticket was mentioned in Slack in #core by jeffpaul. View the logs.


8 years ago

@Mista-Flo
8 years ago

Change priority of Additional CSS section to 200 (instead of 140)

#2 @Mista-Flo
8 years ago

  • Keywords has-patch added; needs-patch removed

#3 @celloexpressions
8 years ago

  • Keywords commit added
  • Owner set to westonruter
  • Status changed from new to reviewing

Nice work @Mista-Flo, 38524.patch looks ready for commit.

#4 @westonruter
8 years ago

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

In 39003:

Customize: Move Additional CSS section toward end of list by assigning priority higher than default.

Props Mista-Flo.
Fixes #38524.

Note: See TracTickets for help on using tickets.