Changeset 4971
- Timestamp:
- 08/12/2011 08:53:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-functions.php
r4965 r4971 166 166 167 167 // Don't record this if it's not a post 168 if ( 'post' != $post->post_type)168 if ( !in_array( $post->post_type, apply_filters( 'bp_blogs_record_post_post_types', array( 'post' ) ) ) ) 169 169 return false; 170 170 … … 248 248 249 249 // Don't record activity if the comment's associated post isn't a WordPress Post 250 if ( 'post' != $recorded_comment->post->post_type)250 if ( !in_array( $recorded_comment->post->post_type, apply_filters( 'bp_blogs_record_comment_post_types', array( 'post' ) ) ) ) 251 251 return false; 252 252
Note: See TracChangeset
for help on using the changeset viewer.