WordPress.org

Make WordPress Core

Opened 21 months ago

Closed 6 months 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 18 months 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)

comment:1 SergeyBiryukov21 months ago

  • Component changed from General to Administration

Related: #6479

comment:2 m.qamaruddin19 months 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?

avreidy18 months ago

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

comment:3 avreidy18 months ago

  • Keywords has-patch added; needs-patch removed

comment:4 sethshoultes12 months ago

Hi everyone,

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

comment:5 jeremyfelt6 months 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.

comment:6 jeremyfelt6 months ago

  • Keywords close added

comment:7 helen6 months 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.