Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#4812 closed defect (bug) (fixed)

wp_title uses tag slug, not tag name

Reported by: ionfish Owned by:
Milestone: 2.3 Priority: normal
Severity: minor Version: 2.3
Component: Template Keywords: tags wp_title template slug name
Focuses: Cc:


When viewing a tag archive page, the wp_title function outputs the tag slug (i.e., "john-doe") rather than the tag name (i.e., "John Doe").

Attachments (1)

patch.txt (477 bytes) - added by ionfish 8 years ago.

Download all attachments as: .zip

Change History (5)

8 years ago

#1 @foolswisdom
8 years ago

  • Milestone set to 2.4 (next)

#2 @DD32
8 years ago

  • Milestone changed from 2.4 (next) to 2.3

Shouldnt this be going into 2.3? Afterall, we're still fixing bugs.

#3 @ionfish
8 years ago

Yes, that's why I submitted it now, since Ryan said "From now on we’re concentrating exclusively on testing and bug fixing."


It's also the most minor of minor patches, so I figured it would easily get into the release. :)

#4 @ryan
8 years ago

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

(In [5945]) Display tag name, not slug, in title. Props ionfish. fixes #4812

Note: See TracTickets for help on using tickets.