Making WordPress.org

Ticket #2129: 2129.diff

File 2129.diff, 931 bytes (added by hasanuzzamanshamim, 3 years ago)

WordPress.org profile linked for forum profile.

  • buddypress.org/public_html/wp-content/themes/bb-base/single-user.php

    diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/single-user.php b/buddypress.org/public_html/wp-content/themes/bb-base/single-user.php
    index a4eec97ca..3070c8df9 100644
    a b get_header(); ?> 
    1111
    1212        <?php do_action( 'bbp_before_main_content' ); ?>
    1313
    14         <h3 id="bbpress-user"><?php bbp_displayed_user_field( 'display_name' ); ?> (@<?php bbp_displayed_user_field( 'user_nicename' ); ?>)</h3>
     14        <h3 id="bbpress-user">
     15                <?php bbp_displayed_user_field( 'display_name' ); ?> (<a href="<?php echo 'https://profile.wordpress.org/' . bbp_displayed_user_field( 'user_nicename' ); ?>">@<?php bbp_displayed_user_field( 'user_nicename' ); ?></a>)
     16        </h3>
    1517
    1618        <div id="bbp-user-<?php bbp_current_user_id(); ?>" class="bbp-single-user">
    1719                <div class="entry-content">