Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/13/2012 07:35:20 PM (13 years ago)
Author:
djpaul
Message:

Add missing 'activity comments on blog posts and forum posts' settings back to Settings screen. See #4205.

File:
1 edited

Legend:

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

    r6067 r6079  
    7171    <input id="_bp_enable_akismet" name="_bp_enable_akismet" type="checkbox" value="1" <?php checked( bp_is_akismet_active( true ) ); ?> />
    7272    <label for="_bp_enable_akismet"><?php _e( 'Allow Akismet to scan for activity stream spam', 'buddypress' ); ?></label>
     73
     74<?php
     75}
     76
     77/**
     78 * Allow activity comments on blog posts and forum posts
     79 *
     80 * @since BuddyPress (1.6)
     81 */
     82function bp_admin_setting_callback_blogforum_comments() {
     83?>
     84
     85    <input id="bp-disable-blogforum-comments" name="bp-disable-blogforum-comments" type="checkbox" value="1" <?php checked( bp_disable_blogforum_comments( true ) ); ?> />
     86    <label for="bp-disable-blogforum-comments"><?php _e( 'Allow activity stream commenting on blog and forum posts', 'buddypress' ); ?></label>
    7387
    7488<?php
     
    211225            'bp-disable-account-deletion',
    212226            'bp-disable-avatar-uploads',
     227            'bp_disable_blogforum_comments',
    213228            'bp-disable-profile-sync',
    214229            'bp_restrict_group_creation',
Note: See TracChangeset for help on using the changeset viewer.