diff --git bp-groups/bp-groups-screens.php bp-groups/bp-groups-screens.php
index f312a12..c2feff5 100644
|
|
class BP_Groups_Theme_Compat { |
1119 | 1119 | */ |
1120 | 1120 | public function create_dummy_post() { |
1121 | 1121 | |
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> ' . __( 'Create a Group', 'buddypress' ); |
1125 | | } else { |
1126 | | $title = __( 'Groups', 'buddypress' ); |
1127 | | } |
| 1122 | $title = __( 'Groups', 'buddypress' ); |
1128 | 1123 | |
1129 | 1124 | bp_theme_compat_reset_post( array( |
1130 | 1125 | 'ID' => 0, |