[wp-trac] [WordPress Trac] #31949: Augment list of whitelisted CSS properties in kses.php

WordPress Trac noreply at wordpress.org
Tue Aug 25 21:52:14 UTC 2015


#31949: Augment list of whitelisted CSS properties in kses.php
---------------------------+-----------------------------
 Reporter:  lukeschlather  |       Owner:  wonderboymusic
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:  4.4
Component:  Formatting     |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------------

Comment (by jmichaelward):

 Replying to [comment:6 wonderboymusic]:
 > In [changeset:"33739"]:
 > {{{
 > #!CommitTicketReference repository="" revision="33739"
 > Allow these CSS properties in KSES: `min-height', 'max-height', 'min-
 width', 'max-width'`
 >
 > Props MikeHansenMe.
 > Fixes #31949.
 > }}}

 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?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31949#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list