[wp-trac] Re: [WordPress Trac] #9068: HTTP API Cookies trigger E_NOTICE

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 23 15:47:53 GMT 2009


#9068: HTTP API Cookies trigger E_NOTICE
--------------------------+-------------------------------------------------
 Reporter:  beaulebens    |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  low           |    Milestone:  2.8     
Component:  HTTP          |      Version:  2.8     
 Severity:  minor         |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by sivel):

 Replying to [comment:6 aaroncampbell]:
 > Is there a reason that we couldn't use `empty()` in [10633] rather than
 `isset()` '''and''' `count()`?

 That does sound better.  I guess I should have looked closer at what the
 code was doing rather than just a way to stop the notice.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9068#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list