Make WordPress Core

Ticket #9397: 9397.diff

File 9397.diff, 397 bytes (added by jhodgdon, 16 years ago)

Fix for this problem

  • wp-includes/taxonomy.php

     
    868868        if ( '' === $slug = sanitize_title($term) )
    869869                return 0;
    870870
     871        $term = trim( $term );
    871872        $where = 't.slug = %s';
    872873        $else_where = 't.name = %s';
    873874        $where_fields = array($slug);