Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/05/2018 04:21:48 PM (9 years ago)
Author:
djpaul
Message:

Revert "Blogs: track Pages (post type) and comments in the activity stream."

This is causing unit tests failures -- probably something internal to bp_blogs_register_post_tracking_args().
Reverting for future investigation.

Re-opens #4785

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-activity.php

    r11794 r11799  
    6565         * @param array $value Array of post types to track.
    6666         */
    67         $post_types = apply_filters( 'bp_blogs_record_post_post_types', array( 'page', 'post' ) );
     67        $post_types = apply_filters( 'bp_blogs_record_post_post_types', array( 'post' ) );
    6868        $post_types_array = array_flip( $post_types );
    6969
     
    9696                 * @param array $value Array of post types to track.
    9797                 */
    98                 $comment_post_types = apply_filters( 'bp_blogs_record_comment_post_types', array( 'page', 'post' ) );
     98                $comment_post_types = apply_filters( 'bp_blogs_record_comment_post_types', array( 'post' ) );
    9999                $comment_post_types_array = array_flip( $comment_post_types );
    100100
Note: See TracChangeset for help on using the changeset viewer.