Changeset 19853 for trunk/wp-includes/post.php
- Timestamp:
- 02/07/2012 06:06:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r19779 r19853 2908 2908 $tags = array(); 2909 2909 2910 $tags = is_array($tags) ? $tags : explode( ',', trim($tags, " \n\t\r\0\x0B,") ); 2910 if ( ! is_array( $tags ) ) { 2911 $comma = _x( ',', 'tag delimiter' ); 2912 if ( ',' !== $comma ) 2913 $tags = str_replace( $comma, ',', $tags ); 2914 $tags = explode( ',', trim( $tags, " \n\t\r\0\x0B," ) ); 2915 } 2911 2916 2912 2917 // Hierarchical taxonomies must always pass IDs rather than names so that children with the same
Note: See TracChangeset
for help on using the changeset viewer.