[wp-trac] [WordPress Trac] #9115: htmlspecialchars_decode for php uses wrong variable

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 12 21:09:20 GMT 2009


#9115: htmlspecialchars_decode for php uses wrong variable
--------------------------+-------------------------------------------------
 Reporter:  SHRIKEE       |       Owner:  anonymous                      
     Type:  defect (bug)  |      Status:  new                            
 Priority:  low           |   Milestone:  2.7.2                          
Component:  General       |     Version:  2.7                            
 Severity:  normal        |    Keywords:  decode, compat.php, null, error
--------------------------+-------------------------------------------------
 Affected file: wp-include/compat.php
 Lines: 104 and 105

 Variables $string should be $str.

 Functions results in NULL error in it's current state. changing the vars
 to $str solves the issue.
 PHP5 users not affected, PHP4 users are.

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


More information about the wp-trac mailing list