[wp-trac] [WordPress Trac] #55100: `get_queried_object()` doesn't work for `author_name` before `WP_Query::get_posts()`

WordPress Trac noreply at wordpress.org
Mon Feb 7 04:30:01 UTC 2022


#55100: `get_queried_object()` doesn't work for `author_name` before
`WP_Query::get_posts()`
--------------------------------------+------------------------------
 Reporter:  dd32                      |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Query                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by dd32):

 Just noting that https://github.com/WordPress/wporg-news-2021/pull/292 is
 a workaround to go into the theme until this is fixed in core, as a
 result, the above example URLs may start to visually work.

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


More information about the wp-trac mailing list