Should not filter class attribute on abbr used in hreview microformat
|Reported by:||conoro||Owned by:||rob1n|
I posted this on the "Requests and Feedback" forum but was told it might be more appropriate as a trac ticket. Apologies if it is not.
There are two things currently breaking the posting of hreview (and possibly other microformats) via XMLRPC to wordpress.org/wordpress.com/wpmu blogs. I'll post them as separate tickets.
The first is that kses.php is stripping harmless class attributes which are the core of microformat markup. To allow hreviews to be posted, the following trivial change is required in kses.php.
In allowedposttags, abbr is currently listed as follows:
'abbr' => array ('title' => array ())
this just needs to change to:
'abbr' => array ('title' => array (), 'class' => array ())
Would you consider doing this fix to provide further support for microformats as you already do for XFN? I'll continue to test the other microformats like hcard, hcalendar etc to see if they run into any problems. Thanks.
Change History (21)
9 years ago
- Milestone set to 2.2
- Summary changed from Posting via xmlrpc breaks microformat markup to Should not filter class attribute on abbr used in hreview microformat
- Keywords has-patch commit removed
- Owner changed from anonymous to rob1n
- Status changed from new to assigned