Ticket #4784: 4784.2.patch
File 4784.2.patch, 643 bytes (added by , 8 years ago) |
---|
-
src/bp-blogs/bp-blogs-activity.php
95 95 * 96 96 * @param array $value Array of post types to track. 97 97 */ 98 $comment_post_types = apply_filters( 'bp_blogs_record_comment_post_types', array( 'post' ) );98 $comment_post_types = apply_filters( 'bp_blogs_record_comment_post_types', array( 'post', 'page' ) ); 99 99 $comment_post_types_array = array_flip( $comment_post_types ); 100 100 101 101 if ( isset( $comment_post_types_array[ $post_type ] ) ) {