Make WordPress Core

Changeset 9803


Ignore:
Timestamp:
11/20/2008 03:06:21 AM (17 years ago)
Author:
ryan
Message:

Remove trim. fixes #8252

File:
1 edited

Legend:

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

    r9731 r9803  
    16781678        $tags = array();
    16791679    $tags = (is_array($tags)) ? $tags : explode( ',', trim($tags, " \n\t\r\0\x0B,") );
    1680     $tags = array_map('trim', $tags); //Trim whitespace from around the tags.
    16811680    wp_set_object_terms($post_id, $tags, 'post_tag', $append);
    16821681}
Note: See TracChangeset for help on using the changeset viewer.