#31949 closed enhancement (fixed)
Augment list of whitelisted CSS properties in kses.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Formatting | Keywords: | has-patch |
Focuses: | Cc: |
Description
We have a user who wants to use min-width and min-height in their posts. We can add the filter, but it seems like min-width and min-height are harmless and should be added to the standard whitelist:
https://github.com/WordPress/WordPress/blob/master/wp-includes/kses.php#L1480
Attachments (2)
Change History (9)
#2
@
8 years ago
- Component changed from General to Formatting
- Type changed from feature request to enhancement
#6
follow-up:
↓ 7
@
8 years ago
- Owner set to wonderboymusic
- Resolution set to fixed
- Status changed from new to closed
In 33739:
#7
in reply to:
↑ 6
@
8 years ago
Replying to wonderboymusic:
In 33739:
Just noticed this one come over Slack - glancing at the commit, there's an extra space after 'max-height' (before the comma), and no space before it on line 1697. I assume the code works as-is, but can we update once more to ensure we're meeting WP code quality standards?
Note: See
TracTickets for help on using
tickets.
31949.diff still applies. Can we get this in 4.4?