Changeset 5243
- Timestamp:
- 04/11/2007 06:04:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r5231 r5243 800 800 // prevent warnings for unintialized variables 801 801 $tag_ids = array(); 802 802 803 if ( empty($tags) ) 804 $tags = array(); 803 805 $tags = (is_array($tags)) ? $tags : explode( ',', $tags ); 804 806 … … 811 813 $tag_ids[] = $tag_id; 812 814 } 813 814 if ( empty($tag_ids) )815 816 if ( empty($tag_ids) && ( !empty($tags) || $append ) ) 815 817 return false; 816 818
Note: See TracChangeset
for help on using the changeset viewer.