WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#13127 closed defect (bug) (fixed)

Fix Twenty Ten doc title on home page when bloginfo('description') is empty

Reported by: demetris Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Themes Keywords: has-patch
Focuses: Cc:

Description

If the tagline in Settings › General is empty, then 2010 uses a redundant vertical line in the doc title for the home page. On the browser caption it looks like this:

example.com | - Mozilla Firefox

I don’t know how common it is to leave the tagline empty (if any wp.com folks have a percentage handy, I’d be curious to know), but I think 2010 should provide for that scenario in any case.

I attach a tentative patch.

Attachments (1)

t13127-twentyten-doc-title.diff (751 bytes) - added by demetris 4 years ago.
Fix for Twenty Ten doc title generation

Download all attachments as: .zip

Change History (2)

demetris4 years ago

Fix for Twenty Ten doc title generation

comment:1 demetris4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r14281 and r14282.

Note: See TracTickets for help on using tickets.