[wp-trac] [WordPress Trac] #14168: Redundant line in WP_Http

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 2 04:58:40 UTC 2010


#14168: Redundant line in WP_Http
--------------------------+-------------------------------------------------
 Reporter:  rmccue        |       Owner:  rmccue         
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP          |     Version:  3.0            
 Severity:  trivial       |    Keywords:  has-patch      
--------------------------+-------------------------------------------------

Comment(by rmccue):

 Replying to [comment:3 Viper007Bond]:
 > Not to mention it's doing `==` and not `===` so the capitalization
 doesn't matter. :)

 IIRC, only `!strcasecmp($x, $y)` would compare strings case-insensitively.

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


More information about the wp-trac mailing list