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

    r3124 r3125  
    392392            // Check that actions match what we need
    393393            'editpost'                    === $_POST['action']           &&
     394            'publish'                     === $_POST['post_status']      &&
    394395            bbp_get_topic_post_type()     === $_POST['post_type']
    395396    ) {
Note: See TracChangeset for help on using the changeset viewer.