WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 11 months ago

#33204 new enhancement

kses $allowedposttags should support microdata

Reported by: wordpressplugindeveloper Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Formatting Keywords: kses
Focuses: Cc:
PR Number:

Description

It should support more attributes:
itemscope, itemprop, itemref, itemtype and itemid

check out https://en.wikipedia.org/wiki/Microdata_(HTML)#Global_attributes

Change History (5)

#1 @SergeyBiryukov
4 years ago

  • Component changed from Posts, Post Types to Formatting
  • Summary changed from kese $allowedposttags should support microdata to kses $allowedposttags should support microdata

#2 follow-up: @miqrogroove
4 years ago

  • Keywords kses added

This is likely just a duplicate of the HTML 5 ticket.

#3 in reply to: ↑ 2 @wordpressplugindeveloper
4 years ago

Replying to miqrogroove:

This is likely just a duplicate of the HTML 5 ticket.

sorry if I overlooked. Would mind me giving the html 5 ticket link?

Last edited 4 years ago by wordpressplugindeveloper (previous) (diff)

#5 @GaryJ
11 months ago

Turns out that this wasn't a duplicate, and never got addressed. The $allowedposttags still doesn't allow for microdata-related attributes.

Note: See TracTickets for help on using tickets.