Skip to:
Content

bbPress.org

Changeset 6335


Ignore:
Timestamp:
03/01/2017 03:14:53 AM (8 years ago)
Author:
johnjamesjacoby
Message:

Add missing sep argument to bbp_get_author_link() function, to match topic & reply equivalents.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/users/template.php

    r6334 r6335  
    20412041            'link_title' => '',
    20422042            'type'       => 'both',
    2043             'size'       => 80
     2043            'size'       => 80,
     2044            'sep'        => ' '
    20442045        ), 'get_author_link' );
    20452046
     
    20872088            if ( empty( $anonymous ) && bbp_user_has_profile( $user_id ) ) {
    20882089                $author_url = bbp_get_user_profile_url( $user_id );
     2090
    20892091                foreach ( $author_links as $link_text ) {
    20902092                    $author_link[] = sprintf( '<a href="%1$s"%2$s>%3$s</a>', esc_url( $author_url ), $link_title, $link_text );
    20912093                }
    2092                 $author_link = implode( '&nbsp;', $author_link );
     2094
     2095                $author_link = implode( $r['sep'], $author_link );
    20932096
    20942097            // No links if anonymous
    20952098            } else {
    2096                 $author_link = implode( '&nbsp;', $author_links );
     2099                $author_link = implode( $r['sep'], $author_links );
    20972100            }
    20982101
Note: See TracChangeset for help on using the changeset viewer.