Adding json_encode also chaged the type of the variable. I've updated it accordingly.
I searched for all usages. It is assigned to Mailpoet.deactivateSubscriberAfterInactiveDays
and in all places used as Number(Mailpoet.deactivateSubscriberAfterInactiveDays)
[MAILPOET-4606]
WARN deprecated @types/wordpress__api-fetch@3.23.1: This is a stub types definition. @wordpress/api-fetch provides its own type definitions, so you do not need this installed.
WARN deprecated @types/wordpress__element@2.14.1: This is a stub types definition. wordpress__element provides its own type definitions, so you do not need this installed.
WARN deprecated @types/wordpress__escape-html@1.8.0: This is a stub types definition. wordpress__escape-html provides its own type definitions, so you do not need this installed.
WARN deprecated @types/wordpress__hooks@2.11.0: This is a stub types definition. @wordpress/hooks provides its own type definitions, so you do not need this installed.
WARN deprecated @types/wordpress__html-entities@2.7.0: This is a stub types definition. wordpress__html-entities provides its own type definitions, so you do not need this installed.
WARN deprecated @types/wordpress__i18n@3.11.0: This is a stub types definition. wordpress__i18n provides its own type definitions, so you do not need this installed.
WARN deprecated @types/wordpress__url@2.14.0: This is a stub types definition. wordpress__url provides its own type definitions, so you do not need this installed.
WARN deprecated @types/wordpress__a11y@2.9.0: This is a stub types definition. wordpress__a11y provides its own type definitions, so you do not need this installed.
[MAILPOET-4417]
We use <EditorNotices /> to display notices in the automation editor. This
allows for the usage of createErrorNotice() from the notices store to create
notices.
[MAILPOET-4417]
In order to redirect to the listing page after trashing a workflow
we need the URL of that page. This URL will be stored in
MailPoet.urls.automationListing
[MAILPOET-4417]