Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 7 years ago

#10340 closed defect (bug) (worksforme)

Unchecked "Automatically add paragraphs." but still auto added paragraphs

Reported by: zheng1212's profile zheng1212 Owned by: azaozz's profile azaozz
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: Widgets Keywords: reporter-feedback widget paragraphs
Focuses: Cc:

Description

Hello, I'm a new to WordPress Trac.

I dragged a text widget to the sidebar, added Google AdSense code, then keep the option "Automatically add paragraphs." unchecked.

But i found that, it continue adding paragraphs to my sidebar.

I tried 2.8 stable version and it still auto add that.

Please see my attachment imgs.

Attachments (2)

2.9-widgets.png (17.0 KB) - added by zheng1212 15 years ago.
2.9-output.png (16.4 KB) - added by zheng1212 15 years ago.

Download all attachments as: .zip

Change History (9)

@zheng1212
15 years ago

#1 @zheng1212
15 years ago

  • Summary changed from Unchecked "Automatically add paragraphs." but added paragraphs to Unchecked "Automatically add paragraphs." but still auto added paragraphs

#2 follow-up: @Denis-de-Bernardy
15 years ago

  • Keywords reporter-feedback added
  • Priority changed from high to normal
  • Severity changed from major to normal

working fine on my end. please triple check that your theme or other plugins of yours isn't filtering the widget's text.

#3 in reply to: ↑ 2 @zheng1212
15 years ago

Replying to Denis-de-Bernardy:

working fine on my end. please triple check that your theme or other plugins of yours isn't filtering the widget's text.

Thanks. I'm using the theme 'Tarski' and i didn't find out the lines which lets it add a 'p' and 'br' tag.

Can you help me to find out?

#4 @Denis-de-Bernardy
15 years ago

  • Milestone 2.9 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

yes. disable all plugins, use the default theme. enter this in a text widget:

test1

test2

to me, it ends up like:

test1 test2

i.e. it works.

#5 @ionfish
15 years ago

I doubt this is a WordPress problem; it's much more likely to do with the formatting Tarski adds to text widgets, which was added to solve some issues quite some time ago and hasn't been reviewed since. I'm redoing most of the widget-related code for the next version, so this should be fixed in the next week or so. Until then, try Denis' instructions; if they work, try opening the file app/launcher.php in your Tarski installation and comment out the following line:

add_filter('widget_text', 'tarski_content_massage');

#6 @ionfish
15 years ago

It's probably also worth noting that text widgets really should have more filtering on their output; wptexturize() at least.

#7 @programmin
7 years ago

  • Keywords changed from reporter-feedback widget, paragraphs to reporter-feedback widget paragraphs

This is much worse in 4.8, at least this didn't happen before, and this should probably be escalated to critical issue.

Note: See TracTickets for help on using tickets.