Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Matt Robinson

    (@mattyrob)

    I’ve also noticed that foundation_inline_styles() uses wp_kses() to escape and sanitise the CSS.

    While this is a sensible security protection, it is resulting in CSS selectors being escaped incorrectly. For example:

    .wptouch-menu .menu-tree > li

    Becomes

    .wptouch-menu .menu-tree > li

    Plugin Contributor WPtouch

    (@wptouch)

    Hi @mattyrob,

    Thank you for flagging these! We will send along to our engineering team for review.

    Thanks,

    WPtouch Support Team

    Thread Starter Matt Robinson

    (@mattyrob)

    Another glitch, in core/menu.php there is a function wptouch_show_menu(). The closing tag should be </ul> but the wp_kses() allowed html defined at this stage doesn’t include the ul tag so it is removed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Syntax error in bundled theme’ is closed to new replies.