Empty Favicon Tags
-
In the function fruitful_get_favicon in the file /functions.php it looks like there are checks to see if various favicons have been set using the isset() function. If that is purpose it doesn’t accomplish it, since that will return true even if they are not set, so you end with a series of link tags with blank hrefs being added to the page if they are not set:
<link rel="shortcut icon" href=""><link rel="apple-touch-icon-precomposed" sizes="16x16" href=""><link rel="apple-touch-icon" href=""><link rel="apple-touch-icon" sizes="114x114" href=" "><link rel="apple-touch-icon" sizes="72x72" href=""><link rel="apple-touch-icon" sizes="144x144" href="">On HTTPS pages that will cause a mixed content issue.
It looks like if you check if the favicon options are not empty() that should fix this.
The topic ‘Empty Favicon Tags’ is closed to new replies.
