# api.modifyClass sometimes(!) not working

**URL:** <https://meta.discourse.org/t/api-modifyclass-sometimes-not-working/212413>\
**Category:** Bug\
**Created:** [December 17, 2021, 7:54am UTC](https://meta.discourse.org/t/api-modifyclass-sometimes-not-working/212413 "2021-12-17T07:54:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [December 17, 2021, 11:14am UTC](https://meta.discourse.org/t/api-modifyclass-sometimes-not-working/212413/4 "2021-12-17T11:14:06Z")

</div>

Yeah the `pluginId` is there to prevent modifications being applied twice, I believe. Lack of it should not explain why it hasn’t run once?

---

_[View the full topic](https://meta.discourse.org/t/api-modifyclass-sometimes-not-working/212413)._
