Changeset 21292 for trunk/wp-includes/formatting.php
- Timestamp:
- 07/20/2012 03:14:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r21250 r21292 1381 1381 * @since 2.0.0 1382 1382 * 1383 * @param array|string $value The array or stringto be stripped.1384 * @return array|string Stripped array (or string in the callback).1383 * @param mixed $value The value to be stripped. 1384 * @return mixed Stripped value. 1385 1385 */ 1386 1386 function stripslashes_deep($value) { … … 1392 1392 $value->{$key} = stripslashes_deep( $data ); 1393 1393 } 1394 } else {1394 } elseif ( is_string( $value ) ) { 1395 1395 $value = stripslashes($value); 1396 1396 }
Note: See TracChangeset
for help on using the changeset viewer.