FIX: Store custom attributes that are needed by plugins (PR #8009)

The “is_poll” attribute is not being stored in the reviewable payload. This causes the callback defined by the Poll plugin to be useless.

To fix this, plugins are now able to extend the list of allowed payload attributes.

GitHub