Make WordPress Core

Opened 4 months ago

Last modified 4 months 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:


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 4 months ago.
Initial patch.

Download all attachments as: .zip

Change History (3)

4 months ago

Initial patch.

#1 @mukesh27
4 months ago

  • Keywords has-patch added

Hi there!

Thanks for the ticket. Initial patch added.

#2 @SergeyBiryukov
4 months ago

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