[wp-trac] [WordPress Trac] #18791: Add custom post type support for Author Template functions
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 27 12:32:48 UTC 2011
#18791: Add custom post type support for Author Template functions
-------------------------+-----------------------------
Reporter: sirzooro | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: 3.2.1
Severity: normal | Keywords: needs-patch
-------------------------+-----------------------------
Functions defined in `wp-includes/author-template.php` assumes that post
type == post. It will be good to enhance them so they will be able to work
with specified post type.
At first sight following functions will need update:
{{{
get_the_author_link()
the_author_link()
get_the_author_posts()
the_author_posts()
the_author_posts_link()
get_author_posts_url()
wp_list_authors()
}}}
I suspect there will be other updates needed, to support new `post_type`
argument added to author's url.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18791>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list