WordPress.org

Make WordPress Core

Opened 6 months ago

Last modified 6 months ago

#47068 reopened defect (bug)

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

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

Description

get_queried_object() returns null if permalink is plain.

Change History (4)

#1 @bplv
6 months ago

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

#2 @bplv
6 months 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
6 months ago

  • Milestone Awaiting Review deleted

#4 @SergeyBiryukov
6 months ago

  • Milestone set to Awaiting Review

Related: #29660, #27015.

Note: See TracTickets for help on using tickets.