Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter darwinstubby

    (@darwinstubby)

    Hi Pricelisto,
    Thanks for the reply.
    For a very rough workaround, I replaced

    $item_desc = isset( $_POST[‘item_desc’] ) ? sanitize_text_field($_POST[‘item_desc’] ) : 0;

    with

    $item_desc = isset( $_POST[‘item_desc’] ) ? wp_strip_all_tags( $_POST[‘item_desc’] ) : 0;

    on line 111 of ./includes/admin/class-brm-admin-items.php

    and then replaced line 63 of ./templates/func-temp/minimalist.php with
    <div class=”brm-item-description”><?php echo nl2br($item->description); ?></div>

    We need new lines in the “item description” because the menu is bilingual. Looks a bit odd having a different language start on the same line.

    Looking forward to the next release…

Viewing 1 replies (of 1 total)