Make WordPress Core


Ignore:
Timestamp:
11/07/2007 06:20:08 AM (16 years ago)
Author:
ryan
Message:

Skip sanitization altogether for raw context. Props Quandary. fixes #5325

File:
1 edited

Legend:

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

    r6311 r6321  
    735735 */
    736736function sanitize_term($term, $taxonomy, $context = 'display') {
     737
     738    if ( 'raw' == $context )
     739        return $term;
     740
    737741    $fields = array('term_id', 'name', 'description', 'slug', 'count', 'parent', 'term_group');
    738742
Note: See TracChangeset for help on using the changeset viewer.