Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/10/2014 06:09:14 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Update to newer slashing functions, as our minimum requirement is WordPress 3.6.

Also add filters to topic-title & topic-tags form fields. See #2719.

File:
1 edited

Legend:

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

    r5558 r5559  
    22232223        // Get _POST data
    22242224        if ( bbp_is_forum_form_post_request() && isset( $_POST['bbp_forum_content'] ) ) {
    2225             $forum_content = stripslashes( $_POST['bbp_forum_content'] );
     2225            $forum_content = wp_unslash( $_POST['bbp_forum_content'] );
    22262226
    22272227        // Get edit data
Note: See TracChangeset for help on using the changeset viewer.