[Plugin: Find Me On] Code error: trying to load incorrect css?
-
There appears to be an error in the code.
Line 536 of find-me-on.php contains:
echo '<link type="text/css" rel="stylesheet" href="' . $findmeonplugindir . '/stylesheet.css" />' . "\n";
But this doesn’t exist and trying to call it adds significant overhead to the page load.
I have changed it to:
echo '<link type="text/css" rel="stylesheet" href="' . $findmeonplugindir . '/css/style.css" />' . "\n";
which gets rid of the problem. However, surely this should be using wp_enqueue_style? This would allow a number of efficiency gains to be made. The same is true of the JS.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Find Me On] Code error: trying to load incorrect css?’ is closed to new replies.