WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#37011 new enhancement

Don’t link custom logo if it’s displayed on the front page

Reported by: FlorianBrinkmann Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6
Component: General Keywords: has-patch
Focuses: Cc:
PR Number:

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 :)

Attachments (1)

37011.patch (1.1 KB) - added by Soean 3 years ago.
First patch

Download all attachments as: .zip

Change History (2)

@Soean
3 years ago

First patch

#1 @Presskopp
3 years ago

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.