-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
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.
Topic Link: https://wordpress.org/support/topic/extra-slash-in-url-when-registering-kbe_live_search/
Metadata
Metadata
Assignees
Labels
No labels