Changeset 21850 for trunk/wp-includes/formatting.php
- Timestamp:
- 09/14/2012 07:32:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r21828 r21850 2790 2790 case 'blogdescription': 2791 2791 case 'blogname': 2792 $value = addslashes($value); 2793 $value = wp_filter_post_kses( $value ); // calls stripslashes then addslashes 2794 $value = stripslashes($value); 2792 $value = wp_kses_post( $value ); 2795 2793 $value = esc_html( $value ); 2796 2794 break; … … 2808 2806 case 'upload_path': 2809 2807 $value = strip_tags($value); 2810 $value = addslashes($value); 2811 $value = wp_filter_kses($value); // calls stripslashes then addslashes 2812 $value = stripslashes($value); 2808 $value = wp_kses_data($value); 2813 2809 break; 2814 2810
Note: See TracChangeset
for help on using the changeset viewer.