Skip to:
Content

BuddyPress.org

Ticket #5778: post-form-0-groups.patch

File post-form-0-groups.patch, 590 bytes (added by SGr33n, 9 years ago)
  • post-form.php

     
    3535                                <input type="submit" name="aw-whats-new-submit" id="aw-whats-new-submit" value="<?php esc_attr_e( 'Post Update', 'buddypress' ); ?>" />
    3636                        </div>
    3737
    38                         <?php if ( bp_is_active( 'groups' ) && !bp_is_my_profile() && !bp_is_group() ) : ?>
     38                        <?php if ( bp_is_active( 'groups' ) && !bp_is_my_profile() && !bp_is_group() && bp_get_total_group_count_for_user() > 0 ) : ?>
    3939
    4040                                <div id="whats-new-post-in-box">
    4141