[wp-hackers] Need help upgrading CG-Related plugin to
1.3...
Dennis Williamson
dennis at netstrata.com
Tue Oct 26 05:49:21 UTC 2004
Oh!!!
What about:
if (!empty($_SERVER['QUERY_STRING'])) {
$_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING'];
}
Isn't !empty() == isset(), always?
Dennis
At Monday 10/25/2004 11:04 PM, you wrote:
>On Mon, 2004-10-25 at 23:26 -0400, David Chait wrote:
> > Okay, so I just found the following code at the top of wp-settings.php:
> >
> > // Append the query string if it exists and isn't null
> > if (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING'])) {
> > $_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING'];
> > }
>
>Fixed.
>
>Ryan
>
>
>_______________________________________________
>hackers mailing list
>hackers at wordpress.org
>http://wordpress.org/mailman/listinfo/hackers_wordpress.org
More information about the hackers
mailing list