[wp-hackers] REQUEST_URI fix in wp-settings.php doesn't work

Joseph Scott joseph at randomnetworks.com
Sun Jul 3 00:13:38 GMT 2005


On Jul 2, 2005, at 4:27 PM, Kimmo Suominen wrote:

> On Sat, Jul 02, 2005 at 04:23:42PM -0700, Matthew Mullenweg wrote:
>
>> Mike Little wrote:
>>
>>> I meant
>>> I  think that makes the test for !isset() redundant.
>>>
>>
>> Is empty one of the functions that throws an error under E_ALL  
>> when run
>> on an unset variable? I think that's why we have the redundant  
>> isset()
>> everywhere.
>>
>
> empty() does not generate a warning when the variable is not set.

http://us4.php.net/manual/en/function.empty.php

Just be careful how you define empty :-)


--
Joseph Scott
URL: http://joseph.randomnetworks.com/
Email: joseph at randomnetworks.com




More information about the wp-hackers mailing list