[wp-trac] [WordPress Trac] #14187: strrpos supports only a single character for the needle in PHP4

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 3 19:51:56 UTC 2010


#14187: strrpos supports only a single character for the needle in PHP4
--------------------------+-------------------------------------------------
 Reporter:  mailnew2ster  |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP          |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 class-http.php, line 1411:
 http://core.trac.wordpress.org/browser/trunk/wp-includes/class-
 http.php#L1411

 strrpos is used, while it does not work as expected on PHP4. Can be
 replaced by strpos, as the position is not needed in that case.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14187>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list