Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/09/2011 06:51:40 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Prevent forum and topic ID's from being poisoned by functions that attempt to make calculations out of turn. Also prevent incorrect assignment of parent topic and forum ID's when posting from admin area. Fixes #1433.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-reply-functions.php

    r3124 r3125  
    383383            // Check that actions match what we need
    384384            'editpost'                    === $_POST['action']           &&
     385            'publish'                     === $_POST['post_status']      &&
    385386            bbp_get_reply_post_type()     === $_POST['post_type']
     387
    386388    ) {
    387389
Note: See TracChangeset for help on using the changeset viewer.