WordPress.org

Make WordPress Core

Changeset 11153


Ignore:
Timestamp:
05/01/09 22:05:04 (5 years ago)
Author:
ryan
Message:

strip slashes from term before prepare(). Props jhodgdon. see #6593

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r11151 r11153  
    866866    } 
    867867 
    868     $term = trim( $term ); 
     868    $term = trim( stripslashes( $term ) ); 
    869869     
    870870    if ( '' === $slug = sanitize_title($term) ) 
Note: See TracChangeset for help on using the changeset viewer.