[wp-hackers] echo and return
lowmagnet
lowmagnet at lowmag.net
Tue Jul 27 16:17:33 UTC 2004
On Tue, Jul 27, 2004 at 09:06:15AM -0700, Joseph Scott wrote:
> Nice to see someone brought this up. If someone is tracking the
> votes I'd got for this option above the URL format. Besides, unless
> everyone is using urlencode() on their parameters and all of the WP
> functions use urldecode() to get the proper values the URL format will
> break when values that aren't URL friendly are being passed (like spaces).
Also, reminding people to put %20 in for space just seems unfriendly. better to remove the temptation entirely.
PERL (not that I like it but...) code mainly passes this way, and it works surprisingly well. They don't use array() specifically, optiong rather to shortcut to something like @{'a'=>'value'} or something equaly obfuscated.
-eli
More information about the hackers
mailing list