Skip to:
Content

BuddyPress.org

Changeset 8164


Ignore:
Timestamp:
03/26/2014 09:29:33 PM (10 years ago)
Author:
boonebgorges
Message:

Don't show the "Create a Group" button in the page title during the group creation process

Fixes #5469

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-screens.php

    r8125 r8164  
    11201120    public function create_dummy_post() {
    11211121
    1122         // Title based on ability to create groups
    1123         if ( is_user_logged_in() && bp_user_can_create_groups() ) {
    1124             $title = '<a class="button" href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ) . '">' . __( 'Groups', 'buddypress' ) . '</a>&nbsp;' . __( 'Create a Group', 'buddypress' );
    1125         } else {
    1126             $title = __( 'Groups', 'buddypress' );
    1127         }
     1122        $title = __( 'Groups', 'buddypress' );
    11281123
    11291124        bp_theme_compat_reset_post( array(
Note: See TracChangeset for help on using the changeset viewer.