Problems that were resolved:
- Added hook_init to include php headers in order avoid CORS during AJAX calls. Now the calls that do not come from secure protocol or without www subdomain are not blocked and AJAX requests are being processed. (e.g. totals (#) of tags and comments are being displayed, etc.).
- hook_comment_submit call now successfully distinguishes between replies and comments by looking at form_state object and it's pid value.
Last updated: October 9, 2015 - 16:23
Official release from tag: