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-forum-functions.php

    r3516 r3589  
    3131    // Forum
    3232    $default_forum = array(
    33         'post_parent'   => 0, // forum ID
    34         'post_status'   => bbp_get_public_status_id(),
    35         'post_type'     => bbp_get_forum_post_type(),
    36         'post_author'   => 0,
    37         'post_password' => '',
    38         'post_content'  => '',
    39         'post_title'    => '',
    40         'menu_order'    => 0,
     33        'post_parent'    => 0, // forum ID
     34        'post_status'    => bbp_get_public_status_id(),
     35        'post_type'      => bbp_get_forum_post_type(),
     36        'post_author'    => 0,
     37        'post_password'  => '',
     38        'post_content'   => '',
     39        'post_title'     => '',
     40        'menu_order'     => 0,
     41        'comment_status' => 'closed'
    4142    );
    4243
Note: See TracChangeset for help on using the changeset viewer.