Use cache for forms rendering to
[MAILPOET-2639]
This commit is contained in:
committed by
Jack Kitterhing
parent
d06fc2d00d
commit
e644675046
@ -5,6 +5,7 @@ namespace MailPoet\API\JSON\v1;
|
||||
use MailPoet\API\JSON\Endpoint as APIEndpoint;
|
||||
use MailPoet\API\JSON\Error as APIError;
|
||||
use MailPoet\Config\AccessControl;
|
||||
use MailPoet\Form\DisplayFormInWPContent;
|
||||
use MailPoet\Form\Renderer as FormRenderer;
|
||||
use MailPoet\Form\Util;
|
||||
use MailPoet\Listing;
|
||||
@ -174,6 +175,8 @@ class Forms extends APIEndpoint {
|
||||
}
|
||||
}
|
||||
|
||||
WPFunctions::get()->deleteTransient(DisplayFormInWPContent::NO_FORM_TRANSIENT_KEY);
|
||||
|
||||
// check if the user gets to pick his own lists
|
||||
// or if it's selected by the admin
|
||||
$hasSegmentSelection = false;
|
||||
|
Reference in New Issue
Block a user