Skip to:
Content

BuddyPress.org

Changeset 2696 for trunk/bp-blogs.php


Ignore:
Timestamp:
02/12/2010 12:48:30 PM (16 years ago)
Author:
apeatling
Message:

Moving the firstname template function into the core so that template files are not tied to functions in functions.php of the default. Remove deprecated code and added to back compat plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs.php

    r2695 r2696  
    131131
    132132    $blogs_link = $bp->loggedin_user->domain . $bp->blogs->slug . '/';
    133 
    134     /* Add the subnav items to the blogs nav item */
    135     bp_core_new_subnav_item( array( 'name' => __( 'My Blogs', 'buddypress' ), 'slug' => 'my-blogs', 'parent_url' => $blogs_link, 'parent_slug' => $bp->blogs->slug, 'screen_function' => 'bp_blogs_screen_my_blogs', 'position' => 10, 'item_css_id' => 'my-blogs-list' ) );
    136     bp_core_new_subnav_item( array( 'name' => __( 'Recent Posts', 'buddypress' ), 'slug' => 'recent-posts', 'parent_url' => $blogs_link, 'parent_slug' => $bp->blogs->slug, 'screen_function' => 'bp_blogs_screen_recent_posts', 'position' => 20 ) );
    137     bp_core_new_subnav_item( array( 'name' => __( 'Recent Comments', 'buddypress' ), 'slug' => 'recent-comments', 'parent_url' => $blogs_link, 'parent_slug' => $bp->blogs->slug, 'screen_function' => 'bp_blogs_screen_recent_comments', 'position' => 30 ) );
    138133
    139134    /* Set up the component options navigation for Blog */
Note: See TracChangeset for help on using the changeset viewer.