Changeset 14117
- Timestamp:
- 04/16/2010 09:39:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r14108 r14117 2066 2066 $post_category = array(); 2067 2067 } 2068 2069 // Set the default tag list2070 if ( !isset($tags_input) )2071 $tags_input = array();2072 2068 2073 2069 if ( empty($post_author) ) … … 2216 2212 wp_set_post_categories( $post_ID, $post_category ); 2217 2213 // old-style tags_input 2218 if ( !empty($tags_input) )2214 if ( isset( $tags_input ) ) 2219 2215 wp_set_post_tags( $post_ID, $tags_input ); 2220 2216 // new-style support for all tag-like taxonomies
Note: See TracChangeset
for help on using the changeset viewer.