[wp-trac] [WordPress Trac] #41458: Class gets stripped out when inserting a link in author biography box
WordPress Trac
noreply at wordpress.org
Sun Jul 30 16:11:41 UTC 2017
#41458: Class gets stripped out when inserting a link in author biography box
-------------------------+------------------------------
Reporter: neodjandre | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.5
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Changes (by afercia):
* type: defect (bug) => enhancement
* version: 4.8 => 3.5
* component: General => Formatting
Comment:
Not exactly a bug, this is intentional. For some background, see [21790],
#20210 and #17977.
Right now, the only allowed HTML attributes on a link in the user
description are: `href`, `title`, and `rel`. However, I'm not sure why
`class` shouldn't be allowed. On the other hand, targeting with CSS a link
in the user bio might not be so hard. Changing from bug to enhancement as
this could be something worth considering.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41458#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list