• Resolved Barcelo

    (@barcelo)


    Hi there,

    regarding the new v5.10.2 I did notice, that your recent changes in file “class-shortcodes.php” destroys the HTML layout (miss-match) when using the shortcode function [events_list nb=”10″]

    Starting on line 157 your changes:

            if ($atts['container_schema'] != EventPost()->list_shema['container'])
    $atts['container_schema'] = html_entity_decode($atts['container_schema']);
    $atts['container_schema'] = wp_kses($atts['container_schema'], EventPost()->kses_tags);

    if ($atts['item_schema'] != EventPost()->list_shema['item']) {
    $atts['item_schema'] = html_entity_decode($atts['item_schema']);
    $atts['item_schema'] = wp_kses($atts['item_schema'], EventPost()->kses_tags);
    }

    This code (as before in v5.10.1) works flawless:

            if ($atts['container_schema'] != EventPost()->list_shema['container'])
    $atts['container_schema'] = html_entity_decode($atts['container_schema']);
    if ($atts['item_schema'] != EventPost()->list_shema['item'])
    $atts['item_schema'] = html_entity_decode($atts['item_schema']);

    Regards

Viewing 1 replies (of 1 total)
  • Agreed, the class “event_loop” does not seem to be created anymore.

    Had to rollback to 5.10.1 to make my custom CSS work again ^^

Viewing 1 replies (of 1 total)

The topic ‘New v5.10.2 and changes in “class-shortcodes.php” destroys HTML layout’ is closed to new replies.