[wp-trac] [WordPress Trac] #14408: Get author information in author template file without having to query the first post

WordPress Trac noreply at wordpress.org
Fri Aug 23 17:34:15 UTC 2013


#14408: Get author information in author template file without having to query the
first post
-------------------------+-----------------------
 Reporter:  garyc40      |       Owner:  garyc40
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  3.7
Component:  Themes       |     Version:  3.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------

Comment (by nacin):

 `$wp_query->is_main_query()` isn't needed here as we're always dealing
 with the main query in the `wp` class. I do like moving to the methods, it
 is more obvious what is going on.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/14408#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list