WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#44982 closed enhancement (wontfix)

Add additional prefix suppression for Homepage in nav menu

Reported by: garrett-eclipse Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Menus Keywords:
Focuses: administration Cc:

Description

A suppression for the 'Home: ' prefix was added here;
https://core.trac.wordpress.org/ticket/25410#comment:11

With Homepage being synonymous with Home and having a translation available in core am wondering if the code here should also check for Homepage before applying the prefix;
https://github.com/WordPress/WordPress/blob/f4e1cf65c1f13a4ffb07e292e477890de5601afb/wp-admin/includes/class-walker-nav-menu-checklist.php#L97

Change History (1)

#1 @garrett-eclipse
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Closing in favour of #37782 as that implementation doesn't rely on translated 'Home' which has it's shortcomings even by adding more synonyms we end up with cases where User Locale doesn't match Site Locale so page title not be the current translation for 'Home' depending on users locale.

Note: See TracTickets for help on using tickets.