Skip to:
Content

bbPress.org

Changeset 7131


Ignore:
Timestamp:
08/13/2020 07:17:43 PM (5 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 branches/2.6, for 2.6.6.

See #3385.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/src/includes/replies/template.php

    r7047 r7131  
    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.