WordPress.org

Make WordPress Core

Opened 7 weeks ago

Last modified 5 weeks ago

#51307 new defect (bug)

Document title broken when "Homepage" isn't set in Settings > Reading

Reported by: henry.wright Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch needs-unit-tests
Focuses: template Cc:

Description

Steps to reproduce the bug

  1. Go to Settings > Reading
  2. For "Your homepage displays" select "A static page"
  3. Do not set "Homepage"
  4. Set "Posts page" to a page you have already created
  5. Save

Visit the homepage and check the document title. For example <title>The document title is here</title>

Instead of the expected {blogName} - {blogDescription} you will get just {blogName}

Attachments (1)

51307.2.patch (1.4 KB) - added by mukesh27 7 weeks ago.
Initial patch.

Download all attachments as: .zip

Change History (3)

@mukesh27
7 weeks ago

Initial patch.

#1 @mukesh27
7 weeks ago

  • Keywords has-patch added

Hi there!

Thanks for the ticket. Initial patch added.

#2 @SergeyBiryukov
5 weeks ago

  • Focuses template added
  • Keywords needs-unit-tests added
Note: See TracTickets for help on using tickets.