WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/07/2007 06:28:46 AM (13 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/wp-includes/taxonomy.php

    r6253 r6322  
    664664 */
    665665function sanitize_term($term, $taxonomy, $context = 'display') {
     666
     667    if ( 'raw' == $context )
     668        return $term;
     669
    666670    $fields = array('term_id', 'name', 'description', 'slug', 'count', 'parent', 'term_group');
    667671
Note: See TracChangeset for help on using the changeset viewer.