Minor: Refactor the plugin UI callback permission checks.   Let's only add our UI hooks if the user has the required permissions. This way we can avoid duplicating the permission checks in each individual callback.
Minor: Refactor the plugin UI callback permission checks.
 
Let's only add our UI hooks if the user has the required permissions. This way we can avoid duplicating the permission checks in each individual callback.
YahnisElsts/plugin-update-checker,YahnisElsts/plugin-update-checker