Changeset 48205
- Timestamp:
- 06/28/2020 09:02:18 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r48199 r48205 1220 1220 * 1221 1221 * @since 0.71 1222 * @since 5.5.0 Non-string values are left untouched. 1222 1223 * 1223 1224 * @param array $array Array to walk while sanitizing contents. … … 1228 1229 if ( is_array( $v ) ) { 1229 1230 $array[ $k ] = add_magic_quotes( $v ); 1231 } elseif ( ! is_string( $v ) ) { 1232 continue; 1230 1233 } else { 1231 1234 $array[ $k ] = addslashes( $v ); 1232 1235 } 1233 1236 } 1237 1234 1238 return $array; 1235 1239 }
Note: See TracChangeset
for help on using the changeset viewer.