WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 14 months ago

#37011 closed enhancement

Don’t link custom logo if it’s displayed on the front page — at Initial Version

Reported by: FlorianBrinkmann Owned by:
Milestone: 5.5 Priority: highest omg bbq
Severity: blocker Version: 4.6
Component: Themes Keywords: has-patch has-dev-note commit dev-reviewed
Focuses: accessibility Cc:

Description

Hey!

I have looked at the get_custom_logo() function recently and noticed that the logo is linked to home even if it is displayed on the front page.

Wouldn’t it make sense to only link the logo if it is not displayed on the front page?

Rian Rietveld writes:

On the homepage the logo or site title can be put into an H1. This is not a link, because that will be a link to the page itself.

And I think it makes perfect sense :)

Change History (1)

@Soean
5 years ago

First patch

Note: See TracTickets for help on using tickets.