Skip to:
Content

bbPress.org

Opened 8 years ago

Closed 8 years ago

#2315 closed defect (fixed)

Allow to post unfiltered HTML in Topics/Replies

Reported by: alex-ye Owned by:
Milestone: 2.3.2 Priority: high
Severity: normal Version: 2.3.1
Component: General - Content Creation Keywords: has-patch
Cc: nashwan.doaqan@…

Description

in bbPress 2.3.1 the priority of bbp_filter_kses has changed to 30, so pass this value when you want to remove it.

Attachments (5)

replies-functions.patch (1.6 KB) - added by alex-ye 8 years ago.
topics-functions.patch (1.6 KB) - added by alex-ye 8 years ago.
replies-functions-2.patch (1.6 KB) - added by alex-ye 8 years ago.
replies-functions-3.patch (1.9 KB) - added by alex-ye 8 years ago.
topics-functions-2.patch (1.9 KB) - added by alex-ye 8 years ago.

Download all attachments as: .zip

Change History (9)

#1 @alex-ye
8 years ago

  • Cc nashwan.doaqan@… added
  • Summary changed from Remove in bbp_filter_kses correctly to allowe to post unfiltered HTML in Topics/Replies

#2 @alex-ye
8 years ago

In the new patches above: Remove bbp_encode_bad filter when post a topic/reply by user have the unfiltered_html cap.

but this cause another bug, see #2317 , point 2.

Last edited 8 years ago by alex-ye (previous) (diff)

#3 @alex-ye
8 years ago

  • Summary changed from allowe to post unfiltered HTML in Topics/Replies to Allow to post unfiltered HTML in Topics/Replies

#4 @johnjamesjacoby
8 years ago

  • Milestone changed from Awaiting Review to 2.3.2
  • Resolution set to fixed
  • Status changed from new to closed

Remove kses filters with the correct priorities if user has 'unfiltered_html' capability. Props alex-ye. Fixes #2315.

Note: See TracTickets for help on using tickets.