[wp-trac] [WordPress Trac] #40993: WordPress is auto-generating a line break in my widgets

WordPress Trac noreply at wordpress.org
Sat Jul 15 10:39:00 UTC 2017


#40993: WordPress is auto-generating a line break in my widgets
--------------------------+----------------------
 Reporter:  sandduner350  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Widgets       |     Version:  4.8
 Severity:  major         |  Resolution:  invalid
 Keywords:  2nd-opinion   |     Focuses:
--------------------------+----------------------

Comment (by bobbingwide):

 Replying to [comment:3 westonruter]:
 > @bobbingwide shortcodes are not supported in Text widgets, so you must
 be adding support via a plugin? The filter priorities probably need to be
 modified so that shortcodes are processed earlier than `wpautop`.

 Yes, my plugin has supported shortcodes in widgets for a very long time.
 Using the checkbox to control automatic paragraph creation worked fine.
 Then the checkbox was removed and it broke my code.

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


More information about the wp-trac mailing list