Make WordPress Core

Opened 19 years ago

Closed 18 years ago

#2423 closed enhancement (fixed)

Create the_author_link()

Reported by: viper007bond's profile Viper007Bond Owned by: westi's profile westi
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0.1
Component: Template Keywords: bg|has-patch bg|commit
Focuses: Cc:

Description

Creating a link to a post author's website is kinda a pain as we have to test to see if they have a URL set or not.

So, I propose the_author_link().

Attachments (2)

the_author_link.patch (603 bytes) - added by Viper007Bond 19 years ago.
2423.diff (604 bytes) - added by westi 18 years ago.
Patch rebased against trunk

Download all attachments as: .zip

Change History (6)

@westi
18 years ago

Patch rebased against trunk

#1 @westi
18 years ago

  • Keywords bg|commit added
  • Milestone set to 2.1
  • Owner changed from anonymous to westi
  • Status changed from new to assigned

This looks good to go.

Patch rebased against trunk.

#2 @ryan
18 years ago

Might create some confusion with get_author_link (which should have been get_author_post_link). Should we call it something different? Perhaps get_author_home_link()?

#3 @ryan
18 years ago

Actually, I'll deprecate get_author_link() and add get_author_posts_link().

#4 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4139]) Deprecate get_author_link(). Add get_author_posts_url() and the_author_link(). Props Viper007Bond and westi. fixes #2423

Note: See TracTickets for help on using tickets.