Skip to:
Content

BuddyPress.org

Ticket #239: remove_news_dependency.patch

File remove_news_dependency.patch, 450 bytes (added by burtadsit, 16 years ago)

removes 'news' button restriction on blog 1 in bp home theme

  • functions.php

     
    4646function bp_home_theme_catch_urls() {
    4747        global $bp, $current_blog;
    4848       
    49         if ( $current_blog->blog_id > 1 )
    50                 return false;
    51 
    5249        if ( $bp['current_component'] == NEWS_SLUG && $bp['current_action'] == '' ) {
    5350                query_posts('showposts=15');
    5451                bp_catch_uri( 'index', true );