Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/11/2011 08:44:20 PM (14 years ago)
Author:
djpaul
Message:

Fix blog posts not showing in activity stream in non-multisites. Fixes #3445, props boonebgorges and paulgibbs

File:
1 edited

Legend:

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

    r4963 r4965  
    1212}
    1313add_action( 'in_plugin_update_message-buddypress/bp-loader.php', 'bp_core_update_message' );
    14 
    15 /**
    16  * Renders the main admin panel.
    17  *
    18  * @package BuddyPress Core
    19  * @since {@internal Unknown}}
    20  */
    21 function bp_core_admin_dashboard() {
    22     $base_url = bp_get_admin_url( 'admin.php' );
    23     $action   = add_query_arg( array( 'page' => 'bp-general-settings' ), $base_url );
    24     ?>
    25 
    26     <div class="wrap" id="bp-admin">
    27 
    28         <div id="bp-admin-header">
    29             <h3><?php _e( 'BuddyPress', 'buddypress' ); ?></h3>
    30             <h2><?php _e( 'Dashboard',  'buddypress' ); ?></h2>
    31         </div>
    32 
    33         <?php do_action( 'bp_admin_notices' ); ?>
    34 
    35         <form action="<?php echo $action ?>" method="post" id="bp-admin-form">
    36             <div id="bp-admin-content">
    37                 <p>[TODO: All sorts of awesome things will go here. Latest plugins and themes, stats, version check, support topics, news, tips]</p>
    38             </div>
    39         </form>
    40 
    41     </div>
    42 
    43 <?php
    44 }
    4514
    4615/**
     
    348317            'description' => __( 'Allow your users to modify their account and notification settings directly from within their profiles.', 'buddypress' )
    349318        ),
    350         'friends' => array(
     319        'friends'  => array(
    351320            'title'       => __( 'Friend Connections', 'buddypress' ),
    352321            'description' => __( 'Let your users make connections so they can track the activity of others and focus on the people they care about the most.', 'buddypress' )
     
    360329            'description' => __( 'Global, personal, and group activity streams with threaded commenting, direct posting, favoriting and @mentions, all with full RSS feed and email notification support.', 'buddypress' )
    361330        ),
    362         'groups' => array(
     331        'groups'   => array(
    363332            'title'       => __( 'User Groups', 'buddypress' ),
    364333            'description' => __( 'Groups allow your users to organize themselves into specific public, private or hidden sections with separate activity streams and member listings.', 'buddypress' )
    365334        ),
    366         'forums' => array(
     335        'forums'   => array(
    367336            'title'       => __( 'Discussion Forums', 'buddypress' ),
    368337            'description' => __( 'Full-powered discussion forums built directly into groups allow for more conventional in-depth conversations. NOTE: This will require an extra (but easy) setup step.', 'buddypress' )
     338        ),
     339        'blogs'    => array(
     340            'title'       => __( 'Site Tracking', 'buddypress' ),
     341            'description' => __( 'Make BuddyPress aware of new posts and new comments from your site.', 'buddypress' )
    369342        )
    370343    ) );
    371344
    372     if ( is_multisite() ) {
    373         $optional_components['blogs'] = array(
    374             'title'       => __( 'Site Tracking', 'buddypress' ),
    375             'description' => __( 'Track new sites, new posts and new comments across your entire network.', 'buddypress' )
    376         );
    377     }
     345    if ( is_multisite() )
     346        $optional_components['blogs']['description'] = __( 'Make BuddyPress aware of new sites, new posts and new comments from across your entire network.', 'buddypress' );
    378347
    379348    // Required components
Note: See TracChangeset for help on using the changeset viewer.