Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#47068 reopened defect (bug)

get_queried_object() returns null date archives and on homepage with blog on front settings

Reported by: bplv's profile bplv Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.1.1
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

get_queried_object() returns null if permalink is plain.

Change History (4)

#1 @bplv
5 years ago

  • Resolution set to invalid
  • Status changed from new to closed
Last edited 5 years ago by bplv (previous) (diff)

#2 @bplv
5 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened
  • Summary changed from get_queried_object() returns null on any page if page permalink is set as plain to get_queried_object() returns null date archives and on homepage with blog on front settings

#3 @johnbillion
5 years ago

  • Milestone Awaiting Review deleted

#4 @SergeyBiryukov
5 years ago

  • Milestone set to Awaiting Review

Related: #29660, #27015.

Note: See TracTickets for help on using tickets.