WordPress.org

Make WordPress Core

Changeset 33739


Ignore:
Timestamp:
08/25/2015 09:45:42 PM (6 years ago)
Author:
wonderboymusic
Message:

Allow these CSS properties in KSES: min-height', 'max-height', 'min-width', 'max-width'

Props MikeHansenMe.
Fixes #31949.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/kses.php

    r33359 r33739  
    16951695    'border-top-color', 'border-top-style', 'border-top-width', 'border-width', 'caption-side',
    16961696    'clear', 'cursor', 'direction', 'font', 'font-family', 'font-size', 'font-style',
    1697     'font-variant', 'font-weight', 'height', 'letter-spacing', 'line-height', 'margin-bottom',
     1697    'font-variant', 'font-weight', 'height', 'min-height','max-height' , 'letter-spacing', 'line-height', 'margin-bottom',
    16981698    'margin-left', 'margin-right', 'margin-top', 'overflow', 'padding', 'padding-bottom',
    16991699    'padding-left', 'padding-right', 'padding-top', 'text-decoration', 'text-indent', 'vertical-align',
    1700     'width' ) );
     1700    'width', 'min-width', 'max-width' ) );
    17011701
    17021702    if ( empty($allowed_attr) )
Note: See TracChangeset for help on using the changeset viewer.