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

WordPress Trac noreply at wordpress.org
Fri Mar 21 13:14:43 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 Thanks for submitting a patch!

 I checked your PR, and it would be a good idea to encode slashes (`/`) in
 the get parameter to `%2F`.

 P.S. Gutenberg's JS utility (`addQueryArgs()`) automatically encodes URLs
 so no explicit encoding is needed. On the other hand, I think we would
 need explicit encoding in PHP.

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


More information about the wp-trac mailing list