Opened 3 years ago
Closed 3 years ago
#13978 closed enhancement (fixed)
Empty Site Title issues
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Administration | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
If your site has no "site title" in Settings, then the "visit site" link in the admin header is an invisible (though still available) link.
I think one of the following is needed -
- A blank "Site Title" is not allowed through Settings.
or
- If the "Site Title" is blank, there should be some default text placed into the "visit site" link, so that it has some visible content.
or
- Both 1 & 2.
Attachments (5)
Change History (16)
- Component changed from General to Administration
- Type changed from defect (bug) to enhancement
Ahh I see you also created a patch... Mine is slightly different because I wasn't sure if the ' ' value was used elsewhere for other things, so I only altered the actual link text.
Well, we could make it so that the user couldn't even submit a blank site title if they wanted. But, we should wait until one of the big devs stops by to offer some insight. :D
- Keywords dev-feedback added
This will redirect the user back to options-general.php if the site title is blank. And it adds in your patch since it would cause less issues in other areas of the site.
We currently account for blogname to be , based on the code seen in the first diff. So I'm not sure if we necessarily need to block empty values there.
Setting it to "Visit Site" instead of " " seems like it'll make sense. Though that would need to be translated. It's not a new string as "Visit Site" is used in the title attribute there, so we can probably add this to 3.0.1.
I created this patch before I realized anyone else was working on it... so I'm just submitting it cause I create it.
- Keywords ux-feedback added
- Milestone changed from Awaiting Triage to 3.1
- Keywords dev-feedback removed
It was previously nbsp because we had the small "Visit Site" button before 3.0.
I think we can go to "Visit Site". Alternatively, we could go to "WordPress".
comment:10
jane — 3 years ago
- Keywords ux-feedback removed
@nacin: why would we go with "WordPress" for a visit site link? Visit site.
comment:11
nacin — 3 years ago
- Resolution set to fixed
- Status changed from new to closed

Add visit site to the site header.