Skip to:
Content

bbPress.org

Changeset 4880


Ignore:
Timestamp:
05/03/2013 05:36:32 AM (9 years ago)
Author:
johnjamesjacoby
Message:

Only remove filters if bbp_use_wp_editor() is true. See #2317. (trunk)

File:
1 edited

Legend:

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

    r4877 r4880  
    16881688
    16891689        // If using tinymce, remove our escaping and trust tinymce
    1690         if ( true === $r['tinymce'] ) {
     1690        if ( bbp_use_wp_editor() && ( true === $r['tinymce'] ) ) {
    16911691            remove_filter( 'bbp_get_form_forum_content', 'esc_textarea' );
    16921692            remove_filter( 'bbp_get_form_topic_content', 'esc_textarea' );
Note: See TracChangeset for help on using the changeset viewer.