Changeset 44731 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 02/07/2019 11:34:22 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r44714 r44731 5154 5154 */ 5155 5155 function _sanitize_text_fields( $str, $keep_newlines = false ) { 5156 if ( ! is_string( $str ) ) {5156 if ( is_object( $str ) || is_array( $str ) ) { 5157 5157 return ''; 5158 5158 } 5159 5160 $str = (string) $str; 5159 5161 5160 5162 $filtered = wp_check_invalid_utf8( $str );
Note: See TracChangeset
for help on using the changeset viewer.