Changeset 11416 for trunk/wp-includes/author-template.php
- Timestamp:
- 05/20/2009 09:32:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/author-template.php
r11204 r11416 128 128 * @link http://codex.wordpress.org/Template_Tags/the_author_link 129 129 * @since 2.1 130 * @uses get_the_author_ url()130 * @uses get_the_author_meta() 131 131 * @uses the_author() 132 132 */ 133 133 function the_author_link() { 134 if ( get_the_author_url()) {135 echo '<a href="' . get_the_author_ url() . '" title="' . sprintf(__("Visit %s’s website"), get_the_author()) . '" rel="external">' . get_the_author() . '</a>';134 if ( get_the_author_meta('url') ) { 135 echo '<a href="' . get_the_author_meta('url') . '" title="' . sprintf(__("Visit %s’s website"), get_the_author()) . '" rel="external">' . get_the_author() . '</a>'; 136 136 } else { 137 137 the_author();
Note: See TracChangeset
for help on using the changeset viewer.