Changeset 6407
- Timestamp:
- 12/19/2007 05:34:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r6382 r6407 1188 1188 if ( empty($tags) ) 1189 1189 $tags = array(); 1190 $tags = (is_array($tags)) ? $tags : explode( ',', $tags);1190 $tags = (is_array($tags)) ? $tags : explode( ',', trim($tags, " \s\n\t\r\0\x0B,") ); 1191 1191 wp_set_object_terms($post_id, $tags, 'post_tag', $append); 1192 1192 }
Note: See TracChangeset
for help on using the changeset viewer.