[wp-trac] [WordPress Trac] #63534: Add `link_to` label to post types

WordPress Trac noreply at wordpress.org
Sat Aug 16 02:28:45 UTC 2025


#63534: Add `link_to` label to post types
-------------------------------------------------+-------------------------
 Reporter:  benoitchantre                        |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch needs-      |     Focuses:  ui
  test-info                                      |
-------------------------------------------------+-------------------------

Comment (by wildworks):

 I prefer to use a generic label rather than extending post type labels.

 See
 https://github.com/WordPress/gutenberg/issues/55057#issuecomment-3121386400

 There are two reasons I'm reluctant to expand post type labels:

 - The `link_to_item` field will be only for the Featured Image block and
 is not currently used for any other purpose.
 - It's possible that the Featured Image block will be used in custom post
 types. In that case, users would need to add the `link_to_item field` for
 all `register_post_type()` functions in order for the Featured Image block
 to display the appropriate toggle label.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63534#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list