• Hi!

    We’ve changed the default activity root slug (throught the “Activity Streams” select in the bp-page-settings) and we’ve detected that the “View this content” button on bp-moderation admin page is not working because it uses the default (not the new). We’ve solved this problem editing the bp-moderation/classes/bpModDefaultContentTypes.php file and changing the following line (in the activity_info function)

    $url = bp_core_get_root_domain() . '/' . BP_ACTIVITY_SLUG . '/p/' . $id . '/';

    for this:
    $url = bp_core_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $id . '/';

    Could you change it also in the main code to avoid other people have the same problem?

    Thanks in advance and best wishes from Barcelona,
    Sara

    https://wordpress.org/plugins/bp-moderation/

  • The topic ‘View this content admin link not working’ is closed to new replies.