Skip to:
Content

BuddyPress.org

Changeset 2821


Ignore:
Timestamp:
03/08/2010 04:10:19 PM (16 years ago)
Author:
apeatling
Message:

Fixes #2133

Location:
branches/1.2/bp-themes/bp-default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-themes/bp-default/activity/index.php

    r2689 r2821  
    6666                                                        <option value="-1"><?php _e( 'No Filter', 'buddypress' ) ?></option>
    6767                                                        <option value="activity_update"><?php _e( 'Show Updates', 'buddypress' ) ?></option>
    68                                                         <option value="new_blog_post"><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option>
    69                                                         <option value="new_blog_comment"><?php _e( 'Show Blog Comments', 'buddypress' ) ?></option>
     68
     69                                                        <?php if ( bp_is_active( 'blogs' ) ) : ?>
     70                                                                <option value="new_blog_post"><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option>
     71                                                                <option value="new_blog_comment"><?php _e( 'Show Blog Comments', 'buddypress' ) ?></option>
     72                                                        <?php endif; ?>
    7073
    7174                                                        <?php if ( bp_is_active( 'forums' ) ) : ?>
  • branches/1.2/bp-themes/bp-default/members/single/activity.php

    r2539 r2821  
    99
    1010                                <?php if ( 'groups' != bp_current_action() ) : ?>
    11                                         <option value="new_blog_post"><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option>
    12                                         <option value="new_blog_comment"><?php _e( 'Show Blog Comments', 'buddypress' ) ?></option>
     11                                        <?php if ( bp_is_active( 'blogs' ) ) : ?>
     12                                                <option value="new_blog_post"><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option>
     13                                                <option value="new_blog_comment"><?php _e( 'Show Blog Comments', 'buddypress' ) ?></option>
     14                                        <?php endif; ?>
    1315
    1416                                        <?php if ( bp_is_active( 'friends' ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.