• Hi, firstly thanks for the plugin, I like it a lot.

    Just thought you should know in version 1.1.7 in the file /includes/kbe-core-functions.php the function kbe_styles() has this line:

    
    wp_register_script( 'kbe_live_search', WP_KNOWLEDGEBASE . '/assets/js/jquery.livesearch.js', array( 'jquery' ), KBE_PLUGIN_VERSION, true );
    

    which is producing two slashes:
    /wp-knowledgebase//assets/js/jquery.livesearch.js

    In edge cases (android browser) this throws an error, i’ve removed the starting slash and all ok.

    
    wp_register_script( 'kbe_live_search', WP_KNOWLEDGEBASE . 'assets/js/jquery.livesearch.js', array( 'jquery' ), KBE_PLUGIN_VERSION, true );
    

    Again, thanks for a great plugin.
    Gary.

    • This topic was modified 6 years, 4 months ago by Gary Sands.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Maeve Lander

    (@enigmaweb)

    Awesome, thanks for letting me know Gary. I’ll log this as a bug on GitHub and get to it as soon as I can.

    Cheers,
    Maeve

Viewing 1 replies (of 1 total)
  • The topic ‘Extra Slash in url when registering kbe_live_search’ is closed to new replies.