Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/06/2014 01:45:31 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Remove extraneous validation in bbp_get_form_reply_to(). Fixes bug causing _bbp_reply_to field to be incorrectly set as the current $reply_id when editing a reply with no reply_to, which can lead to hierarchy issues. See #2586, #2588. (2.5 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/includes/replies/template.php

    r5244 r5373  
    24722472        }
    24732473
    2474         // Validate
    2475         $reply_to = bbp_get_reply_id( $reply_to );
    2476 
    24772474        return (int) apply_filters( 'bbp_get_form_reply_to', $reply_to );
    24782475    }
Note: See TracChangeset for help on using the changeset viewer.