Make WordPress Core

Opened 5 years ago

Last modified 4 years ago

#54567 new enhancement

Introduce specific item_link and and item_link_description labels for post formats

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

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 5 years ago.

Download all attachments as: .zip

Change History (2)

@Chouby
5 years ago

#1 @Chouby
4 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.