Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/04/2011 08:36:45 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Force comment_status to 'closed' for forums, topics, and replies. Fixes #1676.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-core-hooks.php

    r3552 r3589  
    389389add_filter( 'bbp_get_reply_author_link',    'bbp_suppress_private_author_link', 10, 2 );
    390390
     391// Force comments_status on bbPress post types
     392add_filter( 'comments_open', 'bbp_force_comment_status' );
     393
    391394/**
    392395 * Add filters to anonymous post author data
Note: See TracChangeset for help on using the changeset viewer.