Timeline for Limit widget to certain sidebar?

Current License: CC BY-SA 2.5

3 events
when toggle format what by license comment
Nov 2 '10 at 14:20 comment added Denis de Bernardy It hides it on the front side only. You can then use it to conditionally echo something like "Sorry, wrong sidebar. Please place this widget somewhere else." and then return false to bail. There isn't any hook to do the same in the admin area. I tried to talk Andrew into committing similar functionality for the widgets screen, but he was adamant that I ought to be using CSS and JS to manipulate the DOM instead. (I needed this stuff for my widget contexts plugin, which are irrelevant in some sidebars.)
Nov 2 '10 at 14:04 comment added Jan Fabry But this only hides the sidebar when you display it on the front side? Or does it also affect the admin area?
Oct 18 '10 at 15:31 history answered Denis de Bernardy CC BY-SA 2.5