Changeset 5886
- Timestamp:
- 08/16/2007 07:55:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options.php
r5832 r5886 30 30 foreach ($options as $option) { 31 31 $option = trim($option); 32 $value = trim($_POST[$option]); 33 $value = stripslashes($value); 32 $value = $_POST[$option]; 33 if(!is_array($value)) $value = trim($value); 34 $value = stripslashes_deep($value); 34 35 update_option($option, $value); 35 36 }
Note: See TracChangeset
for help on using the changeset viewer.