[wp-trac] [WordPress Trac] #52503: remove_query_arg() can create a url such as `/?#anchor` instead of `/#anchor`

WordPress Trac noreply at wordpress.org
Fri Feb 12 10:27:36 UTC 2021


#52503: remove_query_arg() can create a url such as `/?#anchor` instead of
`/#anchor`
----------------------------------------+------------------------
 Reporter:  dd32                        |       Owner:  (none)
     Type:  defect (bug)                |      Status:  closed
 Priority:  lowest                      |   Milestone:
Component:  General                     |     Version:
 Severity:  trivial                     |  Resolution:  duplicate
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+------------------------
Changes (by sabernhardt):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 #44499 covers removing the `?`, within the `add_query_arg` function.

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


More information about the wp-trac mailing list