Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@11871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-08-24 19:39:08 +00:00
parent 395495bd99
commit e03f120254

View File

@ -254,7 +254,7 @@ function bulk_edit_posts( $post_data = null ) {
if ( isset($post_data['post_category']) ) {
if ( is_array($post_data['post_category']) && ! empty($post_data['post_category']) )
$new_cats = array_map( absint, $post_data['post_category'] );
$new_cats = array_map( 'absint', $post_data['post_category'] );
else
unset($post_data['post_category']);
}