Changeset 11872
- Timestamp:
- 08/24/2009 07:40:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/wp-admin/includes/post.php
r11534 r11872 247 247 if ( isset($post_data['post_category']) ) { 248 248 if ( is_array($post_data['post_category']) && ! empty($post_data['post_category']) ) 249 $new_cats = array_map( absint, $post_data['post_category'] );249 $new_cats = array_map( 'absint', $post_data['post_category'] ); 250 250 else 251 251 unset($post_data['post_category']);
Note: See TracChangeset
for help on using the changeset viewer.