[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
Mon Sep 23 17:21:50 UTC 2013


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

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"25574"]:
 {{{
 #!CommitTicketReference repository="" revision="25574"
 Set up author data for the author template immediately, rather than
 waiting for the first the_post() call.

 This removes the need to call the_post() and rewind_posts() in an author
 template to print information about the author.

 props obenland.
 fixes #14408.
 }}}

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


More information about the wp-trac mailing list