Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/26/2013 02:55:38 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Ensure textarea content shows correct return $_POST value by adding stripslashes() to bbp_get_form_*_content() functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/topics/template-tags.php

    r4819 r4825  
    33903390        // Get _POST data
    33913391        if ( bbp_is_post_request() && isset( $_POST['bbp_topic_content'] ) ) {
    3392             $topic_content = $_POST['bbp_topic_content'];
     3392            $topic_content = stripslashes( $_POST['bbp_topic_content'] );
    33933393
    33943394        // Get edit data
Note: See TracChangeset for help on using the changeset viewer.