Bug in main.php – Duplicate slashes
-
main.php:22
wp_enqueue_style( 'font-awesome', plugin_dir_url( __FILE__ ).'/css/css/font-awesome.min.css' );This is loading up the plugin css with double slashes.
In the source code it is enqueing the stylesheet with the following double slashes:
<link rel='stylesheet' id='font-awesome-css' href='https://site.com/wp-content/plugins/ultimate-carousel-for-visual-composer//css/css/font-awesome.min.css?ver=5.6' type='text/css' media='all' />The fix is to remove the leading slash on line 22:
wp_enqueue_style( 'font-awesome', plugin_dir_url( __FILE__ ).'css/css/font-awesome.min.css' );While trivial this does affect the way some search engines index.
The topic ‘Bug in main.php – Duplicate slashes’ is closed to new replies.