Ticket #3967 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

wp_title outputs separator for empty title

Reported by: dwc Assigned to: anonymous
Priority: low Milestone: 2.0.10
Component: Template Version:
Severity: normal Keywords: has-patch
Cc:

Description

It appears that [5010] caused some changes in how wp_title works; specifically, the separator is returned even when no title exists (e.g. on the blog home page). For example:

University of Florida News -

Additionally the $posts global (used in the is_single() || is_page() branch) was removed from the list, which broke titles in additional cases.

Patch attached.

Attachments

wp_title_fixup.patch (0.6 kB) - added by dwc on 03/13/07 20:22:58.

Change History

03/13/07 20:22:58 changed by dwc

  • attachment wp_title_fixup.patch added.

03/13/07 21:05:35 changed by Nazgul

  • keywords set to has-patch.

03/14/07 01:53:37 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [5035]) wp_title() fixes from dwc. fixes #3967