Changeset 11764 for trunk/src/bp-core/admin/bp-core-admin-settings.php
- Timestamp:
- 12/08/2017 03:52:14 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-settings.php
r11763 r11764 105 105 106 106 /** 107 * Allow activity comments on blog posts and forum posts.107 * Allow activity comments on posts and comments. 108 108 * 109 109 * @since 1.6.0 … … 113 113 114 114 <input id="bp-disable-blogforum-comments" name="bp-disable-blogforum-comments" type="checkbox" value="1" <?php checked( !bp_disable_blogforum_comments( false ) ); ?> /> 115 <label for="bp-disable-blogforum-comments"><?php _e( 'Allow activity stream commenting on blog and forum posts', 'buddypress' ); ?></label>115 <label for="bp-disable-blogforum-comments"><?php _e( 'Allow activity stream commenting on posts and comments', 'buddypress' ); ?></label> 116 116 117 117 <?php … … 135 135 * Sanitization for bp-disable-blogforum-comments setting. 136 136 * 137 * In the UI, a checkbox asks whether you'd like to *enable* blog/forumactivity comments. For137 * In the UI, a checkbox asks whether you'd like to *enable* post/comment activity comments. For 138 138 * legacy reasons, the option that we store is 1 if these comments are *disabled*. So we use this 139 139 * function to flip the boolean before saving the intval.
Note: See TracChangeset
for help on using the changeset viewer.