# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: \includes\topics
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
156 | 156 | // Remove the custom kses filters from title and content for capable users and if the nonce is verified |
157 | 157 | if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_topic'] ) && wp_create_nonce( 'bbp-unfiltered-html-topic_new' ) == $_POST['_bbp_unfiltered_html_topic'] ) { |
158 | 158 | remove_filter( 'bbp_new_topic_pre_title', 'wp_filter_kses' ); |
159 | | remove_filter( 'bbp_new_topic_pre_content', 'bbp_filter_kses' ); |
| 159 | remove_filter( 'bbp_new_topic_pre_content', 'bbp_filter_kses', 30 ); |
160 | 160 | } |
161 | 161 | |
162 | 162 | /** Topic Title ***********************************************************/ |
… |
… |
|
486 | 486 | // Remove the custom kses filters from title and content for capable users and if the nonce is verified |
487 | 487 | if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_topic'] ) && ( wp_create_nonce( 'bbp-unfiltered-html-topic_' . $topic_id ) == $_POST['_bbp_unfiltered_html_topic'] ) ) { |
488 | 488 | remove_filter( 'bbp_edit_topic_pre_title', 'wp_filter_kses' ); |
489 | | remove_filter( 'bbp_edit_topic_pre_content', 'bbp_filter_kses' ); |
| 489 | remove_filter( 'bbp_edit_topic_pre_content', 'bbp_filter_kses', 30 ); |
490 | 490 | } |
491 | 491 | |
492 | 492 | /** Topic Forum ***********************************************************/ |