WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#19226 closed defect (bug) (duplicate)

$allowedposttags doesn't permit id attribute on div

Reported by: ethitter Owned by:
Milestone: Priority: normal
Severity: trivial Version: 3.3
Component: Formatting Keywords: has-patch
Focuses: Cc:

Description

The $allowedposttags global includes div tags, but the id attribute is omitted. All other attributes that are valid under the HTML 4.0.1 standard are included.

I'm surprised this hasn't come up earlier. If there's an existing ticket out there for this, I can't find it.

Attachments (1)

19226.diff (323 bytes) - added by ethitter 2 years ago.
Adds id attribute to div in $allowedposttags

Download all attachments as: .zip

Change History (3)

ethitter2 years ago

Adds id attribute to div in $allowedposttags

comment:1 SergeyBiryukov2 years ago

  • Keywords has-patch added
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

comment:2 ethitter2 years ago

Wow, why am I so bad at finding these other tickets?!?! That's just a bit embarrassing...

Note: See TracTickets for help on using tickets.