• Resolved erikjandelange

    (@erikjandelange)


    Hi Matt,

    First off, great plugin, good work!

    I’m trying to add multiple classes to the “Menu Class”. But when i’m testing it in the browser, it removes the whitespaces between the classes, so it creates one class.
    I’ve been looking for the problem and found om line 83 of “widget.php” the function “sanitize_html_class”. This functions removes the whitespaces.

    I would be great if you can fix this issue in a future update.

    With kind regards
    Erik-Jan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    Hi Erik-Jan, glad you like the plugin.

    I’ve reworked the menu class sanitization to allow for multiple classes to be entered.

    This is available in 3.4.8 (just released).

    Thanks,

    Matt Keys

    Thread Starter erikjandelange

    (@erikjandelange)

    Hee Matt,

    Awesome thanks! Works like a charm!

    Erik-Jan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue: adding multiple classes’ is closed to new replies.