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/common/template.php

    r5485 r5559  
    12981298            case 'text'     :
    12991299            case 'textarea' :
    1300                 $retval = esc_attr( stripslashes( $pre_ret_val ) );
     1300                $retval = esc_attr( wp_unslash( $pre_ret_val ) );
    13011301                break;
    13021302
Note: See TracChangeset for help on using the changeset viewer.