[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 May 12 08:48:33 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:  Query              |     Version:  4.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by mekshq):

 Replying to [comment:1 johnbillion]:
 > 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?

 @johnbillion Thanks for reaching out! I have checked again and it seems it
 is working fine in version 4.7.4, so it must have been fixed somewhere
 between 4.7. and 4.7.4.

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


More information about the wp-trac mailing list