View Single Post
11-03-13, 09:24 AM   #6
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
Originally Posted by Resike View Post
Here is a temporary fix for it:

Lua Code:
  1. setfenv(WorldMapFrame_OnShow, setmetatable({UpdateMicroButtons = function() end}, {__index = _G}))
That is mentioned in the threads I linked earlier and is also not a generic fix.
It only works for frames that contain no secure elements (eg. WorldMapFrame) it will fail on any frame that does (Friends, Raid etc etc)

The best generic "fix" at the moment is selectively hiding the error popup as Oscarucb has suggested.
Code:
UIParent:HookScript("OnEvent", function(s, e, a1, a2) if e:find("ACTION_FORBIDDEN") and ((a1 or "")..(a2 or "")):find("IsDisabledByParentalControls") then StaticPopup_Hide(e) end; end)
  Reply With Quote