Closed (fixed)
Project:
Disqus
Version:
2.0.1-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Dec 2021 at 08:06 UTC
Updated:
28 Dec 2021 at 12:49 UTC
Jump to comment: Most recent
Earlier the user didn't have the option to change the Disqus comment identifier. But since that has been added now, we have to ensure that we don't assume the identifier to always have a default value of {entity_type}/{entity_id}. The identifier should be first fetched from $entity->get({disqus_field})->identifier and if it isn't set then fallback to {entity_type}/{entity_id}.
Comments
Comment #3
gaurav.kapoor commentedModified all the lines where the identifier of the Disqus comment was being accessed.