Make WordPress Core

Opened 4 years ago

Last modified 5 weeks ago

#21492 new defect (bug)

Theme customizer > Static front page: missing error message when front page and posts pages are similar

Reported by: hd-J Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Customize Keywords: has-patch dev-feedback
Focuses: ui Cc:


Steps to reproduce:

  1. Activate Twenty Eleven
  2. Open the Customizer
  3. In "Static Front page", choose the same page as your front page and Posts page:

Would it be possible to display the same warning in the Customizer, to avoid any confusion for the users?

Related: #19627 and #16379

Attachments (1)

21492.patch (1.6 KB) - added by ocean90 3 years ago.

Download all attachments as: .zip

Change History (11)

#1 @SergeyBiryukov
4 years ago

  • Component changed from Themes to Appearance

#2 @jkudish
4 years ago

related: #19627

Version 0, edited 4 years ago by jkudish (next)

#3 @jkudish
4 years ago

  • Cc joachim.kudish@… added

This ticket was mentioned in IRC in #wordpress-dev by ericandrewlewis. View the logs.

3 years ago

3 years ago

#5 follow-up: @ocean90
3 years ago

  • Focuses ui added
  • Keywords has-patch added
  • Milestone changed from Awaiting Review to Future Release

Interesting that we have this warning, which seems a bit useless.

21492.patch is a first try to bring the warning to the Customizer. Currently it only compares the values when a setting is changed and shows the same message if the values are equal. Another idea would be to just remove the value from the other menu.

Also I'm not sure if should just wait for #19627 and #16379.

#7 @chriscct7
11 months ago

  • Keywords dev-feedback added

#8 in reply to: ↑ 5 @westonruter
11 months ago

Replying to ocean90:

Another idea would be to just remove the value from the other menu.

If we did that, then we should also display a notice ensuring that the user sees that the other setting has been reset, and explain that the two page designations can't point to the same page.

#9 @lancewillett
4 months ago

This came up recently in Calypso GitHub: https://github.com/Automattic/wp-calypso/issues/3085 — similar discussion. I think it'd be a nice enhancement, especially for new users — to avoid the confusion of setting the same page for both Posts and Static Home Page.

#10 @sixhours
5 weeks ago

Would love to see this happen. It's a common source of user confusion. I started a patch, but it's written in jQuery; a vanilla JS solution like the above would probably be better.

Note: See TracTickets for help on using tickets.