$args ) { if ( true === $args['disable_output'] ) { continue; } $styles = Kirki_Modules_CSS::loop_controls( $config_id ); $styles = apply_filters( "kirki_{$config_id}_dynamic_css", $styles ); // Some people put weird stuff in their CSS, KSES tends to be greedy. $styles = str_replace( '<=', '<=', $styles ); $styles = wp_kses_post( $styles ); // Why both KSES and strip_tags? Because we just added some '>'. // kses replaces lone '>' with >. // @codingStandardsIgnoreLine WordPress.WP.AlternativeFunctions.strip_tags_strip_tags WordPress.Security.EscapeOutput.OutputNotEscaped echo strip_tags( str_replace( '>', '>', $styles ) ); }