Make WordPress Core

Changeset 10544


Ignore:
Timestamp:
02/11/2009 07:50:00 PM (18 years ago)
Author:
ryan
Message:

Use right variable name. Props stringfold. fixes #9090 for 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-includes/compat.php

    r10391 r10544  
    100100        // Added in PHP 5.1.0
    101101        // Error checks from PEAR::PHP_Compat
    102         function htmlspecialchars_decode( $str, $quote_style = ENT_COMPAT )
     102        function htmlspecialchars_decode( $string, $quote_style = ENT_COMPAT )
    103103        {
    104104                if ( !is_scalar( $string ) ) {
     
    112112                }
    113113
    114                 return wp_specialchars_decode( $str, $quote_style );
     114                return wp_specialchars_decode( $string, $quote_style );
    115115        }
    116116}
Note: See TracChangeset for help on using the changeset viewer.