'', ), $params ); $content = str_replace( ']
', ']', $content ); $content = str_replace( "]
\n", ']', $content ); $content = str_replace( "
\n[", '[', $content ); $class = Sanitizer::class_list( $atts['class'] ); return ''; } ebs_backward_compatibility_callback( 'list', 'osc_theme_list' ); function osc_theme_li( $params, $content = null ) { $atts = shortcode_atts( array( 'type' => '', ), $params ); $type = Sanitizer::class_list( $atts['type'] ); if ( '' !== $type ) { $osc_class = ' '; } else { $osc_class = ''; } return '
  • ' . $osc_class . do_shortcode( $content ) . '
  • '; } ebs_backward_compatibility_callback( 'li', 'osc_theme_li' );