Skip to:
Content

BuddyPress.org

Ticket #5469: 5469.patch

File 5469.patch, 766 bytes (added by boonebgorges, 11 years ago)
  • bp-groups/bp-groups-screens.php

    diff --git bp-groups/bp-groups-screens.php bp-groups/bp-groups-screens.php
    index f312a12..c2feff5 100644
    class BP_Groups_Theme_Compat { 
    11191119         */
    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(
    11301125                        'ID'             => 0,