Changeset 3517 for trunk/wp-admin/options.php
- Timestamp:
- 02/12/2006 07:53:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options.php
r3413 r3517 29 29 case 'update': 30 30 $any_changed = 0; 31 31 32 32 check_admin_referer(); 33 33 … … 53 53 if( in_array($option, $nonbools) && ( $value == '0' || $value == '') ) 54 54 $value = 'closed'; 55 55 56 56 if( $option == 'blogdescription' || $option == 'blogname' ) 57 57 if (current_user_can('unfiltered_html') == false) 58 58 $value = wp_filter_post_kses( $value ); 59 59 60 60 if (update_option($option, $value) ) { 61 61 $any_changed++;
Note: See TracChangeset
for help on using the changeset viewer.