Changeset 9803
- Timestamp:
- 11/20/2008 03:06:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r9731 r9803 1678 1678 $tags = array(); 1679 1679 $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.1681 1680 wp_set_object_terms($post_id, $tags, 'post_tag', $append); 1682 1681 }
Note: See TracChangeset
for help on using the changeset viewer.