[wp-trac] [WordPress Trac] #16885: Warning emited in Header parsing when server does not specify a response "Message"
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 18 22:47:43 UTC 2011
#16885: Warning emited in Header parsing when server does not specify a response
"Message"
------------------------------+------------------------------
Reporter: dd32 | Owner: dd32
Type: enhancement | Status: accepted
Priority: normal | Milestone: Awaiting Review
Component: Warnings/Notices | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
------------------------------+------------------------------
Comment (by dd32):
> the patch as proposed does not solve the issue since then you would get;
>
> "Notice: Undefined offset: 1 i" etc... instead
How did you get that? array_shift() will return null on an empty array
/non-array.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16885#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list