Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/24/2008 04:00:42 PM (18 years ago)
Author:
apeatling
Message:
  • Fixed avatar upload validation bug when image upload field left blank
  • Fixed incorrect "your" wording on site wide activity widget
  • Fixed profile wire posting bug
  • Updated site wide members directory
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-classes.php

    r430 r436  
    8080       
    8181        function populate_extras() {
     82                global $bp;
     83               
    8284                $this->total_friends = BP_Friends_Friendship::total_friend_count( $this->id );
    8385
    … …  
    8789                        else
    8890                                $this->total_friends .= ' ' . __( 'friends', 'buddypress' );
     91                       
     92                        $this->total_friends = '<a href="' . $this->user_url . $bp['friends']['slug'] . '" title="' . sprintf( __( "%s's friend list", 'buddypress' ), $this->fullname ) . '">' . $this->total_friends . '</a>';
    8993                }
    9094               
    … …  
    9498                        else
    9599                                $this->total_blogs .= ' ' . __( 'blogs', 'buddypress' );                       
     100                               
     101                        $this->total_blogs = '<a href="' . $this->user_url . $bp['blogs']['slug'] . '" title="' . sprintf( __( "%s's blog list", 'buddypress' ), $this->fullname ) . '">' . $this->total_blogs . '</a>';
    96102                }
    97103       
    … …  
    104110                                else
    105111                                        $this->total_groups .= ' ' . __( 'groups', 'buddypress' );
     112
     113                                $this->total_groups = '<a href="' . $this->user_url . $bp['groups']['slug'] . '" title="' . sprintf( __( "%s's group list", 'buddypress' ), $this->fullname ) . '">' . $this->total_groups . '</a>';
    106114                        }
    107115                }
Note: See TracChangeset for help on using the changeset viewer.