Extra Slash in url when registering kbe_live_search
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Extra Slash in url when registering kbe_live_search’ is closed to new replies.