Ticket #6593: 6593_stripslash_against_11151.diff
File 6593_stripslash_against_11151.diff, 432 bytes (added by , 16 years ago) |
---|
-
wp-includes/taxonomy.php
865 865 return $wpdb->get_var( $wpdb->prepare( $select . $where, $term ) ); 866 866 } 867 867 868 $term = trim( $term);868 $term = trim( slipslashes( $term )); 869 869 870 870 if ( '' === $slug = sanitize_title($term) ) 871 871 return 0;