[wp-trac] [WordPress Trac] #47068: get_queried_object() returns null date archives and on homepage with blog on front settings

WordPress Trac noreply at wordpress.org
Wed Dec 3 15:35:39 UTC 2025


#47068: get_queried_object() returns null date archives and on homepage with blog
on front settings
--------------------------+------------------------------
 Reporter:  bplv          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by SirLouen):

 @wildworks @ellatrix, docs updated. Now it displays `introduced`. Just FYI
 👌

 The

 > If you’re seeing the same bug in a newer version, mention so in a
 comment, but please do not change the version number.

 This was only meant because occasionally the right version was specified,
 but someone found it again in a newer version and updated the version.

 But as a rule of thumb, if we are suspicious that someone opened the
 ticket adding a wrong version (discovery version), it should be removed or
 updated to the right one (the introduction version). I think this field is
 misleading and almost everyone set it wrongly when they come to Trac for
 first time (me including, I've seen that Aki has cleared half a dozen old
 tickets from mine, that I created with `trunk` and I forgot to update)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47068#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list