# Why are custom header links 'overridden'?

**URL:** https://meta.discourse.org/t/why-are-custom-header-links-overridden/293359
**Category:** Bug
**Tags:** custom-header-links
**Created:** [January 29, 2024, 9:33pm UTC](https://meta.discourse.org/t/why-are-custom-header-links-overridden/293359 "2024-01-29T21:33:31Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [February 5, 2024, 5:35am UTC](https://meta.discourse.org/t/why-are-custom-header-links-overridden/293359/11 "2024-02-05T05:35:43Z")

</div>

So this was a recent regression with our migrations system where the cache for a theme is not updated after theme migrations are run. This has been fixed in

[https://github.com/discourse/discourse/pull/25562](https://github.com/discourse/discourse/pull/25562)

> [@RGJ](#):
>
> So everyone updating this theme component will lose their settings.

So this is not true because the settings are actually not lost but the cache is just using the setting’s default value instead of the overrides in the database.

---

_[View the full topic](https://meta.discourse.org/t/why-are-custom-header-links-overridden/293359)._
