WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#4291 closed defect (bug) (fixed)

Sort by option in pages widget loses default value

Reported by: bloertscher Owned by: rob1n
Milestone: 2.2.1 Priority: normal
Severity: normal Version: 2.2
Component: Administration Keywords:
Focuses: Cc:

Description

[5486] added the ability to specify sort order for the pages widget. If you change the sort order to sort by menu order and click save changes, the change takes affect. If you click Save Changes in the widgets page once again, the sort order reverts back to page title.

Change History (6)

comment:1 ryan7 years ago

  • Owner changed from anonymous to rob1n

comment:2 rob1n7 years ago

  • Status changed from new to assigned

Oh, d'oh.

comment:3 rob1n7 years ago

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

(In [5490]) Select the option if it's set to that. fixes #4291

comment:4 markjaquith7 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

rob1n, check out the selected() function... should make this fix a little bit leaner.

comment:5 rob1n7 years ago

Righto.

comment:6 rob1n7 years ago

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

(In [5535]) Use selected() to clean that up. Thanks Mark. fixes #4291

Note: See TracTickets for help on using tickets.