Hooking the the user_has_cap filter from a mu-plugin on default priority means that any theme's or plugin's hook may override ours, as they are being processed in chronological order in terms of a single priority.
This commit moves our callback to PHP_INT_MAX priority, which means it should run really late.
Hooking the the user_has_cap filter from a mu-plugin on default priority means that any theme's or plugin's hook may override ours, as they are being processed in chronological order in terms of a single priority.
This commit moves our callback to
PHP_INT_MAX
priority, which means it should run really late.