Skip to:
Content

BuddyPress.org

Changes between Version 3 and Version 4 of Ticket #6096, comment 1


Ignore:
Timestamp:
01/08/2015 09:39:51 PM (10 years ago)
Author:
hnla
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6096, comment 1

    v3 v4  
    55So adding in the optional arg to the $button_args `'block_self' => false,` in the groups template brings the button back but this arg option is intended for users own profile according to phpdocs, but why an issue on a theme??!!
    66
     7In 2014  page.php showing groups directory returns null on bp_get_member_user_id() however 2015 returns a user_id this is why we have the group create button issue  but why...
     8
    79Seems that the series of conditional checks run if 'block_self' == true are an issue; we compare `bp_loggedin_user_id()` to `bp_get_member_user_id()` to return false however the member user is is returning a value on groups dir page so we are halting the button unless we specify  false on the button args for `block_self`