Add category_id to TopicViewWordpressSerializer (PR #10372)

The WordPress plugin needs the topic ID returned so that it can avoid saving comments for posts that have been re-categorized to protected categories on Discourse if the WordPress plugin’s “Don’t display private comments” setting is enabled. This will also handle the edge-case of any topic published from WP that gets converted to a PM.

GitHub

looks like a very safe change to me