Remove specific code for WP 6.2 and lower
[MAILPOET-5713]
This commit is contained in:
@@ -83,12 +83,6 @@ class AssetsController {
|
||||
'strategy' => 'defer',
|
||||
];
|
||||
|
||||
// BC for WP < 6.3 - Can be removed after we drop support for WP 6.2
|
||||
global $wp_version;
|
||||
if (version_compare($wp_version, '6.3', '<')) {
|
||||
$enqueuePlacementParams = true;
|
||||
}
|
||||
|
||||
$this->wp->wpEnqueueScript(
|
||||
'mailpoet_public',
|
||||
Env::$assetsUrl . '/dist/js/' . $this->renderer->getJsAsset('public.js'),
|
||||
|
Reference in New Issue
Block a user