Make WordPress Core

Opened 3 years ago

Last modified 2 years ago

#54567 new enhancement

Introduce specific item_link and and item_link_description labels for post formats

Reported by: chouby's profile Chouby Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.9
Component: Taxonomy Keywords: has-patch
Focuses: Cc:

Description

The function build_variation_for_navigation_link() needs to overwrite the item_link and item_link_description labels for post formats. This is currently done directly in the function. This is inefficient as, the function being called several times, these translations are done several times too.

I propose to handle these translations when the taxonomy is registered as done for tag and categories.

Attachments (1)

54567.patch (853 bytes) - added by Chouby 3 years ago.

Download all attachments as: .zip

Change History (2)

@Chouby
3 years ago

#1 @Chouby
2 years ago

Just found out that I forgot to link to the Gütenberg part: https://github.com/WordPress/gutenberg/pull/37103

Note: See TracTickets for help on using tickets.