Skip to content

Commit e29cb5f

Browse files
authored
[4.3] addfavicon (#40735)
1 parent 2c7395b commit e29cb5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/src/Document/HtmlDocument.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ public function addHeadLink($href, $relation, $relType = 'rel', $attribs = [])
449449
*
450450
* @since 1.7.0
451451
*/
452-
public function addFavicon($href, $type = 'image/vnd.microsoft.icon', $relation = 'shortcut icon')
452+
public function addFavicon($href, $type = 'image/vnd.microsoft.icon', $relation = 'icon')
453453
{
454454
$href = str_replace('\\', '/', $href);
455455
$this->addHeadLink($href, $relation, 'rel', ['type' => $type]);

0 commit comments

Comments
 (0)