WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#6835 closed enhancement (fixed)

wp_title() should generate 404 text

Reported by: markjaquith Owned by: westi
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.5
Component: General Keywords:
Focuses: Cc:

Description

wp_title() doesn't generate anything for 404 requests. We should have it output i18n'd "Page not found" so it doesn't just show the blog title.

Change History (3)

comment:1 westi5 years ago

  • Milestone changed from 2.9 to 2.7
  • Owner changed from anonymous to westi
  • Status changed from new to assigned

comment:2 westi5 years ago

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

(In [9356]) Show and error in the page title for 404 pages. Fixes #6835.

comment:3 westi5 years ago

That should fix it. Doesn't work for me with permalinks disabled but I guess that is a query bug with it not setting 404 always correctly :-(

Note: See TracTickets for help on using tickets.