Make WordPress Core

Changeset 10543


Ignore:
Timestamp:
02/11/2009 07:36:32 PM (16 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/compat.php

    r10298 r10543  
    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.