Changeset 22255 for trunk/wp-includes/formatting.php
- Timestamp:
- 10/17/2012 05:44:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r22135 r22255 2825 2825 case 'mailserver_login': 2826 2826 case 'mailserver_pass': 2827 case 'upload_path': 2828 $value = strip_tags( $value ); 2829 $value = wp_kses_data( $value ); 2830 break; 2831 2827 2832 case 'ping_sites': 2828 case 'upload_path': 2829 $value = strip_tags($value); 2830 $value = wp_kses_data($value); 2833 $value = explode( "\n", $value ); 2834 $value = array_filter( array_map( 'trim', $value ) ); 2835 $value = array_filter( array_map( 'esc_url_raw', $value ) ); 2836 $value = implode( "\n", $value ); 2831 2837 break; 2832 2838
Note: See TracChangeset
for help on using the changeset viewer.