Skip to:
Content

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#2502 closed enhancement (wontfix)

Remove only wpuatop

Reported by: alexvorn2 Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.1
Component: Appearance - Theme Compatibility Keywords:
Cc:

Description

Remove only wpautop filter function for the_content action.

bbp_remove_all_filters( 'the_content' ); on line 777 in theme-compat.php

This function removes all filters from the_content tag, there is no need to remove all...

Change History (4)

#1 @alexvorn2
5 years ago

  • Summary changed from Remove only wputop to Remove only wpuatop

#2 @johnjamesjacoby
5 years ago

  • Component changed from General to Theme Compatability
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

I've experimented with this thoroughly, and found many plugins and themes add any number of filters to the_content. It is much more predictable to remove all filters, and conditionally add the ones back in we know we will need, on pieces of content as we need them.

Going to close as wontfix, but please feel free to continue chatting about improvements to this.

#3 follow-up: @alexvorn2
5 years ago

The only improvement to this is to fork bbPress into another plugin and to make it better by making the changes I want.

#4 in reply to: ↑ 3 @johnjamesjacoby
5 years ago

Replying to alexvorn2:

The only improvement to this is to fork bbPress into another plugin and to make it better by making the changes I want.

That seems unlikely to be your only option. Everything in bbPress is pluggable and hookable. There's no reason you can't replace just a part of it to do what you feel needs to be done for your situation.

Can you explain more about what you're trying to accomplish?

Note: See TracTickets for help on using tickets.