Permalink
Browse files

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

…for 2.8

git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 15aee91 commit 193aca2e76eafbeb6f81abff8fb2211095f2981d azaozz committed Aug 24, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-admin/includes/post.php
@@ -246,7 +246,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']);
}

0 comments on commit 193aca2

Please sign in to comment.