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

WordPress Trac noreply at wordpress.org
Sat Aug 2 17:52:26 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                                      |
-------------------------------------------------+-------------------------
Changes (by sachinrajcp123):

 * Attachment "63534-link-to-label.diff" added.

 **Testing Instructions:** 1. Apply the patch. 2. Register a custom post
 type with:    'labels' => array( 'link_to' => __( 'Link to Book' ) ) 3.
 Verify the label is available via REST API and used in Gutenberg UI. 4.
 For post types without `link_to`, confirm fallback label shows “Link to
 <singular_name>”.

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


More information about the wp-trac mailing list