Changeset 6335
- Timestamp:
- 03/01/2017 03:14:53 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/users/template.php
r6334 r6335 2041 2041 'link_title' => '', 2042 2042 'type' => 'both', 2043 'size' => 80 2043 'size' => 80, 2044 'sep' => ' ' 2044 2045 ), 'get_author_link' ); 2045 2046 … … 2087 2088 if ( empty( $anonymous ) && bbp_user_has_profile( $user_id ) ) { 2088 2089 $author_url = bbp_get_user_profile_url( $user_id ); 2090 2089 2091 foreach ( $author_links as $link_text ) { 2090 2092 $author_link[] = sprintf( '<a href="%1$s"%2$s>%3$s</a>', esc_url( $author_url ), $link_title, $link_text ); 2091 2093 } 2092 $author_link = implode( ' ', $author_link ); 2094 2095 $author_link = implode( $r['sep'], $author_link ); 2093 2096 2094 2097 // No links if anonymous 2095 2098 } else { 2096 $author_link = implode( ' ', $author_links );2099 $author_link = implode( $r['sep'], $author_links ); 2097 2100 } 2098 2101
Note: See TracChangeset
for help on using the changeset viewer.