[wp-trac] [WordPress Trac] #63632: Consider filtered URLs with arg in `wp_customize_url`

WordPress Trac noreply at wordpress.org
Fri Jun 27 17:53:44 UTC 2025


#63632: Consider filtered URLs with arg in `wp_customize_url`
----------------------------+-----------------------------
 Reporter:  xipasduarte     |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Customize       |    Version:  trunk
 Severity:  minor           |   Keywords:  dev-feedback
  Focuses:  administration  |
----------------------------+-----------------------------
 The `wp_customize_url` function is setting the query string without proper
 handling of the URL that it receives from `admin_url( 'customize.php' )`.
 This leads to issues when the resulting URL contains a query string value.
 For example:

 `[...]/customize.php?my_custom_arg?theme=[theme_name]`

 When this happens it might generate a loop that results in the browser
 halting the page load with an error.

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


More information about the wp-trac mailing list