Ticket #20202: 20202.diff
File 20202.diff, 611 bytes (added by , 13 years ago) |
---|
-
wp-includes/default-filters.php
79 79 } 80 80 81 81 // Keys 82 foreach ( array( 'pre_post_type' ) as $filter ) { 83 add_filter( $filter, 'sanitize_user' ); 84 } 85 foreach ( array( 'pre_post_status', 'pre_post_comment_status', 'pre_post_ping_status' ) as $filter ) { 82 foreach ( array( 'pre_post_type', 'pre_post_status', 'pre_post_comment_status', 'pre_post_ping_status' ) as $filter ) { 86 83 add_filter( $filter, 'sanitize_key' ); 87 84 } 88 85