[wp-trac] [WordPress Trac] #63110: Site Editor: Update old URLs to new path-based URLs

WordPress Trac noreply at wordpress.org
Tue Mar 18 12:10:06 UTC 2025


#63110: Site Editor: Update old URLs to new path-based URLs
--------------------------------------+------------------------------
 Reporter:  wildworks                 |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------------------

Comment (by wildworks):

 @sainathpoojary

 > I’m unsure how I can reproduce this to test it.

 == Navigation:

 - Access http://localhost:8889/wp-admin/edit.php?post_type=wp_navigation
 - Check the link of the post title

 == Template

 To access the post list, temporarily run the following hook:

 {{{
 add_filter( 'register_post_type_args', function( $args, $post_type ) {
         if ( $post_type === 'wp_template' ) {
                 $args['show_ui'] = true;
         }
         return $args;
 }, 10, 2 );
 }}}

 - Then, access http://localhost:8889/wp-
 admin/edit.php?post_type=wp_template
 - Check the link of the post title

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


More information about the wp-trac mailing list