WordPress.org

Make WordPress Core

Ticket #42729: 42729.diff

File 42729.diff, 330 bytes (added by juiiee8487, 21 months ago)

I have created patch to whitelist text-transform CSS property.

  • wp-includes/kses.php

    diff --git a/wp-includes/kses.php b/wp-includes/kses.php
    index c95b017..6c7d8b7 100644
    a b function safecss_filter_attr( $css, $deprecated = '' ) { 
    17471747                'text-decoration',
    17481748                'text-indent',
    17491749                'text-align',
     1750                'text-transform',
    17501751
    17511752                'height',
    17521753                'min-height',