[wp-trac] [WordPress Trac] #17923: add_query_arg() should encode values
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 8 23:00:27 UTC 2011
#17923: add_query_arg() should encode values
-----------------------------------+-----------------------------
Reporter: Viper007Bond | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version: 3.2
Severity: normal | Resolution:
Keywords: needs-patch has-patch |
-----------------------------------+-----------------------------
Comment (by kurtpayne):
Replying to [comment:9 Viper007Bond]:
> Sweet. :)
>
> Rather than doing a `foreach()` though, `array_map()` is easier (see
comment 6).
TIL that array_map preserves key/value relationships.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17923#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list