[wp-trac] [WordPress Trac] #28332: remove_filter( 'wpautop' ) not working completely

WordPress Trac noreply at wordpress.org
Thu Feb 2 12:39:35 UTC 2017


#28332: remove_filter( 'wpautop' ) not working completely
---------------------------+-----------------------------
 Reporter:  RobBash        |       Owner:
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Editor         |     Version:  3.9.1
 Severity:  normal         |  Resolution:  invalid
 Keywords:  needs-testing  |     Focuses:  administration
---------------------------+-----------------------------
Changes (by swissspidy):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 `remove_filter( 'the_content', 'wpautop' )` is for the front-end online.

 The editor has its own autop implementation on the JavaScript side to make
 editing as easy as possible.

 See https://core.trac.wordpress.org/browser/tags/4.7.2/src/wp-
 includes/js/tinymce/plugins/wordpress/plugin.js#L13 how the editor plugin
 checks for its availability.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28332#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list