Changeset 8164
- Timestamp:
- 03/26/2014 09:29:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-screens.php
r8125 r8164 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(
Note: See TracChangeset
for help on using the changeset viewer.