# Edit icon not activating after edits

**URL:** https://meta.discourse.org/t/edit-icon-not-activating-after-edits/133952
**Category:** Bug
**Created:** [November 20, 2019, 7:55pm UTC](https://meta.discourse.org/t/edit-icon-not-activating-after-edits/133952 "2019-11-20T19:55:47Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Kat\_F](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kat_f/32/161990_2.png) [@Kat\_F](https://meta.discourse.org/u/Kat_F)
#### Post date: [November 20, 2019, 7:55pm UTC](https://meta.discourse.org/t/edit-icon-not-activating-after-edits/133952/1 "2019-11-20T19:55:47Z")

</div>

I believe this is a bug. Settings are default. In a testing thread for Mods in training who were being briefed on the checking of user edits to posts we ran into an odd situation. The icon that generally shows when a topic is edited did not appear in certain posts even when the threads were edited. The thread is unlisted, and neither user is a mod yet.

 ![edit%20history1](https://global.discourse-cdn.com/meta/original/3X/5/8/58c457a9ee62b66c8abde3286585ffadad465a1c.png) ![edit%20history2](https://global.discourse-cdn.com/meta/original/3X/2/6/26fc2da42befc67fdbacd24bcb0787ab50de4217.png)

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [November 20, 2019, 8:02pm UTC](https://meta.discourse.org/t/edit-icon-not-activating-after-edits/133952/2 "2019-11-20T20:02:53Z")

</div>

Does the issue still occur if you enter safe-mode and visit those topics?

> [@Using Safe Mode to troubleshoot issues with themes and plugins](https://meta.discourse.org/t/how-to-use-discourse-safe-mode/53504):
>
> bookmark This guide explains how to use Discourse’s [Safe Mode](https://meta.discourse.org/t/53504?silent=true) to troubleshoot issues with themes and plugins. person_raising_hand Required user level: All users Discourse offers a “JavaScript [Safe Mode](https://meta.discourse.org/t/53504?silent=true)” that allows any user to isolate the root cause of JavaScript issues caused by plugins, themes, or theme components. This feature is particularly useful for troubleshooting problems on your Discourse site. Accessing [Safe Mode](https://meta.discourse.org/t/53504?silent=true) To access [Safe Mode](https://meta.discourse.org/t/53504?silent=true), follow these steps: Open a new browse…

---

<div class="post-metadata">

### Author: ![Kat\_F](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kat_f/32/161990_2.png) [@Kat\_F](https://meta.discourse.org/u/Kat_F)
#### Post date: [November 20, 2019, 8:14pm UTC](https://meta.discourse.org/t/edit-icon-not-activating-after-edits/133952/3 "2019-11-20T20:14:58Z")

</div>

No change. There’s still no pencil / edit icon on the post, although they were edited. Other posts on this same thread show their edits as normal. Could the similar wording of the edit be doing this? Or perhaps becaue they were close together?

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [November 20, 2019, 8:23pm UTC](https://meta.discourse.org/t/edit-icon-not-activating-after-edits/133952/4 "2019-11-20T20:23:58Z")

</div>

I can see what looks like a revision number in your screenshots - though the positioning is a bit off from the defaults.

This probably means that the edits are there and you’re just missing the icon.

Can you post a link to a public topic on your site that has the issue?

---

<div class="post-metadata">

### Author: ![Kat\_F](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kat_f/32/161990_2.png) [@Kat\_F](https://meta.discourse.org/u/Kat_F)
#### Post date: [November 20, 2019, 8:49pm UTC](https://meta.discourse.org/t/edit-icon-not-activating-after-edits/133952/5 "2019-11-20T20:49:57Z")

</div>

[https://www.wattpadwriters.com/t/testing/181598/3](https://www.wattpadwriters.com/t/testing/181598/3)

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [November 20, 2019, 9:18pm UTC](https://meta.discourse.org/t/edit-icon-not-activating-after-edits/133952/6 "2019-11-20T21:18:25Z")

</div>

Thanks for that @Kat_F

It turns out that the number I saw here

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/4/84e82bb12f0c34b247cab028ce99c6ff68f8c846.png)

has nothing to do with issue you mentioned. It’s just the post-number that’s added in your theme.

Moving on, do the edits to this post

[https://www.wattpadwriters.com/t/testing/181598/3](https://www.wattpadwriters.com/t/testing/181598/3)

match the text?

> Edited 1min  
> …  
> Edited 15min  
> …  
> Edited 1 hour

If so, then we can investigate a bit more.

If not, then are you aware of the `editing_grace_period` site setting?

It defaults to 5 minutes, which means that edits made within 5 minutes of posting won’t trigger a revision - an increase in post edit history.

In other words, if you edit a post within 5 minutes of posting it - by default - then a post revision - edit - won’t be created.

That’s the default in Discourse unless you change that setting on your site - which I understand might not be the case since you mentioned that

> [@Kat\_F](#):
>
> Settings are default

but can you check just in case?

`

---

<div class="post-metadata">

### Author: ![Kat\_F](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kat_f/32/161990_2.png) [@Kat\_F](https://meta.discourse.org/u/Kat_F)
#### Post date: [November 20, 2019, 9:27pm UTC](https://meta.discourse.org/t/edit-icon-not-activating-after-edits/133952/7 "2019-11-20T21:27:13Z")

</div>

> [@Johani](#):
>
> but can you check just in case?

Yes, I will. Be right back with you.

---

<div class="post-metadata">

### Author: ![Kat\_F](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kat_f/32/161990_2.png) [@Kat\_F](https://meta.discourse.org/u/Kat_F)
#### Post date: [November 20, 2019, 10:24pm UTC](https://meta.discourse.org/t/edit-icon-not-activating-after-edits/133952/8 "2019-11-20T22:24:53Z")

</div>

@Johani  
The grace period was set to default. However, we found that some other settings were not. By fiddling and resetting a bit, we now have it working properly. So, it was people messing about where they shouldn’t and not a bug at all.

I will remember [safe mode](https://meta.discourse.org/t/53504?silent=true), it will be helpful, so it was not a complete loss.

Many thanks for your time.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 21, 2019, 1:24am UTC](https://meta.discourse.org/t/edit-icon-not-activating-after-edits/133952/10 "2019-11-21T01:24:08Z")

</div>


