joomla/joomla-cms — comment on commit d6f5311239e7ea211c54da77aca33602ebcd441f
File: administrator/components/com_menus/models/item.php line 102
By mbabker:

It doesn't hurt, no, but it should absolutely not *EVER* get nothing for that parameter, same with the commands and pks arrays. If it does, there's a higher level error that'd need to be fixed considering there's only one place that contexts array is set and EVERY core component with batch functions is going through it.