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

WordPress Trac noreply at wordpress.org
Tue Dec 23 16:14:53 UTC 2025


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

Comment (by jabir20):

 Thanks everyone @SirLouen , @westonruter , @wildworks  for the
 clarification and for updating the PR.

 I re-tested the patch using WordPress Playground now that PR #8514 has
 been updated:
 https://playground.wordpress.net/wordpress.html?pr=8514

 ✅ Playground testing results:
 - Playground loads correctly now.
 - I did NOT encounter the fatal error that I previously saw in my local
 trunk setup.
 - This confirms the earlier fatal error was likely environment-specific
 and not caused by this patch.

 ✅ Navigation editor links:
 - Links use path-based `p=` URLs with encoded slashes (`%2F`).
 - Editor opens directly without redirect.

 ✅ Template editor links:
 - After enabling `show_ui` for `wp_template`, template links open
 correctly in the Site Editor.
 - URLs use path-based `p=` routing and save works as expected.

 Regarding current vs intended behavior:
 - Navigation and template editors already work today, but rely on legacy
 query parameters that trigger redirects.
 - This patch improves internal URL consistency by switching to path-based
 `p=` URLs, avoiding unnecessary redirects and aligning with Gutenberg
 routing.

 Everything appears to be working as intended with the patch.

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


More information about the wp-trac mailing list