Skip to content

Commit

Permalink
changed int to object as fix for issue alexjamesbrown#22
Browse files Browse the repository at this point in the history
  • Loading branch information
punjabisoul committed Apr 15, 2013
1 parent 9eaad65 commit 1d208ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions JoeBlogs/xmlRpcStructs/CommentCount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ namespace JoeBlogs
[XmlRpcMissingMapping(MappingAction.Ignore)]
public struct XmlRpcCommentCount
{
public int approved; //i think this maybe an error on WP part - should be int according to their documentation: http://codex.wordpress.org/XML-RPC#wp.getCommentCount
public int awaiting_moderation;
public int spam;
public int total_comments;
public object approved; //i think this maybe an error on WP part - should be int according to their documentation: http://codex.wordpress.org/XML-RPC#wp.getCommentCount
public object awaiting_moderation;
public object spam;
public object total_comments;
}
}
}

0 comments on commit 1d208ae

Please sign in to comment.