Make WordPress Core

Ticket #47281: 47281.2.patch

File 47281.2.patch, 824 bytes (added by aduth, 5 years ago)
  • src/wp-includes/kses.php

    diff --git src/wp-includes/kses.php src/wp-includes/kses.php
    index 2b96e84a47..d73c5e8ff1 100644
    function safecss_filter_attr( $css, $deprecated = '' ) { 
    20632063         * @since 5.0.0 Added support for `background-image`.
    20642064         * @since 5.1.0 Added support for `text-transform`.
    20652065         * @since 5.2.0 Added support for `background-position` and `grid-template-columns`
     2066         * @since 5.3.0 Added support for `flex`, `flex-grow`, `flex-shrink`, and `flex-basis`.
    20662067         *
    20672068         * @param string[] $attr Array of allowed CSS attributes.
    20682069         */
    function safecss_filter_attr( $css, $deprecated = '' ) { 
    21332134                        'padding-left',
    21342135                        'padding-top',
    21352136
     2137                        'flex',
     2138                        'flex-grow',
     2139                        'flex-shrink',
     2140                        'flex-basis',
     2141
    21362142                        'clear',
    21372143                        'cursor',
    21382144                        'direction',