[wp-trac] [WordPress Trac] #22992: get_the_author() not working outside the post query
WordPress Trac
noreply at wordpress.org
Tue Dec 18 16:16:04 UTC 2012
#22992: get_the_author() not working outside the post query
-----------------------------+--------------------------
Reporter: alexvorn2 | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Template
Version: 3.5 | Severity: normal
Keywords: |
-----------------------------+--------------------------
get_the_author() function return empty value if is used outside the :
have_posts() ( the_post() .. function...
the function should return the author name on the author page even if the
function is not called inside the query...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22992>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list