Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/13/2020 07:15:55 PM (4 years ago)
Author:
johnjamesjacoby
Message:

Replies: remove post-form check from bbp_get_form_reply_to().

This commit reinstates the reply-to hierarchy when used inside of a non-POST request, namely via theme-side GET requests where JavaScript may not be relied upon.

In trunk, for 2.7.

See #3385.

File:
1 edited

Legend:

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

    r7046 r7130  
    24942494
    24952495        // Get $_REQUEST data
    2496         if ( bbp_is_reply_form_post_request() && isset( $_REQUEST['bbp_reply_to'] ) ) {
     2496        if ( isset( $_REQUEST['bbp_reply_to'] ) ) {
    24972497            $reply_to = bbp_validate_reply_to( $_REQUEST['bbp_reply_to'] );
    24982498        }
Note: See TracChangeset for help on using the changeset viewer.