Whitespace cleanup

git-svn-id: http://svn.automattic.com/wordpress/trunk@13316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith
2010-02-22 23:12:48 +00:00
parent c1b647bb52
commit 09e8d27130
9 changed files with 48 additions and 48 deletions

View File

@@ -3138,7 +3138,7 @@ function wp_insert_attachment($object, $file = false, $parent = 0) {
$post_type = 'attachment';
$post_status = 'inherit';
// Make sure we set a valid category.
if ( !isset($post_category) || 0 == count($post_category) || !is_array($post_category) ) {
// 'post' requires at least one category.