# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: \includes\replies
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
170 | 170 | // Remove the custom kses filters from title and content for capable users and if the nonce is verified |
171 | 171 | if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_reply'] ) && wp_create_nonce( 'bbp-unfiltered-html-reply_' . $topic_id ) == $_POST['_bbp_unfiltered_html_reply'] ) { |
172 | 172 | remove_filter( 'bbp_new_reply_pre_title', 'wp_filter_kses' ); |
173 | | remove_filter( 'bbp_new_reply_pre_content', 'bbp_filter_kses' ); |
| 173 | remove_filter( 'bbp_new_reply_pre_content', 'bbp_filter_kses', 30 ); |
174 | 174 | } |
175 | 175 | |
176 | 176 | /** Reply Title ***********************************************************/ |
… |
… |
|
458 | 458 | // Remove the custom kses filters from title and content for capable users and if the nonce is verified |
459 | 459 | if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_reply'] ) && wp_create_nonce( 'bbp-unfiltered-html-reply_' . $reply_id ) == $_POST['_bbp_unfiltered_html_reply'] ) { |
460 | 460 | remove_filter( 'bbp_edit_reply_pre_title', 'wp_filter_kses' ); |
461 | | remove_filter( 'bbp_edit_reply_pre_content', 'bbp_filter_kses' ); |
| 461 | remove_filter( 'bbp_edit_reply_pre_content', 'bbp_filter_kses', 30 ); |
| 462 | No newline at end of file |
462 | 463 | } |
463 | 464 | |
464 | 465 | /** Reply Topic ***********************************************************/ |