Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#27268 closed enhancement (fixed)

Remove noscript from wpautop()'s list of block elements.

Reported by: mdawaffe's profile mdawaffe Owned by: wonderboymusic's profile wonderboymusic
Milestone: 4.0 Priority: normal
Severity: normal Version:
Component: Formatting Keywords: has-patch
Focuses: Cc:

Description

In IE6-11, and the latest FF, Chrome and Safari for Mac, noscript elements are displayed inline (when JS is turned off).

WordPress should follow suit.

Use case: An inline shortcode that outputs a script element and a noscript tag.

Attached includes some tests for inline and block elements (each a fairly arbitrary list).

PS: TinyMCE (or our plugin) would need to follow suit: http://www.tinymce.com/develop/bugtracker_view.php?id=6758

Attachments (1)

27268.diff (4.3 KB) - added by mdawaffe 11 years ago.

Download all attachments as: .zip

Change History (4)

@mdawaffe
11 years ago

#1 @DrewAPicture
11 years ago

  • Milestone changed from Awaiting Review to 4.0
  • Type changed from defect (bug) to enhancement

Moving to 4.0 for consideration.

#2 @wonderboymusic
11 years ago

  • Owner set to wonderboymusic
  • Resolution set to fixed
  • Status changed from new to closed

In 28817:

Remove noscript from wpautop()'s list of block elements.

Props mdawaffe.
Fixes #27268.

#3 @SergeyBiryukov
11 years ago

In 28819:

Add @ticket references.

see #27268.

Note: See TracTickets for help on using tickets.