View Single Post
03-25-13, 06:59 PM   #23
Foxlit
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 91
Originally Posted by Leatrix View Post
The problem here is that the cancel function is used for all addons and options collectively and it has caused UI taint for years for this reason. The taint occurs if you have any addon installed which uses the Blizzard interface options panel regardless of what that addon actually does (it needn't do anything).
I think you misunderstood: the suggestion was that you should replace panel.cancel functions on Blizzard panels that actually need to be called securely (or they'll propagate taint to places that can't tolerate it) with functions that do not do anything. In practice, this is as simple as doing
Code:
CompactUnitFrameProfiles.cancel = function() end
after Blizzard_CUFProfiles loads; if you identify other problematic panels, you can do the same for those. The point here is that InterfaceOptionsFrameCancel_OnClick does not taint anything important by itself -- it's the individual cancel handlers that might cause problems.
__________________
... and you do get used to it, after a while.

Last edited by Foxlit : 03-25-13 at 07:07 PM.
  Reply With Quote