screen context should be passed to favorite_actions filter
|Reported by:||whoismanu||Owned by:|
currently, the favorite_actions filter is called like this in wp-admin/includes/template.php :
$actions = apply_filters('favorite_actions', $actions);
i think it would be better to also pass context information about the current screen along (e.g., by also passing $screen in addition to $action). otherwise, a plugin has no means of adjusting what it adds to the menu based on the current context.