WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 11 months ago

Last modified 11 months ago

#15205 closed defect (bug) (fixed)

Disable front static page dropdowns via JS

Reported by: nacin Owned by:
Priority: lowest Milestone: 3.1
Component: UI Version:
Severity: normal Keywords:
Cc:

Description

We should disable via JS the "Front page" and "Posts page" dropdowns when "Latest posts" is selected.

Better UX, less confusion for the user.

Attachments (3)

front-page-displays.png (21.5 KB) - added by nacin 3 years ago.
Disable the two dropdowns unless "a static page" is selected.
15205.diff (1.4 KB) - added by koopersmith 3 years ago.
15205.2.diff (1.8 KB) - added by JustinSainton 11 months ago.

Download all attachments as: .zip

Change History (14)

nacin3 years ago

Disable the two dropdowns unless "a static page" is selected.

comment:1 jane3 years ago

Agreed, per chat with @nacin.

comment:2 nacin3 years ago

(In [15945]) Allow fields with a paragraph tag to align to top in the form-table on settings pages. see #15205.

koopersmith3 years ago

comment:3 nacin3 years ago

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

(In [15946]) Disable static page dropdowns when 'latest posts' is selected on Settings > Reading. props koopersmith, fixes #15205.

comment:4 duck_3 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Just me or is this working the wrong way around? Should it be:

selects.attr('disabled', staticPage.is(':checked') ? '' : 'disabled'); 

comment:5 nacin3 years ago

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

(In [15959]) Fix inverted logic. props duck_. fixes #15205.

comment:6 jane11 months ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

In 3.4, dropdowns are showing when blog posts selected.

comment:7 jane11 months ago

  • Keywords needs-patch 3.5-early added; ux-feedback removed

While we're in there, can we change Front Page to Home Page? Most users say home, not front.

JustinSainton11 months ago

comment:8 JustinSainton11 months ago

Patch attached for the lingo change. However, I'm still experiencing the fields being disabled if the 'latest posts' option is checked, which appears to be the original intended solution for this ticket. Are you intending for them to be disabled and hidden, or just disabled?

comment:9 nacin11 months ago

As this ticket was closed as fixed on a long-closed milestone, I'm going to close this in lieu of #16379.

comment:10 nacin11 months ago

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

comment:11 SergeyBiryukov11 months ago

  • Keywords needs-patch 3.5-early removed
Note: See TracTickets for help on using tickets.