# Unhide button on first post does nothing after flag + edit sequence

**URL:** https://meta.discourse.org/t/unhide-button-on-first-post-does-nothing-after-flag-edit-sequence/390551
**Category:** Support
**Created:** [December 5, 2025, 11:49pm UTC](https://meta.discourse.org/t/unhide-button-on-first-post-does-nothing-after-flag-edit-sequence/390551 "2025-12-05T23:49:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![copymonopoly](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@copymonopoly](https://meta.discourse.org/u/copymonopoly)
#### Post date: [December 5, 2025, 11:49pm UTC](https://meta.discourse.org/t/unhide-button-on-first-post-does-nothing-after-flag-edit-sequence/390551/1 "2025-12-05T23:49:23Z")

</div>

Hi, I ran into an unusual issue on my site where the **Unhide button on the first post simply does nothing** , with no error and no log entry.

### **What happened**

1. A user created a topic.
2. The first post contained a keyword from my **Watched Words (Flag)** list.
3. I manually reviewed the flag and chose the “Hide Post” option.
4. Later, a moderator edited the post and tried to make the topic public again.
5. The **topic itself became visible** , but the **first post remained hidden**.
6. When I click **Unhide** on the first post, nothing happens — the post remains hidden.

### **Additional notes**

- The post had `hidden_reason_id = 1`.
- I tried to reproduce the same sequence again (Watched Word → Auto-flag → Agree → Edit), but **I cannot reproduce the bug anymore**.

I’m quite confused about why this happened — it really seems like a bug.  
Is there still any way to rescue this post, or is it permanently stuck in this hidden state?

Thanks!

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [December 6, 2025, 12:14pm UTC](https://meta.discourse.org/t/unhide-button-on-first-post-does-nothing-after-flag-edit-sequence/390551/2 "2025-12-06T12:14:07Z")

</div>

> [@copymonopoly](#):
>
> When I click **Unhide** on the first post, nothing happens — the post remains hidden.

Does it say anything in the console when you try to click it?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [December 6, 2025, 12:26pm UTC](https://meta.discourse.org/t/unhide-button-on-first-post-does-nothing-after-flag-edit-sequence/390551/3 "2025-12-06T12:26:22Z")

</div>

@copymonopoly Is this bug report related to the question here? Were you able to find the cause?

> [@Embedded media post allowed groups conflicts with post moderation workflow: unhide! fails with ActiveRecord::RecordInvalid](https://meta.discourse.org/t/embedded-media-post-allowed-groups-conflicts-with-post-moderation-workflow-unhide-fails-with-activerecord-recordinvalid/390575):
>
> There is a conflict between “Embedded media post allowed groups” and the post unhide workflow. If a post is created by a user who is not in the allowed media groups and later gets hidden (via flags), when a moderator edits the hidden post and adds media, attempting to unhide the post will fail with: ActiveRecord::RecordInvalid Validation failed: Sorry, you can't embed media items in a post. The unhide process re-runs media validation using the original author’s permissions, not the moderator’…

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [December 6, 2025, 12:34pm UTC](https://meta.discourse.org/t/unhide-button-on-first-post-does-nothing-after-flag-edit-sequence/390551/5 "2025-12-06T12:34:12Z")

</div>

Seems like it, thanks for pointing that out.

Looks like the bug report found the underlying reason for it and has more info, so Ill close this one out.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [December 6, 2025, 12:34pm UTC](https://meta.discourse.org/t/unhide-button-on-first-post-does-nothing-after-flag-edit-sequence/390551/6 "2025-12-06T12:34:15Z")

</div>


