WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 6 years ago

#22200 closed defect (bug) (wontfix)

Require users to set a site title

Reported by: chrisrudzki Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch close
Focuses: ui Cc:

Description

Currently, users can get away with setting a blank site title under Settings -> General.

As a consequence, meta and title tags in both the front-end site and wp-admin may be empty, or contain extraneous spaces and separators.

A common reason why users leave site titles blank is due to the misperception that the site title is necessarily displayed in the header on the front-end site.

I suggest that we display an alert when users attempt to set a blank site title, and possibly suggest that if they don't want it to appear in their header, they can edit their CSS or hide header text under Appearance -> Header.

Attachments (1)

options.php.diff (991 bytes) - added by avreidy 7 years ago.
Updated to notify users that omitting a site title is not necessary if they simply want to hide it

Download all attachments as: .zip

Change History (8)

#1 @SergeyBiryukov
8 years ago

  • Component changed from General to Administration

Related: #6479

#2 @m.qamaruddin
7 years ago

  • Cc m.qamaruddin added

Hello Chris and Sergey,

Would it be a good idea to have a checkbox beside / underneath the site-title input field, so that users can decide in the back-end whether it should be displayed as a Header?

Then, the validation will alert the users whenever they try to set it to blank also.

As a result, we might have to tweak the front-end / theme functions to allow for this flexibility?

What do you think?

@avreidy
7 years ago

Updated to notify users that omitting a site title is not necessary if they simply want to hide it

#3 @avreidy
7 years ago

  • Keywords has-patch added; needs-patch removed

#4 @sethshoultes
7 years ago

Hi everyone,

Just a thought: What if you just populated the site title with the domain name?

#5 @jeremyfelt
6 years ago

  • Focuses ui added

This seems like a combination of user and theme decision. It's entirely possible that a user would rather the site title be blank.

Suggesting wontfix.

#6 @jeremyfelt
6 years ago

  • Keywords close added

#7 @helen
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Agree with the wontfix - I think that the consequences of not setting a site title would become clear to the user fairly quickly. The customizer also eases this a bit, as the "Display Header Text" checkbox is in the same section with site title and tagline.

Note: See TracTickets for help on using tickets.