Make WordPress Core

Ticket #47281: 47281.patch

File 47281.patch, 734 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..198b0fd7cb 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-basis`.
    20662067         *
    20672068         * @param string[] $attr Array of allowed CSS attributes.
    20682069         */
    function safecss_filter_attr( $css, $deprecated = '' ) { 
    21412142                        'vertical-align',
    21422143                        'list-style-type',
    21432144                        'grid-template-columns',
     2145                        'flex-basis',
    21442146                )
    21452147        );
    21462148