Opened 7 months ago
Last modified 4 months ago
#22200 new defect (bug)
Require users to set a site title
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | m.qamaruddin |
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)
Change History (4)
comment:1
SergeyBiryukov — 7 months ago
- Component changed from General to Administration
comment:2
m.qamaruddin — 5 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?
Updated to notify users that omitting a site title is not necessary if they simply want to hide it

Related: #6479