Make WordPress Core

Changeset 30162


Ignore:
Timestamp:
11/01/2014 09:59:58 PM (10 years ago)
Author:
wonderboymusic
Message:

In _wp_json_convert_string(), when $use_mb is false, perhaps pass a variable that actually exists to wp_check_invalid_utf8().

Introduced in [30055].
See #30224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r30122 r30162  
    27402740        }
    27412741    } else {
    2742         return wp_check_invalid_utf8( $data, true );
     2742        return wp_check_invalid_utf8( $string, true );
    27432743    }
    27442744}
Note: See TracChangeset for help on using the changeset viewer.