kb-support icon indicating copy to clipboard operation
kb-support copied to clipboard

Do not execute role install every request on single sites

Open BrianHenryIE opened this issue 1 year ago • 1 comments

This stops the role install running on every single admin_init.

It was already run in single-sites inside kbs_run_install().

BrianHenryIE avatar Jun 03 '23 22:06 BrianHenryIE

@BrianHenryIE can you give some details about this? Code doesn't execute the creation/addition of new roles and capabilities on every admin_init as it checks if the roles already exist. Have you found a situation where it does? And if so, could you please describe it so we can try and replicate it?

Warmly, Razvan

razvanaldea89 avatar Jun 07 '23 15:06 razvanaldea89