# Plugin outlet \`admin-above-badge-buttons\` does not set badge argument correctly

**URL:** https://meta.discourse.org/t/plugin-outlet-admin-above-badge-buttons-does-not-set-badge-argument-correctly/395940
**Category:** Bug
**Created:** [February 12, 2026, 5:10pm UTC](https://meta.discourse.org/t/plugin-outlet-admin-above-badge-buttons-does-not-set-badge-argument-correctly/395940 "2026-02-12T17:10:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![elmuerte](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elmuerte/32/456517_2.png) [@elmuerte](https://meta.discourse.org/u/elmuerte)
#### Post date: [February 12, 2026, 5:10pm UTC](https://meta.discourse.org/t/plugin-outlet-admin-above-badge-buttons-does-not-set-badge-argument-correctly/395940/1 "2026-02-12T17:10:10Z")

</div>

I’m currently developing against 2016.01, but I see the main branch still has the same code:

> <https://github.com/discourse/discourse/blob/50e774b49d39233c00363c11fa34bff735c47e1f/frontend/discourse/admin/components/admin-badges-show.gjs#L562>

That needs be `@badge` instead of `this.buffered`.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [February 12, 2026, 5:15pm UTC](https://meta.discourse.org/t/plugin-outlet-admin-above-badge-buttons-does-not-set-badge-argument-correctly/395940/2 "2026-02-12T17:15:28Z")

</div>

Sounds correct to me. Are you able to make a PR to core, and link it here?

If you make the PR against `main`, then we can take care of backporting it to 2025.12 and 2026.1

---

<div class="post-metadata">

### Author: ![elmuerte](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elmuerte/32/456517_2.png) [@elmuerte](https://meta.discourse.org/u/elmuerte)
#### Post date: [February 12, 2026, 5:30pm UTC](https://meta.discourse.org/t/plugin-outlet-admin-above-badge-buttons-does-not-set-badge-argument-correctly/395940/3 "2026-02-12T17:30:48Z")

</div>

Done: [FIX: Correct badge argument in the `admin-above-badge-buttons` plugin outlet by elmuerte · Pull Request #37775 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/37775)

(I tried to edit the title to add the FIX: prefix, but github is responding with a 404 on that attempt)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [February 12, 2026, 5:35pm UTC](https://meta.discourse.org/t/plugin-outlet-admin-above-badge-buttons-does-not-set-badge-argument-correctly/395940/4 "2026-02-12T17:35:27Z")

</div>

Thanks! Merged and backported to 2025.12 and 2026.1.

> [@elmuerte](#):
>
> (I tried to edit the title to add the FIX: prefix, but github is responding with a 404 on that attempt)

Yeah… GitHub has been having a very bad week 😢

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [February 13, 2026, 8:00am UTC](https://meta.discourse.org/t/plugin-outlet-admin-above-badge-buttons-does-not-set-badge-argument-correctly/395940/5 "2026-02-13T08:00:26Z")

</div>

This topic was automatically closed after 14 hours. New replies are no longer allowed.
