# Comment Edit Core

Comment Edit Core allows you to edit comments for up to 5 minutes.

{% embed url="<https://wordpress.org/plugins/simple-comment-editing/>" %}

To ensure compatibility between Comment Edit Core and Ajaxify Comments, you can update the `OnAfterUpdateComments` callback with the following snippet:

```javascript
window.SCE_comments_updated(commentUrl)
```

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FPuL5xlJJBSlgV16lWPea%2Fdlxplugins-1695325979496-1x.webp?alt=media&#x26;token=54fa12fb-5195-47f1-9143-acd6895f2a13" alt=""><figcaption><p>OnAfterUpdateComments Callback for Comment Edit Core</p></figcaption></figure>

You should now be able to edit comments when new comments are posted.
