[Bb-trac] [bbPress] #893: Default, difficult-to-change links in theme functions

bbPress bb-trac at lists.bbpress.org
Wed Jul 16 03:30:48 GMT 2008


#893: Default, difficult-to-change links in theme functions
----------------------+-----------------------------------------------------
 Reporter:  fel64     |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  Back-end  |     Version:  0.9.1
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------
 That post_author_avatar() includes a link to the author's website around
 the img of the avatar that it returns is presumptive and unnecessary. I
 don't want it at all in my theme, and in the interests of having a more
 flexible set of theme functions I suggest that that behaviour be taken out
 of the function.

 To enable theme authors to put links to the user's website in without
 hassle, there should be a second function post_author_avatar_link(),
 following the example of post_author() and post_author_link().

 The same goes for post_author_title(): I'd like my link to the author's
 profile to be the author's name or avatar, I find that more intuitive.

 It's possible to `echo get_post_author_title()`, but why does
 post_author_title() have such a big behaviour modification from
 get_post_author_title() ? It's better for the function to do exactly as
 the function name suggests. If they should echo links, that should be in
 the name.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/893>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list