[wp-trac] [WordPress Trac] #54567: Introduce specific item_link and and item_link_description labels for post formats

WordPress Trac noreply at wordpress.org
Fri Dec 3 12:40:22 UTC 2021


#54567: Introduce specific item_link and and item_link_description labels for post
formats
-------------------------+-----------------------------
 Reporter:  Chouby       |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Taxonomy     |    Version:  trunk
 Severity:  normal       |   Keywords:  has-patch
  Focuses:               |
-------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54567>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list