[wp-trac] [WordPress Trac] #50279: add_query_arg() removes equal sign from assigned value (was: Issue in add_query_arg function. wp-includes/functions.php - line 1142)

WordPress Trac noreply at wordpress.org
Thu Oct 22 00:20:43 UTC 2020


#50279: add_query_arg() removes equal sign from assigned value
-----------------------------+------------------------------
 Reporter:  artprojectgroup  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  5.4.1
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => needs-patch


Comment:

 The example URL keeps the API ID value intact without the `preg_replace`,
 but I don't know what might break (for others) without it.

 For history, [https://core.trac.wordpress.org/browser/tags/5.4.1/src/wp-
 includes/functions.php#L1142 that line] was added in [5999] on ticket
 #4878.

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


More information about the wp-trac mailing list