Making WordPress.org

Changeset 12228


Ignore:
Timestamp:
11/09/2022 04:58:43 PM (18 months ago)
Author:
johnjamesjacoby
Message:

BuddyPress.org: remove bp_is_user_forums() call in User Profile home.php.

This function was deprecated in BuddyPress 3.0 (when bbPress 2.0 took over the Forums Component) and since it is not intended to be used it can safely be removed from this template part.

Related investigation ongoing into why only this function was thought to be missing, the results of which will make their way into BuddyPress core as needed.

See: r12227.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/buddypress/members/single/home.php

    r12227 r12228  
    55    <div id="item-header" role="complementary">
    66
    7         <?php bp_get_template_part( 'members/single/member-header' ) ?>
     7        <?php bp_get_template_part( 'members/single/member-header' ); ?>
    88
    99    </div><!-- #item-header -->
     
    3131            bp_get_template_part( 'members/single/profile'  );
    3232
    33 //      elseif ( bp_is_user_forums() ) :
    34 //          bp_get_template_part( 'members/single/forums'   );
    35 
    3633                elseif ( bp_is_user_notifications() ) :
    37                         bp_get_template_part( 'members/single/notifications'   );
     34                        bp_get_template_part( 'members/single/notifications' );
    3835
    3936        elseif ( bp_is_user_settings() ) :
Note: See TracChangeset for help on using the changeset viewer.