WordPress.org

Make WordPress Core

Ticket #53359: 53359-1-CS-fix-incorrect-indent.patch

File 53359-1-CS-fix-incorrect-indent.patch, 841 bytes (added by jrf, 2 months ago)
  • src/wp-includes/kses.php

    From 8764762b87341b4aac370cd77d28aaf04ae35ad3 Mon Sep 17 00:00:00 2001
    From: jrfnl <jrfnl@users.noreply.github.com>
    Date: Tue, 20 Jul 2021 15:01:31 +0200
    Subject: [PATCH] CS: fix incorrect indent
    
    ---
     src/wp-includes/kses.php | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/wp-includes/kses.php b/src/wp-includes/kses.php
    index 10dd0b3656..527d374c9c 100644
    a b function safecss_filter_attr( $css, $deprecated = '' ) { 
    24112411                         */
    24122412                        $allow_css = apply_filters( 'safecss_filter_attr_allow_css', $allow_css, $css_test_string );
    24132413
    2414                          // Only add the CSS part if it passes the regex check.
     2414                        // Only add the CSS part if it passes the regex check.
    24152415                        if ( $allow_css ) {
    24162416                                if ( '' !== $css ) {
    24172417                                        $css .= ';';