[wp-hackers] The menu-system in wp 1.3

Jamie Talbot wphackers at jamietalbot.com
Tue Oct 19 16:00:41 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think it's in options.php:

$referred = str_replace('&updated=true' , '', $_SERVER['HTTP_REFERER']);
$goback = str_replace('&updated=true', '', $_SERVER['HTTP_REFERER']) .
'&updated=true';
$goback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $goback);

in these three places.  That seems to fix it...

Jamie.

| Yes.  The referrer code needs to be fixed.
|
| Ryan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBdToprovxfShShFARAvL2AJ9HFUkp1uq5oZqMYwkrm/RHxkU0swCfU8SY
ube+jCssgCv8LFUsVGn6TBc=
=wAMC
-----END PGP SIGNATURE-----




More information about the hackers mailing list