Skip to:
Content

bbPress.org

Changeset 5372


Ignore:
Timestamp:
06/06/2014 01:43:11 PM (8 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. (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/replies/template.php

    r5371 r5372  
    24742474        }
    24752475
    2476         // Validate
    2477         $reply_to = bbp_get_reply_id( $reply_to );
    2478 
    24792476        return (int) apply_filters( 'bbp_get_form_reply_to', $reply_to );
    24802477    }
Note: See TracChangeset for help on using the changeset viewer.