[wp-trac] [WordPress Trac] #39417: get_queried_object() stopped working on author archive template in WP 4.7

WordPress Trac noreply at wordpress.org
Fri Apr 14 21:34:21 UTC 2017


#39417: get_queried_object() stopped working on author archive template in WP 4.7
-------------------------------+------------------------------
 Reporter:  mekshq             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  4.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => reporter-feedback


Comment:

 Thanks for the report, @mekshq.

 I'm unable to reproduce this problem. `get_queried_object()` correctly
 returns the `WP_User` object for the archive author. Can you test this
 with one of the default themes active and all your plugins deactivated
 please?

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


More information about the wp-trac mailing list