Ticket #2423 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Create the_author_link()

Reported by: Viper007Bond Assigned to: westi
Priority: normal Milestone: 2.1
Component: Template Version: 2.0.1
Severity: normal Keywords: bg|has-patch bg|commit
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

the_author_link.patch (0.6 kB) - added by Viper007Bond on 02/10/06 20:05:23.
2423.diff (0.6 kB) - added by westi on 08/30/06 17:45:46.
Patch rebased against trunk

Change History

02/10/06 20:05:23 changed by Viper007Bond

  • attachment the_author_link.patch added.

08/30/06 17:45:46 changed by westi

  • attachment 2423.diff added.

Patch rebased against trunk

08/30/06 17:46:13 changed by westi

  • keywords changed from bg|has-patch to bg|has-patch bg|commit.
  • owner changed from anonymous to westi.
  • status changed from new to assigned.
  • milestone set to 2.1.

This looks good to go.

Patch rebased against trunk.

08/30/06 17:53:22 changed by ryan

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()?

08/30/06 18:01:18 changed by ryan

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

08/30/06 18:07:51 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

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