WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/27/2018 12:53:20 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Formatting: Permit use of text-transform in safecss_filter_attr().

Add unit tests for safecss_filter_attr().

Props birgire, juiiee8487, danielbachhuber.
Fixes #42729.

File:
1 edited

Legend:

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

    r42860 r42880  
    19651965     * @since 4.4.0 Added support for `min-height`, `max-height`, `min-width`, and `max-width`.
    19661966     * @since 4.6.0 Added support for `list-style-type`.
     1967     * @since 5.0.0 Added support for `text-transform`.
    19671968     *
    19681969     * @param array $attr List of allowed CSS attributes.
     
    20072008            'letter-spacing',
    20082009            'line-height',
     2010            'text-align',
    20092011            'text-decoration',
    20102012            'text-indent',
    2011             'text-align',
     2013            'text-transform',
    20122014
    20132015            'height',
Note: See TracChangeset for help on using the changeset viewer.